#2F0838

Closest named color: Dark Purple (#35063E). oklch(23.2% 0.093 319.3), rgb(47, 8, 56).

Aa

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

About this color

#2F0838 is a very dark, moderately saturated purple. In OKLCH its lightness is 23%, its chroma 0.093 and its hue 319°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Dark Purple (#35063E), ΔE 0.018 away. White text reads best on it, at 17.31:1.

Hue familyPurples
Lightnessvery dark (23%)
Chromamoderately saturated (0.093)
Temperaturein between
Nearest nameDark Purple (#35063E)
Black text1.21:1
White text17.31:1

Values

HEX#2F0838
RGBrgb(47, 8, 56)
HSLhsl(289, 75%, 13%)
OKLCHoklch(23.2% 0.093 319.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 #2F0838 17.31:1 AAA Lc -106.1 Preferred for body text
Black text on #2F0838 1.21:1 Fails Lc 0.0 Not readable
#2F0838 text on white 17.31:1 AAA Lc 103.7 Preferred for body text
#2F0838 text on black 1.21: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

    #FAF2FC

    oklch(97% 0.016 319.4)

  2. Step 100

    100

    #F4E3F8

    oklch(93.6% 0.033 319.8)

  3. Step 200

    200

    #EBCDF3

    oklch(88.5% 0.061 319.1)

  4. Step 300

    300

    #E0AAEE

    oklch(81% 0.11 319.2)

  5. Step 400

    400

    #CF78E5

    oklch(70.8% 0.176 319.3)

  6. Step 500

    500

    #C14DDD

    oklch(63.1% 0.226 319.3)

  7. Step 600

    600

    #AC24CA

    oklch(55.5% 0.244 319.2)

  8. Step 700

    700

    #9410AF

    oklch(49.1% 0.228 319.3)

  9. Step 800

    800

    #78158E

    oklch(42.7% 0.189 319.1)

  10. Step 900

    900

    #611C71

    oklch(37.6% 0.147 319.3)

  11. Step 950

    950 (this color)

    #2F0838

    oklch(23.2% 0.093 319.3)

Export this scale for Tailwind in the Tailwind colors tool

#2F0838 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)#0018390.091
Deuteranopia (no green cones)#0C1C370.080
Tritanopia (no blue cones)#2F121F0.059
Achromatopsia (no color)#1A1A1A0.094

Harmonies

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

Complementary

The opposite hue (180°).

  • #2F0838

    #2F0838

    oklch(23.2% 0.093 319.3)

  • #062500

    #062500

    oklch(23.2% 0.074 139.5)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #2F0838

    #2F0838

    oklch(23.2% 0.093 319.3)

  • #1E1045

    #1E1045

    oklch(23.1% 0.094 289)

  • #3A0224

    #3A0224

    oklch(23.3% 0.093 349.4)

Open the analogous palette in the generator

Split complementary

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

  • #2F0838

    #2F0838

    oklch(23.2% 0.093 319.3)

  • #1F1F00

    #1F1F00

    oklch(23.2% 0.05 109.8)

  • #00241A

    #00241A

    oklch(23.2% 0.046 170.2)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #2F0838

    #2F0838

    oklch(23.2% 0.093 319.3)

  • #291A00

    #291A00

    oklch(23.1% 0.048 79.3)

  • #002324

    #002324

    oklch(23.2% 0.04 197.6)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #2F0838

    #2F0838

    oklch(23.2% 0.093 319.3)

  • #331200

    #331200

    oklch(23.1% 0.062 49.2)

  • #062500

    #062500

    oklch(23.2% 0.074 139.5)

  • #00212F

    #00212F

    oklch(23.2% 0.046 230.4)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #2F0838 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.