#3F1237

Closest named color: Aubergine (#3D0734). oklch(27.2% 0.087 335.4), rgb(63, 18, 55).

Aa

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

About this color

#3F1237 is a dark, moderately saturated purple. In OKLCH its lightness is 27%, its chroma 0.087 and its hue 335°. Its hue sits on the warm side of the wheel. The nearest named color is Aubergine (#3D0734), ΔE 0.022 away. White text reads best on it, at 15.52:1.

Hue familyPurples
Lightnessdark (27%)
Chromamoderately saturated (0.087)
Temperaturewarm
Nearest nameAubergine (#3D0734)
Black text1.35:1
White text15.52:1

Values

HEX#3F1237
RGBrgb(63, 18, 55)
HSLhsl(311, 56%, 16%)
OKLCHoklch(27.2% 0.087 335.4)

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 #3F1237 15.52:1 AAA Lc -104.8 Preferred for body text
Black text on #3F1237 1.35:1 Fails Lc 0.0 Not readable
#3F1237 text on white 15.52:1 AAA Lc 102.0 Preferred for body text
#3F1237 text on black 1.35: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

    #FCF2F9

    oklch(97.1% 0.014 336.1)

  2. Step 100

    100

    #F7E3F2

    oklch(93.6% 0.029 334.4)

  3. Step 200

    200

    #F2CCE8

    oklch(88.6% 0.056 335.5)

  4. Step 300

    300

    #EBA7DB

    oklch(80.9% 0.104 335.3)

  5. Step 400

    400

    #DD75C8

    oklch(70.7% 0.163 335.2)

  6. Step 500

    500

    #D14ABA

    oklch(63.1% 0.209 335.2)

  7. Step 600

    600

    #BC20A6

    oklch(55.6% 0.228 335.1)

  8. Step 700

    700

    #A20C8E

    oklch(49.1% 0.212 335.3)

  9. Step 800

    800

    #841373

    oklch(42.8% 0.175 335.6)

  10. Step 900

    900

    #6A1A5D

    oklch(37.6% 0.137 335.3)

  11. Step 950

    950 (this color)

    #3F1237

    oklch(27.2% 0.087 335.4)

Export this scale for Tailwind in the Tailwind colors tool

#3F1237 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)#1220380.092
Deuteranopia (no green cones)#2026360.080
Tritanopia (no blue cones)#4215220.043
Achromatopsia (no color)#2424240.087

Harmonies

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

Complementary

The opposite hue (180°).

  • #3F1237

    #3F1237

    oklch(27.2% 0.087 335.4)

  • #003018

    #003018

    oklch(27.2% 0.067 155.5)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #3F1237

    #3F1237

    oklch(27.2% 0.087 335.4)

  • #311848

    #311848

    oklch(27.1% 0.088 305.3)

  • #470E21

    #470E21

    oklch(27.2% 0.087 5)

Open the analogous palette in the generator

Split complementary

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

  • #3F1237

    #3F1237

    oklch(27.2% 0.087 335.4)

  • #1F2C00

    #1F2C00

    oklch(27.1% 0.068 125.1)

  • #002E2A

    #002E2A

    oklch(27.1% 0.048 185.8)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #3F1237

    #3F1237

    oklch(27.2% 0.087 335.4)

  • #2F2600

    #2F2600

    oklch(27.1% 0.056 95.5)

  • #002C36

    #002C36

    oklch(27% 0.048 217.4)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #3F1237

    #3F1237

    oklch(27.2% 0.087 335.4)

  • #3B1F00

    #3B1F00

    oklch(27.1% 0.061 64)

  • #003018

    #003018

    oklch(27.2% 0.067 155.5)

  • #002946

    #002946

    oklch(27.2% 0.069 245.4)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #3F1237 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.