#301A30

Closest named color: Eggplant (#380835). oklch(25.7% 0.051 326.9), rgb(48, 26, 48).

Aa

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

About this color

#301A30 is a dark, muted purple. In OKLCH its lightness is 26%, its chroma 0.051 and its hue 327°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Eggplant (#380835), ΔE 0.046 away. White text reads best on it, at 15.95:1.

Hue familyPurples
Lightnessdark (26%)
Chromamuted (0.051)
Temperaturein between
Nearest nameEggplant (#380835)
Black text1.31:1
White text15.95:1

Values

HEX#301A30
RGBrgb(48, 26, 48)
HSLhsl(300, 30%, 15%)
OKLCHoklch(25.7% 0.051 326.9)

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 #301A30 15.95:1 AAA Lc -105.4 Preferred for body text
Black text on #301A30 1.31:1 Fails Lc 0.0 Not readable
#301A30 text on white 15.95:1 AAA Lc 102.8 Preferred for body text
#301A30 text on black 1.31: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

    #F8F4F8

    oklch(97.1% 0.007 325.6)

  2. Step 100

    100

    #F0E6F0

    oklch(93.6% 0.017 325.7)

  3. Step 200

    200

    #E6D2E5

    oklch(88.6% 0.034 327.4)

  4. Step 300

    300

    #D6B4D5

    oklch(81% 0.059 327)

  5. Step 400

    400

    #C18BC0

    oklch(70.7% 0.097 327.2)

  6. Step 500

    500

    #B06DB0

    oklch(63% 0.123 326.9)

  7. Step 600

    600

    #9B549C

    oklch(55.6% 0.134 326.7)

  8. Step 700

    700

    #844485

    oklch(49.1% 0.124 326.7)

  9. Step 800

    800

    #6C386C

    oklch(42.7% 0.104 327.2)

  10. Step 900

    900

    #573158

    oklch(37.6% 0.08 326.1)

  11. Step 950

    950 (this color)

    #301A30

    oklch(25.7% 0.051 326.9)

Export this scale for Tailwind in the Tailwind colors tool

#301A30 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)#1820310.048
Deuteranopia (no green cones)#1E232F0.044
Tritanopia (no blue cones)#311C220.029
Achromatopsia (no color)#2222220.051

Harmonies

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

Complementary

The opposite hue (180°).

  • #301A30

    #301A30

    oklch(25.7% 0.051 326.9)

  • #112A14

    #112A14

    oklch(25.8% 0.051 146.5)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #301A30

    #301A30

    oklch(25.7% 0.051 326.9)

  • #261E39

    #261E39

    oklch(25.8% 0.05 296.3)

  • #361824

    #361824

    oklch(25.7% 0.051 355.9)

Open the analogous palette in the generator

Split complementary

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

  • #301A30

    #301A30

    oklch(25.7% 0.051 326.9)

  • #222606

    #222606

    oklch(25.7% 0.05 116.1)

  • #002B23

    #002B23

    oklch(25.8% 0.048 176.7)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #301A30

    #301A30

    oklch(25.7% 0.051 326.9)

  • #2E2102

    #2E2102

    oklch(25.7% 0.05 85.6)

  • #00292E

    #00292E

    oklch(25.7% 0.044 207.2)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #301A30

    #301A30

    oklch(25.7% 0.051 326.9)

  • #351C08

    #351C08

    oklch(25.6% 0.05 56.5)

  • #112A14

    #112A14

    oklch(25.8% 0.051 146.5)

  • #052739

    #052739

    oklch(25.9% 0.051 236.7)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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