#300C28

Closest named color: Eggplant (#380835). oklch(22.8% 0.071 337.4), rgb(48, 12, 40).

Aa

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

About this color

#300C28 is a very dark, moderately saturated purple. In OKLCH its lightness is 23%, its chroma 0.071 and its hue 337°. Its hue sits on the warm side of the wheel. The nearest named color is Eggplant (#380835), ΔE 0.032 away. White text reads best on it, at 17.37:1.

Hue familyPurples
Lightnessvery dark (23%)
Chromamoderately saturated (0.071)
Temperaturewarm
Nearest nameEggplant (#380835)
Black text1.20:1
White text17.37:1

Values

HEX#300C28
RGBrgb(48, 12, 40)
HSLhsl(313, 60%, 12%)
OKLCHoklch(22.8% 0.071 337.4)

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 #300C28 17.37:1 AAA Lc -106.2 Preferred for body text
Black text on #300C28 1.20:1 Fails Lc 0.0 Not readable
#300C28 text on white 17.37:1 AAA Lc 103.9 Preferred for body text
#300C28 text on black 1.20: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

    #FBF3F8

    oklch(97.2% 0.011 339.3)

  2. Step 100

    100

    #F5E4F0

    oklch(93.6% 0.024 336.1)

  3. Step 200

    200

    #EECEE4

    oklch(88.5% 0.046 337.4)

  4. Step 300

    300

    #E5ACD4

    oklch(80.9% 0.084 337.6)

  5. Step 400

    400

    #D57EBE

    oklch(70.7% 0.134 337.5)

  6. Step 500

    500

    #C85AAE

    oklch(63.2% 0.171 337.4)

  7. Step 600

    600

    #B33B99

    oklch(55.6% 0.186 337.6)

  8. Step 700

    700

    #9A2C83

    oklch(49.2% 0.174 337.5)

  9. Step 800

    800

    #7D266A

    oklch(42.7% 0.144 337.7)

  10. Step 900

    900

    #652556

    oklch(37.7% 0.112 337.8)

  11. Step 950

    950 (this color)

    #300C28

    oklch(22.8% 0.071 337.4)

Export this scale for Tailwind in the Tailwind colors tool

#300C28 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)#0D17290.076
Deuteranopia (no green cones)#181C270.066
Tritanopia (no blue cones)#330E180.035
Achromatopsia (no color)#1A1A1A0.072

Harmonies

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

Complementary

The opposite hue (180°).

  • #300C28

    #300C28

    oklch(22.8% 0.071 337.4)

  • #002412

    #002412

    oklch(22.9% 0.054 157.1)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #300C28

    #300C28

    oklch(22.8% 0.071 337.4)

  • #251136

    #251136

    oklch(22.8% 0.071 306.5)

  • #360916

    #360916

    oklch(22.7% 0.072 7.7)

Open the analogous palette in the generator

Split complementary

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

  • #300C28

    #300C28

    oklch(22.8% 0.071 337.4)

  • #152100

    #152100

    oklch(22.8% 0.059 126.8)

  • #002220

    #002220

    oklch(22.7% 0.039 189.1)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #300C28

    #300C28

    oklch(22.8% 0.071 337.4)

  • #231C00

    #231C00

    oklch(22.8% 0.047 96)

  • #002129

    #002129

    oklch(22.9% 0.041 217.2)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #300C28

    #300C28

    oklch(22.8% 0.071 337.4)

  • #2C1700

    #2C1700

    oklch(22.9% 0.051 66.9)

  • #002412

    #002412

    oklch(22.9% 0.054 157.1)

  • #001E37

    #001E37

    oklch(22.9% 0.06 247.1)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #300C28 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.