#38254F

Closest named color: Space Cadet (#2B2D42). oklch(30.9% 0.076 303.1), rgb(56, 37, 79).

Aa

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

About this color

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

Hue familyPurples
Lightnessdark (31%)
Chromamoderately saturated (0.076)
Temperaturein between
Nearest nameSpace Cadet (#2B2D42)
Black text1.54:1
White text13.58:1

Values

HEX#38254F
RGBrgb(56, 37, 79)
HSLhsl(267, 36%, 23%)
OKLCHoklch(30.9% 0.076 303.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 #38254F 13.58:1 AAA Lc -103.1 Preferred for body text
Black text on #38254F 1.54:1 Fails Lc 0.0 Not readable
#38254F text on white 13.58:1 AAA Lc 100.0 Preferred for body text
#38254F text on black 1.54: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

    #F7F4FC

    oklch(97.2% 0.011 303.1)

  2. Step 100

    100

    #EDE6F9

    oklch(93.6% 0.026 302.6)

  3. Step 200

    200

    #DFD2F5

    oklch(88.5% 0.049 302.3)

  4. Step 300

    300

    #CCB3F1

    oklch(80.9% 0.09 302.9)

  5. Step 400

    400

    #B389E9

    oklch(70.8% 0.142 303.1)

  6. Step 500

    500

    #A167E3

    oklch(63.1% 0.184 303.1)

  7. Step 600

    600

    #8C4AD0

    oklch(55.5% 0.199 303.1)

  8. Step 700

    700

    #773AB4

    oklch(49% 0.185 303.1)

  9. Step 800

    800

    #613192

    oklch(42.6% 0.154 303.2)

  10. Step 900

    900

    #4F2D74

    oklch(37.7% 0.119 303.2)

  11. Step 950

    950 (this color)

    #38254F

    oklch(30.9% 0.076 303.1)

Export this scale for Tailwind in the Tailwind colors tool

#38254F 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)#192E500.054
Deuteranopia (no green cones)#1D2E4E0.050
Tritanopia (no blue cones)#342C360.056
Achromatopsia (no color)#2E2E2E0.076

Harmonies

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

Complementary

The opposite hue (180°).

  • #38254F

    #38254F

    oklch(30.9% 0.076 303.1)

  • #293600

    #293600

    oklch(31% 0.076 123.2)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #38254F

    #38254F

    oklch(30.9% 0.076 303.1)

  • #242C56

    #242C56

    oklch(30.9% 0.076 273.1)

  • #462040

    #462040

    oklch(31% 0.075 333.4)

Open the analogous palette in the generator

Split complementary

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

  • #38254F

    #38254F

    oklch(30.9% 0.076 303.1)

  • #3B2F00

    #3B2F00

    oklch(31% 0.063 93.5)

  • #043B1D

    #043B1D

    oklch(31% 0.076 153.3)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #38254F

    #38254F

    oklch(30.9% 0.076 303.1)

  • #482700

    #482700

    oklch(30.9% 0.07 64)

  • #003933

    #003933

    oklch(30.9% 0.055 183.5)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #38254F

    #38254F

    oklch(30.9% 0.076 303.1)

  • #4F1F15

    #4F1F15

    oklch(30.8% 0.075 33.3)

  • #293600

    #293600

    oklch(31% 0.076 123.2)

  • #003740

    #003740

    oklch(30.9% 0.054 212.3)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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