#38294D

Closest named color: Space Cadet (#2B2D42). oklch(31.6% 0.065 302), rgb(56, 41, 77).

Aa

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

About this color

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

Hue familyPurples
Lightnessdark (32%)
Chromamuted (0.065)
Temperaturein between
Nearest nameSpace Cadet (#2B2D42)
Black text1.59:1
White text13.18:1

Values

HEX#38294D
RGBrgb(56, 41, 77)
HSLhsl(265, 31%, 23%)
OKLCHoklch(31.6% 0.065 302)

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 #38294D 13.18:1 AAA Lc -102.7 Preferred for body text
Black text on #38294D 1.59:1 Fails Lc 0.0 Not readable
#38294D text on white 13.18:1 AAA Lc 99.4 Preferred for body text
#38294D text on black 1.59: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

    #F7F4FB

    oklch(97.1% 0.01 305.4)

  2. Step 100

    100

    #ECE7F7

    oklch(93.7% 0.022 300.2)

  3. Step 200

    200

    #DED3F1

    oklch(88.5% 0.042 302.2)

  4. Step 300

    300

    #CAB5EB

    oklch(80.9% 0.078 302.4)

  5. Step 400

    400

    #AF8DE0

    oklch(70.6% 0.123 302.2)

  6. Step 500

    500

    #9C6FD7

    oklch(63.2% 0.156 302.1)

  7. Step 600

    600

    #8754C5

    oklch(55.6% 0.171 301.9)

  8. Step 700

    700

    #7344AA

    oklch(49.2% 0.159 302.1)

  9. Step 800

    800

    #5D388A

    oklch(42.6% 0.133 301.9)

  10. Step 900

    900

    #4C326E

    oklch(37.8% 0.102 301.7)

  11. Step 950

    950 (this color)

    #38294D

    oklch(31.6% 0.065 302)

Export this scale for Tailwind in the Tailwind colors tool

#38294D 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)#20304E0.043
Deuteranopia (no green cones)#23304C0.040
Tritanopia (no blue cones)#342F370.050
Achromatopsia (no color)#3030300.065

Harmonies

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

Complementary

The opposite hue (180°).

  • #38294D

    #38294D

    oklch(31.6% 0.065 302)

  • #2C370C

    #2C370C

    oklch(31.6% 0.066 122.6)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #38294D

    #38294D

    oklch(31.6% 0.065 302)

  • #262F53

    #262F53

    oklch(31.6% 0.066 271.6)

  • #452440

    #452440

    oklch(31.5% 0.066 332.8)

Open the analogous palette in the generator

Split complementary

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

  • #38294D

    #38294D

    oklch(31.6% 0.065 302)

  • #3E3000

    #3E3000

    oklch(31.6% 0.065 91.1)

  • #133B21

    #133B21

    oklch(31.6% 0.065 152.3)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #38294D

    #38294D

    oklch(31.6% 0.065 302)

  • #492908

    #492908

    oklch(31.6% 0.065 61.5)

  • #003B34

    #003B34

    oklch(31.6% 0.057 182.1)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #38294D

    #38294D

    oklch(31.6% 0.065 302)

  • #4E241C

    #4E241C

    oklch(31.7% 0.065 32.1)

  • #2C370C

    #2C370C

    oklch(31.6% 0.066 122.6)

  • #003942

    #003942

    oklch(31.6% 0.055 211.8)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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