#2F1841

Closest named color: Dark Purple (#35063E). oklch(26.3% 0.077 307.8), rgb(47, 24, 65).

Aa

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

About this color

#2F1841 is a dark, moderately saturated purple. In OKLCH its lightness is 26%, its chroma 0.077 and its hue 308°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Dark Purple (#35063E), ΔE 0.038 away. White text reads best on it, at 15.81:1.

Hue familyPurples
Lightnessdark (26%)
Chromamoderately saturated (0.077)
Temperaturein between
Nearest nameDark Purple (#35063E)
Black text1.32:1
White text15.81:1

Values

HEX#2F1841
RGBrgb(47, 24, 65)
HSLhsl(274, 46%, 17%)
OKLCHoklch(26.3% 0.077 307.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 #2F1841 15.81:1 AAA Lc -105.2 Preferred for body text
Black text on #2F1841 1.32:1 Fails Lc 0.0 Not readable
#2F1841 text on white 15.81:1 AAA Lc 102.6 Preferred for body text
#2F1841 text on black 1.32: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

    #F8F3FC

    oklch(97.1% 0.013 310.5)

  2. Step 100

    100

    #EFE6F8

    oklch(93.7% 0.026 308.2)

  3. Step 200

    200

    #E2D1F4

    oklch(88.5% 0.051 307.2)

  4. Step 300

    300

    #D1B1EF

    oklch(80.9% 0.092 307.9)

  5. Step 400

    400

    #BA86E6

    oklch(70.8% 0.145 308)

  6. Step 500

    500

    #A963DF

    oklch(63.1% 0.188 308)

  7. Step 600

    600

    #9446CC

    oklch(55.6% 0.202 307.9)

  8. Step 700

    700

    #7E36B1

    oklch(49.1% 0.189 307.6)

  9. Step 800

    800

    #672E8F

    oklch(42.7% 0.156 308.1)

  10. Step 900

    900

    #532B72

    oklch(37.7% 0.121 307.6)

  11. Step 950

    950 (this color)

    #2F1841

    oklch(26.3% 0.077 307.8)

Export this scale for Tailwind in the Tailwind colors tool

#2F1841 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)#0A22420.064
Deuteranopia (no green cones)#1223400.057
Tritanopia (no blue cones)#2C20290.057
Achromatopsia (no color)#2222220.078

Harmonies

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

Complementary

The opposite hue (180°).

  • #2F1841

    #2F1841

    oklch(26.3% 0.077 307.8)

  • #1B2A00

    #1B2A00

    oklch(26.2% 0.068 127.5)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #2F1841

    #2F1841

    oklch(26.3% 0.077 307.8)

  • #1D1F49

    #1D1F49

    oklch(26.3% 0.077 277.7)

  • #3B1332

    #3B1332

    oklch(26.3% 0.077 337.2)

Open the analogous palette in the generator

Split complementary

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

  • #2F1841

    #2F1841

    oklch(26.3% 0.077 307.8)

  • #2C2500

    #2C2500

    oklch(26.4% 0.055 98.5)

  • #002D19

    #002D19

    oklch(26.2% 0.061 158.5)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #2F1841

    #2F1841

    oklch(26.3% 0.077 307.8)

  • #371E00

    #371E00

    oklch(26.3% 0.058 66.9)

  • #002C29

    #002C29

    oklch(26.4% 0.046 187.8)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #2F1841

    #2F1841

    oklch(26.3% 0.077 307.8)

  • #421304

    #421304

    oklch(26.2% 0.077 38.2)

  • #1B2A00

    #1B2A00

    oklch(26.2% 0.068 127.5)

  • #002A34

    #002A34

    oklch(26.3% 0.047 218.2)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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