#302D43

Closest named color: Space Cadet (#2B2D42). oklch(31% 0.039 290.2), rgb(48, 45, 67).

Aa

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

About this color

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

Hue familyPurples
Lightnessdark (31%)
Chromamuted (0.039)
Temperaturein between
Nearest nameSpace Cadet (#2B2D42)
Black text1.58:1
White text13.27:1

Values

HEX#302D43
RGBrgb(48, 45, 67)
HSLhsl(248, 20%, 22%)
OKLCHoklch(31% 0.039 290.2)

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 #302D43 13.27:1 AAA Lc -102.8 Preferred for body text
Black text on #302D43 1.58:1 Fails Lc 0.0 Not readable
#302D43 text on white 13.27:1 AAA Lc 99.6 Preferred for body text
#302D43 text on black 1.58: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

    #F5F5F9

    oklch(97.1% 0.005 286.3)

  2. Step 100

    100

    #E9E8F2

    oklch(93.5% 0.013 290.7)

  3. Step 200

    200

    #D8D7E9

    oklch(88.5% 0.025 288.4)

  4. Step 300

    300

    #C0BCDD

    oklch(80.9% 0.046 290.9)

  5. Step 400

    400

    #A099CC

    oklch(70.7% 0.074 290.7)

  6. Step 500

    500

    #897FBF

    oklch(63.1% 0.095 290.6)

  7. Step 600

    600

    #7368AB

    oklch(55.6% 0.103 290.2)

  8. Step 700

    700

    #605693

    oklch(49% 0.096 289.9)

  9. Step 800

    800

    #4F4777

    oklch(42.8% 0.078 290.3)

  10. Step 900

    900

    #413C60

    oklch(37.8% 0.061 289.5)

  11. Step 950

    950 (this color)

    #302D43

    oklch(31% 0.039 290.2)

Export this scale for Tailwind in the Tailwind colors tool

#302D43 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)#2730440.017
Deuteranopia (no green cones)#272F420.016
Tritanopia (no blue cones)#2C31350.033
Achromatopsia (no color)#3030300.039

Harmonies

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

Complementary

The opposite hue (180°).

  • #302D43

    #302D43

    oklch(31% 0.039 290.2)

  • #31321A

    #31321A

    oklch(30.9% 0.039 110.5)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #302D43

    #302D43

    oklch(31% 0.039 290.2)

  • #253144

    #253144

    oklch(31.1% 0.038 259.4)

  • #392A3D

    #392A3D

    oklch(31% 0.039 319.1)

Open the analogous palette in the generator

Split complementary

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

  • #302D43

    #302D43

    oklch(31% 0.039 290.2)

  • #3B2E19

    #3B2E19

    oklch(31% 0.039 78.6)

  • #263522

    #263522

    oklch(30.9% 0.039 139.2)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #302D43

    #302D43

    oklch(31% 0.039 290.2)

  • #412B1E

    #412B1E

    oklch(31.2% 0.04 51.4)

  • #1A372D

    #1A372D

    oklch(31.1% 0.04 169.2)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #302D43

    #302D43

    oklch(31% 0.039 290.2)

  • #422828

    #422828

    oklch(30.9% 0.039 19.5)

  • #31321A

    #31321A

    oklch(30.9% 0.039 110.5)

  • #153638

    #153638

    oklch(30.9% 0.039 200.7)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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