#382456

Closest named color: Space Cadet (#2B2D42). oklch(31.2% 0.088 299.8), rgb(56, 36, 86).

Aa

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

About this color

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

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

Values

HEX#382456
RGBrgb(56, 36, 86)
HSLhsl(264, 41%, 24%)
OKLCHoklch(31.2% 0.088 299.8)

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 #382456 13.50:1 AAA Lc -103.0 Preferred for body text
Black text on #382456 1.55:1 Fails Lc 0.0 Not readable
#382456 text on white 13.50:1 AAA Lc 99.8 Preferred for body text
#382456 text on black 1.55: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

    #F7F4FE

    oklch(97.2% 0.014 299.8)

  2. Step 100

    100

    #ECE6FC

    oklch(93.6% 0.03 298.3)

  3. Step 200

    200

    #DED1FB

    oklch(88.4% 0.059 299.3)

  4. Step 300

    300

    #CAB2FA

    oklch(80.9% 0.103 299.4)

  5. Step 400

    400

    #B185F8

    oklch(70.7% 0.167 299.8)

  6. Step 500

    500

    #9F61F4

    oklch(63.1% 0.212 299.7)

  7. Step 600

    600

    #8B40E3

    oklch(55.6% 0.231 299.7)

  8. Step 700

    700

    #7630C5

    oklch(49% 0.215 299.6)

  9. Step 800

    800

    #602A9F

    oklch(42.6% 0.178 299.8)

  10. Step 900

    900

    #4E297F

    oklch(37.8% 0.139 299.4)

  11. Step 950

    950 (this color)

    #382456

    oklch(31.2% 0.088 299.8)

Export this scale for Tailwind in the Tailwind colors tool

#382456 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)#112E580.062
Deuteranopia (no green cones)#172E550.057
Tritanopia (no blue cones)#322E390.068
Achromatopsia (no color)#2E2E2E0.088

Harmonies

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

Complementary

The opposite hue (180°).

  • #382456

    #382456

    oklch(31.2% 0.088 299.8)

  • #2C3600

    #2C3600

    oklch(31.2% 0.074 120.4)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #382456

    #382456

    oklch(31.2% 0.088 299.8)

  • #202C5D

    #202C5D

    oklch(31.2% 0.089 270.2)

  • #481D46

    #481D46

    oklch(31.1% 0.088 329.2)

Open the analogous palette in the generator

Split complementary

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

  • #382456

    #382456

    oklch(31.2% 0.088 299.8)

  • #3D2F00

    #3D2F00

    oklch(31.2% 0.064 90.8)

  • #003C17

    #003C17

    oklch(31.1% 0.086 150)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #382456

    #382456

    oklch(31.2% 0.088 299.8)

  • #4B2600

    #4B2600

    oklch(31.2% 0.073 59.8)

  • #003A32

    #003A32

    oklch(31.2% 0.057 180.2)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #382456

    #382456

    oklch(31.2% 0.088 299.8)

  • #551B14

    #551B14

    oklch(31.3% 0.088 29.7)

  • #2C3600

    #2C3600

    oklch(31.2% 0.074 120.4)

  • #003840

    #003840

    oklch(31.2% 0.054 210.2)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #382456 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.