#302A4A

Closest named color: Space Cadet (#2B2D42). oklch(30.7% 0.057 291.3), rgb(48, 42, 74).

Aa

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

About this color

#302A4A is a dark, muted purple. In OKLCH its lightness is 31%, its chroma 0.057 and its hue 291°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Space Cadet (#2B2D42), ΔE 0.021 away. White text reads best on it, at 13.49:1.

Hue familyPurples
Lightnessdark (31%)
Chromamuted (0.057)
Temperaturein between
Nearest nameSpace Cadet (#2B2D42)
Black text1.55:1
White text13.49:1

Values

HEX#302A4A
RGBrgb(48, 42, 74)
HSLhsl(251, 28%, 23%)
OKLCHoklch(30.7% 0.057 291.3)

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 #302A4A 13.49:1 AAA Lc -103.1 Preferred for body text
Black text on #302A4A 1.55:1 Fails Lc 0.0 Not readable
#302A4A text on white 13.49:1 AAA Lc 99.9 Preferred for body text
#302A4A text on black 1.55: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

    #F5F4FB

    oklch(97% 0.009 292.8)

  2. Step 100

    100

    #E9E8F6

    oklch(93.6% 0.019 289.3)

  3. Step 200

    200

    #D9D5F1

    oklch(88.5% 0.038 292.2)

  4. Step 300

    300

    #C0BAE9

    oklch(81% 0.066 290.7)

  5. Step 400

    400

    #A194DF

    oklch(70.7% 0.109 291.3)

  6. Step 500

    500

    #8B78D5

    oklch(63% 0.137 291.3)

  7. Step 600

    600

    #765FC3

    oklch(55.6% 0.15 291.3)

  8. Step 700

    700

    #634EA8

    oklch(49.1% 0.139 291.2)

  9. Step 800

    800

    #514088

    oklch(42.6% 0.116 291.6)

  10. Step 900

    900

    #43376D

    oklch(37.7% 0.09 291.7)

  11. Step 950

    950 (this color)

    #302A4A

    oklch(30.7% 0.057 291.3)

Export this scale for Tailwind in the Tailwind colors tool

#302A4A 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)#212F4B0.027
Deuteranopia (no green cones)#212E490.026
Tritanopia (no blue cones)#2A30360.048
Achromatopsia (no color)#2E2E2E0.057

Harmonies

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

Complementary

The opposite hue (180°).

  • #302A4A

    #302A4A

    oklch(30.7% 0.057 291.3)

  • #31320C

    #31320C

    oklch(30.7% 0.056 110.7)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #302A4A

    #302A4A

    oklch(30.7% 0.057 291.3)

  • #1F2F4C

    #1F2F4C

    oklch(30.6% 0.057 261.6)

  • #3D2641

    #3D2641

    oklch(30.9% 0.056 321.5)

Open the analogous palette in the generator

Split complementary

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

  • #302A4A

    #302A4A

    oklch(30.7% 0.057 291.3)

  • #3E2C07

    #3E2C07

    oklch(30.7% 0.057 81.1)

  • #1E371B

    #1E371B

    oklch(30.8% 0.058 141.7)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #302A4A

    #302A4A

    oklch(30.7% 0.057 291.3)

  • #462713

    #462713

    oklch(30.8% 0.056 52)

  • #05392C

    #05392C

    oklch(30.8% 0.057 171.1)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #302A4A

    #302A4A

    oklch(30.7% 0.057 291.3)

  • #482323

    #482323

    oklch(30.7% 0.056 20.9)

  • #31320C

    #31320C

    oklch(30.7% 0.056 110.7)

  • #00373B

    #00373B

    oklch(30.7% 0.052 202.7)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #302A4A 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.