#38234F

Closest named color: Space Cadet (#2B2D42). oklch(30.5% 0.079 304.1), rgb(56, 35, 79).

Aa

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

About this color

#38234F is a dark, moderately saturated purple. In OKLCH its lightness is 30%, its chroma 0.079 and its hue 304°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Space Cadet (#2B2D42), ΔE 0.048 away. White text reads best on it, at 13.80:1.

Hue familyPurples
Lightnessdark (30%)
Chromamoderately saturated (0.079)
Temperaturein between
Nearest nameSpace Cadet (#2B2D42)
Black text1.52:1
White text13.80:1

Values

HEX#38234F
RGBrgb(56, 35, 79)
HSLhsl(269, 39%, 22%)
OKLCHoklch(30.5% 0.079 304.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 #38234F 13.80:1 AAA Lc -103.3 Preferred for body text
Black text on #38234F 1.52:1 Fails Lc 0.0 Not readable
#38234F text on white 13.80:1 AAA Lc 100.2 Preferred for body text
#38234F text on black 1.52: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

    #F7F3FD

    oklch(97% 0.014 304.1)

  2. Step 100

    100

    #EEE6F9

    oklch(93.7% 0.027 304.8)

  3. Step 200

    200

    #E0D1F6

    oklch(88.4% 0.053 303.7)

  4. Step 300

    300

    #CEB2F2

    oklch(81% 0.093 304.4)

  5. Step 400

    400

    #B586EC

    oklch(70.6% 0.151 304)

  6. Step 500

    500

    #A464E6

    oklch(63.2% 0.193 304.1)

  7. Step 600

    600

    #8F46D4

    oklch(55.6% 0.209 303.9)

  8. Step 700

    700

    #7A36B7

    oklch(49.1% 0.194 304.2)

  9. Step 800

    800

    #632E94

    oklch(42.6% 0.161 304.2)

  10. Step 900

    900

    #512B76

    oklch(37.7% 0.125 304.4)

  11. Step 950

    950 (this color)

    #38234F

    oklch(30.5% 0.079 304.1)

Export this scale for Tailwind in the Tailwind colors tool

#38234F 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)#152C510.059
Deuteranopia (no green cones)#1B2D4E0.054
Tritanopia (no blue cones)#342B350.059
Achromatopsia (no color)#2D2D2D0.080

Harmonies

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

Complementary

The opposite hue (180°).

  • #38234F

    #38234F

    oklch(30.5% 0.079 304.1)

  • #273500

    #273500

    oklch(30.5% 0.076 124.2)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #38234F

    #38234F

    oklch(30.5% 0.079 304.1)

  • #232A56

    #232A56

    oklch(30.4% 0.079 273.9)

  • #461D3F

    #461D3F

    oklch(30.4% 0.08 334.3)

Open the analogous palette in the generator

Split complementary

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

  • #38234F

    #38234F

    oklch(30.5% 0.079 304.1)

  • #392E00

    #392E00

    oklch(30.4% 0.062 94.6)

  • #003A1C

    #003A1C

    oklch(30.6% 0.077 153.9)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #38234F

    #38234F

    oklch(30.5% 0.079 304.1)

  • #462600

    #462600

    oklch(30.4% 0.069 64.3)

  • #003832

    #003832

    oklch(30.6% 0.054 183.3)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #38234F

    #38234F

    oklch(30.5% 0.079 304.1)

  • #501D11

    #501D11

    oklch(30.6% 0.08 34.6)

  • #273500

    #273500

    oklch(30.5% 0.076 124.2)

  • #00363F

    #00363F

    oklch(30.6% 0.053 212.5)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #38234F 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.