#2F1A4A

Closest named color: Dark Purple (#35063E). oklch(27.3% 0.086 301), rgb(47, 26, 74).

Aa

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

About this color

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

Hue familyPurples
Lightnessdark (27%)
Chromamoderately saturated (0.086)
Temperaturein between
Nearest nameDark Purple (#35063E)
Black text1.36:1
White text15.35:1

Values

HEX#2F1A4A
RGBrgb(47, 26, 74)
HSLhsl(266, 48%, 20%)
OKLCHoklch(27.3% 0.086 301)

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 #2F1A4A 15.35:1 AAA Lc -104.8 Preferred for body text
Black text on #2F1A4A 1.36:1 Fails Lc 0.0 Not readable
#2F1A4A text on white 15.35:1 AAA Lc 102.0 Preferred for body text
#2F1A4A text on black 1.36: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

    #F7F3FD

    oklch(97% 0.014 304.1)

  2. Step 100

    100

    #EDE6FB

    oklch(93.7% 0.029 301)

  3. Step 200

    200

    #DFD1FA

    oklch(88.5% 0.058 300.8)

  4. Step 300

    300

    #CCB1F9

    oklch(80.9% 0.103 301.3)

  5. Step 400

    400

    #B385F5

    oklch(70.7% 0.164 301.3)

  6. Step 500

    500

    #A161F1

    oklch(63.1% 0.209 301.1)

  7. Step 600

    600

    #8D41E0

    oklch(55.7% 0.228 301)

  8. Step 700

    700

    #7831C2

    oklch(49.1% 0.211 301.1)

  9. Step 800

    800

    #612B9D

    oklch(42.7% 0.174 300.8)

  10. Step 900

    900

    #4F297D

    oklch(37.7% 0.136 300.8)

  11. Step 950

    950 (this color)

    #2F1A4A

    oklch(27.3% 0.086 301)

Export this scale for Tailwind in the Tailwind colors tool

#2F1A4A 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)#04254C0.066
Deuteranopia (no green cones)#0C25490.060
Tritanopia (no blue cones)#29242F0.065
Achromatopsia (no color)#2525250.087

Harmonies

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

Complementary

The opposite hue (180°).

  • #2F1A4A

    #2F1A4A

    oklch(27.3% 0.086 301)

  • #232C00

    #232C00

    oklch(27.5% 0.066 120.9)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #2F1A4A

    #2F1A4A

    oklch(27.3% 0.086 301)

  • #182251

    #182251

    oklch(27.3% 0.087 270.6)

  • #3E133A

    #3E133A

    oklch(27.3% 0.087 331.5)

Open the analogous palette in the generator

Split complementary

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

  • #2F1A4A

    #2F1A4A

    oklch(27.3% 0.086 301)

  • #312600

    #312600

    oklch(27.3% 0.056 92.2)

  • #003113

    #003113

    oklch(27.4% 0.074 151)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #2F1A4A

    #2F1A4A

    oklch(27.3% 0.086 301)

  • #3D1E00

    #3D1E00

    oklch(27.2% 0.064 60.1)

  • #002F29

    #002F29

    oklch(27.4% 0.049 181.7)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #2F1A4A

    #2F1A4A

    oklch(27.3% 0.086 301)

  • #491109

    #491109

    oklch(27.4% 0.086 31.2)

  • #232C00

    #232C00

    oklch(27.5% 0.066 120.9)

  • #002D34

    #002D34

    oklch(27.2% 0.047 210.8)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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