#34283D

Closest named color: Space Cadet (#2B2D42). oklch(30% 0.04 310.1), rgb(52, 40, 61).

Aa

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

About this color

#34283D is a dark, muted purple. In OKLCH its lightness is 30%, its chroma 0.040 and its hue 310°. 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.84:1.

Hue familyPurples
Lightnessdark (30%)
Chromamuted (0.040)
Temperaturein between
Nearest nameSpace Cadet (#2B2D42)
Black text1.51:1
White text13.84:1

Values

HEX#34283D
RGBrgb(52, 40, 61)
HSLhsl(274, 21%, 20%)
OKLCHoklch(30% 0.04 310.1)

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 #34283D 13.84:1 AAA Lc -103.5 Preferred for body text
Black text on #34283D 1.51:1 Fails Lc 0.0 Not readable
#34283D text on white 13.84:1 AAA Lc 100.4 Preferred for body text
#34283D text on black 1.51: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

    #F7F4F9

    oklch(97.1% 0.007 312.3)

  2. Step 100

    100

    #EDE7F1

    oklch(93.6% 0.015 312.2)

  3. Step 200

    200

    #DED5E7

    oklch(88.6% 0.026 308.1)

  4. Step 300

    300

    #CAB9D8

    oklch(81% 0.047 309.8)

  5. Step 400

    400

    #AF94C5

    oklch(70.8% 0.076 309.5)

  6. Step 500

    500

    #9C78B6

    oklch(63.1% 0.099 310.3)

  7. Step 600

    600

    #8660A2

    oklch(55.5% 0.108 309.7)

  8. Step 700

    700

    #72508A

    oklch(49.2% 0.098 310.2)

  9. Step 800

    800

    #5D4170

    oklch(42.6% 0.082 310.7)

  10. Step 900

    900

    #4C385B

    oklch(37.8% 0.063 309.8)

  11. Step 950

    950 (this color)

    #34283D

    oklch(30% 0.04 310.1)

Export this scale for Tailwind in the Tailwind colors tool

#34283D 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)#242C3E0.029
Deuteranopia (no green cones)#272D3C0.027
Tritanopia (no blue cones)#332B300.029
Achromatopsia (no color)#2D2D2D0.041

Harmonies

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

Complementary

The opposite hue (180°).

  • #34283D

    #34283D

    oklch(30% 0.04 310.1)

  • #27321C

    #27321C

    oklch(30% 0.041 130.1)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #34283D

    #34283D

    oklch(30% 0.04 310.1)

  • #2A2B42

    #2A2B42

    oklch(29.9% 0.042 281.7)

  • #3C2634

    #3C2634

    oklch(30.1% 0.04 341.2)

Open the analogous palette in the generator

Split complementary

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

  • #34283D

    #34283D

    oklch(30% 0.04 310.1)

  • #322E15

    #322E15

    oklch(29.9% 0.04 100.4)

  • #1A3427

    #1A3427

    oklch(30% 0.04 160.9)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #34283D

    #34283D

    oklch(30% 0.04 310.1)

  • #3B2A16

    #3B2A16

    oklch(30% 0.041 69.7)

  • #113432

    #113432

    oklch(29.9% 0.04 190.1)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #34283D

    #34283D

    oklch(30% 0.04 310.1)

  • #3F271E

    #3F271E

    oklch(30% 0.04 41.3)

  • #27321C

    #27321C

    oklch(30% 0.041 130.1)

  • #13323C

    #13323C

    oklch(29.9% 0.041 221.9)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #34283D 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.