#30304B

Closest named color: Space Cadet (#2B2D42). oklch(32.2% 0.048 283.4), rgb(48, 48, 75).

Aa

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

About this color

#30304B is a dark, muted purple. In OKLCH its lightness is 32%, its chroma 0.048 and its hue 283°. Its hue sits on the cool side of the wheel. The nearest named color is Space Cadet (#2B2D42), ΔE 0.020 away. White text reads best on it, at 12.72:1.

Hue familyPurples
Lightnessdark (32%)
Chromamuted (0.048)
Temperaturecool
Nearest nameSpace Cadet (#2B2D42)
Black text1.65:1
White text12.72:1

Values

HEX#30304B
RGBrgb(48, 48, 75)
HSLhsl(240, 22%, 24%)
OKLCHoklch(32.2% 0.048 283.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 #30304B 12.72:1 AAA Lc -102.1 Preferred for body text
Black text on #30304B 1.65:1 Fails Lc 0.0 Not readable
#30304B text on white 12.72:1 AAA Lc 98.8 Preferred for body text
#30304B text on black 1.65: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

    #F4F5FA

    oklch(97.1% 0.007 277.2)

  2. Step 100

    100

    #E8E9F5

    oklch(93.7% 0.016 282.3)

  3. Step 200

    200

    #D6D7EE

    oklch(88.5% 0.031 283.8)

  4. Step 300

    300

    #BBBDE5

    oklch(81% 0.056 282.8)

  5. Step 400

    400

    #9999D8

    oklch(70.7% 0.092 283.8)

  6. Step 500

    500

    #817FCD

    oklch(63.1% 0.116 283.7)

  7. Step 600

    600

    #6B67BA

    oklch(55.6% 0.126 283.7)

  8. Step 700

    700

    #5956A0

    oklch(49.2% 0.116 283.1)

  9. Step 800

    800

    #494682

    oklch(42.7% 0.097 283.7)

  10. Step 900

    900

    #3D3B68

    oklch(37.6% 0.076 284.2)

  11. Step 950

    950 (this color)

    #30304B

    oklch(32.2% 0.048 283.4)

Export this scale for Tailwind in the Tailwind colors tool

#30304B 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)#28334C0.015
Deuteranopia (no green cones)#27324A0.015
Tritanopia (no blue cones)#29353A0.041
Achromatopsia (no color)#3333330.048

Harmonies

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

Complementary

The opposite hue (180°).

  • #30304B

    #30304B

    oklch(32.2% 0.048 283.4)

  • #383416

    #383416

    oklch(32.1% 0.047 101.8)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #30304B

    #30304B

    oklch(32.2% 0.048 283.4)

  • #21354B

    #21354B

    oklch(32.3% 0.047 251.7)

  • #3C2C45

    #3C2C45

    oklch(32.2% 0.048 313)

Open the analogous palette in the generator

Split complementary

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

  • #30304B

    #30304B

    oklch(32.2% 0.048 283.4)

  • #422F16

    #422F16

    oklch(32.1% 0.047 72.3)

  • #29391F

    #29391F

    oklch(32.3% 0.049 134.2)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #30304B

    #30304B

    oklch(32.2% 0.048 283.4)

  • #482B1F

    #482B1F

    oklch(32.2% 0.048 43.1)

  • #193B2C

    #193B2C

    oklch(32.2% 0.048 162.9)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #30304B

    #30304B

    oklch(32.2% 0.048 283.4)

  • #49292C

    #49292C

    oklch(32.3% 0.048 14)

  • #383416

    #383416

    oklch(32.1% 0.047 101.8)

  • #0E3B3A

    #0E3B3A

    oklch(32.2% 0.048 192.9)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #30304B 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.