#301F2A

Closest named color: Jet (#212529). oklch(26.5% 0.032 340.5), rgb(48, 31, 42).

Aa

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

About this color

#301F2A is a dark, muted purple. In OKLCH its lightness is 26%, its chroma 0.032 and its hue 340°. Its hue sits on the warm side of the wheel. The nearest named color is Jet (#212529), ΔE 0.034 away. White text reads best on it, at 15.49:1.

Hue familyPurples
Lightnessdark (26%)
Chromamuted (0.032)
Temperaturewarm
Nearest nameJet (#212529)
Black text1.35:1
White text15.49:1

Values

HEX#301F2A
RGBrgb(48, 31, 42)
HSLhsl(321, 22%, 15%)
OKLCHoklch(26.5% 0.032 340.5)

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 #301F2A 15.49:1 AAA Lc -105.1 Preferred for body text
Black text on #301F2A 1.35:1 Fails Lc 0.0 Not readable
#301F2A text on white 15.49:1 AAA Lc 102.4 Preferred for body text
#301F2A 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

    #F8F4F6

    oklch(97.1% 0.005 345.3)

  2. Step 100

    100

    #EFE7EC

    oklch(93.6% 0.011 339.3)

  3. Step 200

    200

    #E3D4DD

    oklch(88.5% 0.02 340.7)

  4. Step 300

    300

    #D3B7C8

    oklch(80.8% 0.039 341)

  5. Step 400

    400

    #BC92AC

    oklch(70.7% 0.061 341.2)

  6. Step 500

    500

    #AA7798

    oklch(63.1% 0.078 340.5)

  7. Step 600

    600

    #955F83

    oklch(55.6% 0.086 340.1)

  8. Step 700

    700

    #7F4E6E

    oklch(49.1% 0.079 341)

  9. Step 800

    800

    #67405A

    oklch(42.6% 0.066 340.2)

  10. Step 900

    900

    #54374A

    oklch(37.8% 0.05 340.3)

  11. Step 950

    950 (this color)

    #301F2A

    oklch(26.5% 0.032 340.5)

Export this scale for Tailwind in the Tailwind colors tool

#301F2A 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)#20232A0.032
Deuteranopia (no green cones)#24252A0.029
Tritanopia (no blue cones)#321F230.014
Achromatopsia (no color)#2424240.033

Harmonies

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

Complementary

The opposite hue (180°).

  • #301F2A

    #301F2A

    oklch(26.5% 0.032 340.5)

  • #162A20

    #162A20

    oklch(26.4% 0.032 161.3)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #301F2A

    #301F2A

    oklch(26.5% 0.032 340.5)

  • #2A2131

    #2A2131

    oklch(26.5% 0.032 309.9)

  • #331F21

    #331F21

    oklch(26.6% 0.031 12.8)

Open the analogous palette in the generator

Split complementary

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

  • #301F2A

    #301F2A

    oklch(26.5% 0.032 340.5)

  • #202818

    #202818

    oklch(26.4% 0.031 129.9)

  • #102A29

    #102A29

    oklch(26.4% 0.032 192.1)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #301F2A

    #301F2A

    oklch(26.5% 0.032 340.5)

  • #292613

    #292613

    oklch(26.6% 0.032 100.4)

  • #122930

    #122930

    oklch(26.6% 0.032 219.9)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #301F2A

    #301F2A

    oklch(26.5% 0.032 340.5)

  • #2F2213

    #2F2213

    oklch(26.3% 0.032 69.7)

  • #162A20

    #162A20

    oklch(26.4% 0.032 161.3)

  • #192634

    #192634

    oklch(26.4% 0.032 250.9)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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