#301F2F

Closest named color: Jet (#212529). oklch(26.7% 0.038 328.6), rgb(48, 31, 47).

Aa

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

About this color

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

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

Values

HEX#301F2F
RGBrgb(48, 31, 47)
HSLhsl(304, 22%, 15%)
OKLCHoklch(26.7% 0.038 328.6)

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

    #D1B7CF

    oklch(80.9% 0.044 328.4)

  5. Step 400

    400

    #BA91B7

    oklch(70.7% 0.072 328.7)

  6. Step 500

    500

    #A875A5

    oklch(63% 0.092 328.6)

  7. Step 600

    600

    #935D90

    oklch(55.6% 0.1 328.8)

  8. Step 700

    700

    #7D4C7B

    oklch(49% 0.094 328.3)

  9. Step 800

    800

    #663F64

    oklch(42.7% 0.077 328.6)

  10. Step 900

    900

    #533651

    oklch(37.7% 0.059 329.1)

  11. Step 950

    950 (this color)

    #301F2F

    oklch(26.7% 0.038 328.6)

Export this scale for Tailwind in the Tailwind colors tool

#301F2F 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)#1E23300.035
Deuteranopia (no green cones)#22252E0.032
Tritanopia (no blue cones)#3120250.020
Achromatopsia (no color)#2525250.038

Harmonies

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

Complementary

The opposite hue (180°).

  • #301F2F

    #301F2F

    oklch(26.7% 0.038 328.6)

  • #182B1B

    #182B1B

    oklch(26.7% 0.039 148.3)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #301F2F

    #301F2F

    oklch(26.7% 0.038 328.6)

  • #282236

    #282236

    oklch(26.8% 0.037 297.6)

  • #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°).

  • #301F2F

    #301F2F

    oklch(26.7% 0.038 328.6)

  • #242812

    #242812

    oklch(26.6% 0.038 117.5)

  • #0D2C26

    #0D2C26

    oklch(26.8% 0.038 178.4)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #301F2F

    #301F2F

    oklch(26.7% 0.038 328.6)

  • #2D250F

    #2D250F

    oklch(26.8% 0.037 89.8)

  • #0A2B30

    #0A2B30

    oklch(26.8% 0.038 209.2)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #301F2F

    #301F2F

    oklch(26.7% 0.038 328.6)

  • #342112

    #342112

    oklch(26.8% 0.039 58.4)

  • #182B1B

    #182B1B

    oklch(26.7% 0.039 148.3)

  • #132836

    #132836

    oklch(26.6% 0.038 239.5)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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