#30122C

Closest named color: Eggplant (#380835). oklch(24% 0.063 332.6), rgb(48, 18, 44).

Aa

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

About this color

#30122C is a very dark, muted purple. In OKLCH its lightness is 24%, its chroma 0.063 and its hue 333°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Eggplant (#380835), ΔE 0.033 away. White text reads best on it, at 16.81:1.

Hue familyPurples
Lightnessvery dark (24%)
Chromamuted (0.063)
Temperaturein between
Nearest nameEggplant (#380835)
Black text1.24:1
White text16.81:1

Values

HEX#30122C
RGBrgb(48, 18, 44)
HSLhsl(308, 45%, 13%)
OKLCHoklch(24% 0.063 332.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 #30122C 16.81:1 AAA Lc -106.0 Preferred for body text
Black text on #30122C 1.24:1 Fails Lc 0.0 Not readable
#30122C text on white 16.81:1 AAA Lc 103.5 Preferred for body text
#30122C text on black 1.24: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

    #FAF3F8

    oklch(97.1% 0.01 335.5)

  2. Step 100

    100

    #F3E5F0

    oklch(93.6% 0.021 332.9)

  3. Step 200

    200

    #EBD0E5

    oklch(88.6% 0.041 333.5)

  4. Step 300

    300

    #DFAFD6

    oklch(80.9% 0.076 332.8)

  5. Step 400

    400

    #CD84C1

    oklch(70.8% 0.119 332.8)

  6. Step 500

    500

    #BE62B1

    oklch(63.1% 0.153 332.7)

  7. Step 600

    600

    #A9469D

    oklch(55.6% 0.167 332.5)

  8. Step 700

    700

    #913786

    oklch(49.1% 0.155 332.7)

  9. Step 800

    800

    #762E6D

    oklch(42.7% 0.129 332.7)

  10. Step 900

    900

    #5F2A58

    oklch(37.6% 0.1 332.6)

  11. Step 950

    950 (this color)

    #30122C

    oklch(24% 0.063 332.6)

Export this scale for Tailwind in the Tailwind colors tool

#30122C 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)#111A2D0.064
Deuteranopia (no green cones)#1A1F2B0.058
Tritanopia (no blue cones)#32141D0.032
Achromatopsia (no color)#1D1D1D0.064

Harmonies

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

Complementary

The opposite hue (180°).

  • #30122C

    #30122C

    oklch(24% 0.063 332.6)

  • #002710

    #002710

    oklch(23.9% 0.062 153)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #30122C

    #30122C

    oklch(24% 0.063 332.6)

  • #251638

    #251638

    oklch(23.9% 0.065 302.1)

  • #36101C

    #36101C

    oklch(23.9% 0.062 3.4)

Open the analogous palette in the generator

Split complementary

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

  • #30122C

    #30122C

    oklch(24% 0.063 332.6)

  • #1A2300

    #1A2300

    oklch(23.9% 0.058 122.7)

  • #002621

    #002621

    oklch(24.1% 0.043 182)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #30122C

    #30122C

    oklch(24% 0.063 332.6)

  • #271E00

    #271E00

    oklch(23.9% 0.049 92.8)

  • #00242B

    #00242B

    oklch(23.9% 0.042 213.5)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #30122C

    #30122C

    oklch(24% 0.063 332.6)

  • #311800

    #311800

    oklch(23.9% 0.055 62.2)

  • #002710

    #002710

    oklch(23.9% 0.062 153)

  • #002138

    #002138

    oklch(23.8% 0.058 243.5)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #30122C 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.