#281246

Closest named color: Dark Indigo (#1F0954). oklch(24.7% 0.093 298.8), rgb(40, 18, 70).

Aa

White text reads best on this color (16.59:1).

About this color

#281246 is a very dark, moderately saturated purple. In OKLCH its lightness is 25%, its chroma 0.093 and its hue 299°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Dark Indigo (#1F0954), ΔE 0.038 away. White text reads best on it, at 16.59:1.

Hue familyPurples
Lightnessvery dark (25%)
Chromamoderately saturated (0.093)
Temperaturein between
Nearest nameDark Indigo (#1F0954)
Black text1.26:1
White text16.59:1

Values

HEX#281246
RGBrgb(40, 18, 70)
HSLhsl(265, 59%, 17%)
OKLCHoklch(24.7% 0.093 298.8)

Contrast

WCAG 2 contrast ratios are the conformance target: AA needs 4.5:1 for body text and 3:1 for large text, AAA needs 7:1. APCA Lc values are supplementary guidance from the WCAG 3 drafts.

PairWCAG 2ResultAPCAAPCA guidance
White text on #281246 16.59:1 AAA Lc -105.7 Preferred for body text
Black text on #281246 1.26:1 Fails Lc 0.0 Not readable
#281246 text on white 16.59:1 AAA Lc 103.2 Preferred for body text
#281246 text on black 1.26:1 Fails Lc 0.0 Not readable

Tints and shades

A 50–950 scale built in OKLCH: the hue is held, lightness follows a Tailwind v4-like curve, and every step is kept inside the sRGB gamut. This color sits at step 950.

  1. Step 50

    50

    #F6F3FE

    oklch(97% 0.015 298.6)

  2. Step 100

    100

    #ECE6FD

    oklch(93.6% 0.031 297.7)

  3. Step 200

    200

    #DED1FD

    oklch(88.5% 0.061 298.7)

  4. Step 300

    300

    #CAB1FE

    oklch(80.9% 0.11 298.8)

  5. Step 400

    400

    #B184FD

    oklch(70.8% 0.175 299.1)

  6. Step 500

    500

    #9F5EFB

    oklch(63.2% 0.224 298.9)

  7. Step 600

    600

    #8B3BEA

    oklch(55.6% 0.244 298.8)

  8. Step 700

    700

    #762ACC

    oklch(49.1% 0.227 298.6)

  9. Step 800

    800

    #6026A5

    oklch(42.7% 0.188 298.7)

  10. Step 900

    900

    #4E2783

    oklch(37.8% 0.146 298.5)

  11. Step 950

    950 (this color)

    #281246

    oklch(24.7% 0.093 298.8)

Export this scale for Tailwind in the Tailwind colors tool

#281246 with color blindness

Simulated with the Machado et al. (2009) model. ΔE is how far the color moves: below about 0.02 you would not notice a change.

VisionSeen asShift (ΔE)
Protanopia (no red cones)#001E480.064
Deuteranopia (no green cones)#001E450.065
Tritanopia (no blue cones)#211E2A0.070
Achromatopsia (no color)#1E1E1E0.093

Harmonies

Hue rotations in OKLCH that keep this color's lightness and chroma.

Complementary

The opposite hue (180°).

  • #281246

    #281246

    oklch(24.7% 0.093 298.8)

  • #1E2400

    #1E2400

    oklch(24.6% 0.058 118.6)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #281246

    #281246

    oklch(24.7% 0.093 298.8)

  • #101B4C

    #101B4C

    oklch(24.8% 0.092 269)

  • #370A36

    #370A36

    oklch(24.7% 0.093 328.9)

Open the analogous palette in the generator

Split complementary

The two hues beside the complement (150° and 210°).

  • #281246

    #281246

    oklch(24.7% 0.093 298.8)

  • #2B1F00

    #2B1F00

    oklch(24.7% 0.05 87.7)

  • #002A0C

    #002A0C

    oklch(24.9% 0.071 148.7)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #281246

    #281246

    oklch(24.7% 0.093 298.8)

  • #351900

    #351900

    oklch(24.8% 0.059 59.5)

  • #002821

    #002821

    oklch(24.8% 0.046 177.9)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #281246

    #281246

    oklch(24.7% 0.093 298.8)

  • #430503

    #430503

    oklch(24.7% 0.093 29.1)

  • #1E2400

    #1E2400

    oklch(24.6% 0.058 118.6)

  • #00262C

    #00262C

    oklch(24.6% 0.043 210.4)

Open the square palette in the generator

Palettes with this color

Curated palettes that contain a color within ΔE 0.04 (OKLab) of #281246, closest first.

Similar named colors

The eight closest entries in our named color list, with their ΔE distance.

Use #281246 in your product

Turn it into light and dark UI roles checked for contrast, then export to Tailwind v4, shadcn/ui, CSS or design tokens.