#2D214D

Closest named color: Space Cadet (#2B2D42). oklch(28.7% 0.078 293.4), rgb(45, 33, 77).

Aa

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

About this color

#2D214D is a dark, moderately saturated purple. In OKLCH its lightness is 29%, its chroma 0.078 and its hue 293°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Space Cadet (#2B2D42), ΔE 0.046 away. White text reads best on it, at 14.62:1.

Hue familyPurples
Lightnessdark (29%)
Chromamoderately saturated (0.078)
Temperaturein between
Nearest nameSpace Cadet (#2B2D42)
Black text1.43:1
White text14.62:1

Values

HEX#2D214D
RGBrgb(45, 33, 77)
HSLhsl(256, 40%, 22%)
OKLCHoklch(28.7% 0.078 293.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 #2D214D 14.62:1 AAA Lc -104.2 Preferred for body text
Black text on #2D214D 1.43:1 Fails Lc 0.0 Not readable
#2D214D text on white 14.62:1 AAA Lc 101.3 Preferred for body text
#2D214D text on black 1.43: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

    #F5F4FD

    oklch(97% 0.012 291.3)

  2. Step 100

    100

    #EAE7FB

    oklch(93.6% 0.027 292.8)

  3. Step 200

    200

    #DAD3F9

    oklch(88.4% 0.052 293.7)

  4. Step 300

    300

    #C3B6F7

    oklch(81% 0.092 293.4)

  5. Step 400

    400

    #A68DF3

    oklch(70.8% 0.147 293.6)

  6. Step 500

    500

    #916CEF

    oklch(63.1% 0.189 293.2)

  7. Step 600

    600

    #7D4FDD

    oklch(55.5% 0.206 293.5)

  8. Step 700

    700

    #6A3FC0

    oklch(49.1% 0.191 293.4)

  9. Step 800

    800

    #56359B

    oklch(42.7% 0.158 293.5)

  10. Step 900

    900

    #46307C

    oklch(37.8% 0.123 292.9)

  11. Step 950

    950 (this color)

    #2D214D

    oklch(28.7% 0.078 293.4)

Export this scale for Tailwind in the Tailwind colors tool

#2D214D 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)#0F294F0.047
Deuteranopia (no green cones)#11284C0.045
Tritanopia (no blue cones)#252A330.063
Achromatopsia (no color)#2929290.078

Harmonies

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

Complementary

The opposite hue (180°).

  • #2D214D

    #2D214D

    oklch(28.7% 0.078 293.4)

  • #2B2E00

    #2B2E00

    oklch(28.8% 0.065 113.6)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #2D214D

    #2D214D

    oklch(28.7% 0.078 293.4)

  • #152851

    #152851

    oklch(28.6% 0.079 263.5)

  • #3C1B40

    #3C1B40

    oklch(28.6% 0.077 323.2)

Open the analogous palette in the generator

Split complementary

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

  • #2D214D

    #2D214D

    oklch(28.7% 0.078 293.4)

  • #382700

    #382700

    oklch(28.5% 0.059 83.4)

  • #0D340D

    #0D340D

    oklch(28.7% 0.078 143.2)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #2D214D

    #2D214D

    oklch(28.7% 0.078 293.4)

  • #451E00

    #451E00

    oklch(28.6% 0.072 53.2)

  • #003328

    #003328

    oklch(28.6% 0.055 173.4)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #2D214D

    #2D214D

    oklch(28.7% 0.078 293.4)

  • #4A1717

    #4A1717

    oklch(28.7% 0.078 23.4)

  • #2B2E00

    #2B2E00

    oklch(28.8% 0.065 113.6)

  • #003135

    #003135

    oklch(28.5% 0.049 203.5)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #2D214D 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.