#281730

Closest named color: Dark (#1B2431). oklch(24% 0.052 314.3), rgb(40, 23, 48).

Aa

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

About this color

#281730 is a very dark, muted purple. In OKLCH its lightness is 24%, its chroma 0.052 and its hue 314°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Dark (#1B2431), ΔE 0.047 away. White text reads best on it, at 16.72:1.

Hue familyPurples
Lightnessvery dark (24%)
Chromamuted (0.052)
Temperaturein between
Nearest nameDark (#1B2431)
Black text1.25:1
White text16.72:1

Values

HEX#281730
RGBrgb(40, 23, 48)
HSLhsl(281, 35%, 14%)
OKLCHoklch(24% 0.052 314.3)

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 #281730 16.72:1 AAA Lc -106.0 Preferred for body text
Black text on #281730 1.25:1 Fails Lc 0.0 Not readable
#281730 text on white 16.72:1 AAA Lc 103.6 Preferred for body text
#281730 text on black 1.25: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

    #F7F4F9

    oklch(97.1% 0.007 312.3)

  2. Step 100

    100

    #EEE7F2

    oklch(93.7% 0.016 313.6)

  3. Step 200

    200

    #E2D3E9

    oklch(88.6% 0.034 315.2)

  4. Step 300

    300

    #CFB5DD

    oklch(80.8% 0.062 313.8)

  5. Step 400

    400

    #B78ECB

    oklch(70.7% 0.098 314.4)

  6. Step 500

    500

    #A571BE

    oklch(63.1% 0.125 314.2)

  7. Step 600

    600

    #9058AA

    oklch(55.6% 0.136 314.2)

  8. Step 700

    700

    #7A4892

    oklch(49.1% 0.125 313.8)

  9. Step 800

    800

    #643B76

    oklch(42.7% 0.105 314.8)

  10. Step 900

    900

    #51335F

    oklch(37.6% 0.081 314.4)

  11. Step 950

    950 (this color)

    #281730

    oklch(24% 0.052 314.3)

Export this scale for Tailwind in the Tailwind colors tool

#281730 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)#121D310.043
Deuteranopia (no green cones)#171E2F0.038
Tritanopia (no blue cones)#271B210.035
Achromatopsia (no color)#1E1E1E0.052

Harmonies

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

Complementary

The opposite hue (180°).

  • #281730

    #281730

    oklch(24% 0.052 314.3)

  • #142409

    #142409

    oklch(23.8% 0.051 134.4)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #281730

    #281730

    oklch(24% 0.052 314.3)

  • #1D1B36

    #1D1B36

    oklch(23.9% 0.051 285.3)

  • #301425

    #301425

    oklch(24% 0.052 344.5)

Open the analogous palette in the generator

Split complementary

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

  • #281730

    #281730

    oklch(24% 0.052 314.3)

  • #232000

    #232000

    oklch(23.9% 0.051 104.5)

  • #002619

    #002619

    oklch(23.8% 0.05 165.5)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #281730

    #281730

    oklch(24% 0.052 314.3)

  • #2D1B00

    #2D1B00

    oklch(24% 0.051 74.8)

  • #002525

    #002525

    oklch(23.9% 0.041 194.8)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #281730

    #281730

    oklch(24% 0.052 314.3)

  • #331609

    #331609

    oklch(24% 0.052 43.7)

  • #142409

    #142409

    oklch(23.8% 0.051 134.4)

  • #00232F

    #00232F

    oklch(23.8% 0.045 225.4)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #281730 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.