#301F2E

Closest named color: Jet (#212529). oklch(26.7% 0.037 330.7), rgb(48, 31, 46).

Aa

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

About this color

#301F2E is a dark, muted purple. In OKLCH its lightness is 27%, its chroma 0.037 and its hue 331°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Jet (#212529), ΔE 0.037 away. White text reads best on it, at 15.42:1.

Hue familyPurples
Lightnessdark (27%)
Chromamuted (0.037)
Temperaturein between
Nearest nameJet (#212529)
Black text1.36:1
White text15.42:1

Values

HEX#301F2E
RGBrgb(48, 31, 46)
HSLhsl(307, 22%, 15%)
OKLCHoklch(26.7% 0.037 330.7)

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 #301F2E 15.42:1 AAA Lc -105.0 Preferred for body text
Black text on #301F2E 1.36:1 Fails Lc 0.0 Not readable
#301F2E text on white 15.42:1 AAA Lc 102.3 Preferred for body text
#301F2E 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

    #F8F4F7

    oklch(97.1% 0.006 334)

  2. Step 100

    100

    #EFE7EE

    oklch(93.6% 0.013 329.6)

  3. Step 200

    200

    #E3D4E1

    oklch(88.6% 0.024 330)

  4. Step 300

    300

    #D2B7CE

    oklch(80.9% 0.044 330.9)

  5. Step 400

    400

    #BA91B5

    oklch(70.7% 0.07 330.4)

  6. Step 500

    500

    #A975A3

    oklch(63.1% 0.091 330.6)

  7. Step 600

    600

    #935E8E

    oklch(55.6% 0.096 330.1)

  8. Step 700

    700

    #7D4D78

    oklch(49% 0.089 330.6)

  9. Step 800

    800

    #663F62

    oklch(42.6% 0.075 330.5)

  10. Step 900

    900

    #533650

    oklch(37.7% 0.058 330.3)

  11. Step 950

    950 (this color)

    #301F2E

    oklch(26.7% 0.037 330.7)

Export this scale for Tailwind in the Tailwind colors tool

#301F2E 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)#1E232F0.035
Deuteranopia (no green cones)#23252D0.031
Tritanopia (no blue cones)#3120240.020
Achromatopsia (no color)#2424240.037

Harmonies

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

Complementary

The opposite hue (180°).

  • #301F2E

    #301F2E

    oklch(26.7% 0.037 330.7)

  • #182B1C

    #182B1C

    oklch(26.8% 0.037 150)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #301F2E

    #301F2E

    oklch(26.7% 0.037 330.7)

  • #292135

    #292135

    oklch(26.6% 0.038 302.2)

  • #351E25

    #351E25

    oklch(26.8% 0.037 0.2)

Open the analogous palette in the generator

Split complementary

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

  • #301F2E

    #301F2E

    oklch(26.7% 0.037 330.7)

  • #232813

    #232813

    oklch(26.6% 0.037 119.9)

  • #0E2B27

    #0E2B27

    oklch(26.6% 0.036 183.3)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #301F2E

    #301F2E

    oklch(26.7% 0.037 330.7)

  • #2C250F

    #2C250F

    oklch(26.6% 0.037 92.1)

  • #0C2A30

    #0C2A30

    oklch(26.6% 0.037 213)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #301F2E

    #301F2E

    oklch(26.7% 0.037 330.7)

  • #332113

    #332113

    oklch(26.6% 0.037 58.2)

  • #182B1C

    #182B1C

    oklch(26.8% 0.037 150)

  • #142836

    #142836

    oklch(26.7% 0.037 240.6)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #301F2E 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.