#382270

Closest named color: Royal Purple (#4B006E). oklch(32.9% 0.127 290.7), rgb(56, 34, 112).

Aa

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

About this color

#382270 is a dark, moderately saturated purple. In OKLCH its lightness is 33%, its chroma 0.127 and its hue 291°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Royal Purple (#4B006E), ΔE 0.059 away. White text reads best on it, at 12.87:1.

Hue familyPurples
Lightnessdark (33%)
Chromamoderately saturated (0.127)
Temperaturein between
Nearest nameRoyal Purple (#4B006E)
Black text1.63:1
White text12.87:1

Values

HEX#382270
RGBrgb(56, 34, 112)
HSLhsl(257, 53%, 29%)
OKLCHoklch(32.9% 0.127 290.7)

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 #382270 12.87:1 AAA Lc -102.0 Preferred for body text
Black text on #382270 1.63:1 Fails Lc 0.0 Not readable
#382270 text on white 12.87:1 AAA Lc 98.6 Preferred for body text
#382270 text on black 1.63: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 900.

  1. Step 50

    50

    #F5F4FE

    oklch(97.1% 0.013 290.8)

  2. Step 100

    100

    #E9E7FC

    oklch(93.6% 0.028 290.2)

  3. Step 200

    200

    #D8D4FA

    oklch(88.5% 0.052 290.1)

  4. Step 300

    300

    #C0B6FA

    oklch(80.9% 0.095 290.8)

  5. Step 400

    400

    #A18DF8

    oklch(70.6% 0.153 290.5)

  6. Step 500

    500

    #8D6CF4

    oklch(63% 0.195 290.9)

  7. Step 600

    600

    #794FE3

    oklch(55.6% 0.213 290.9)

  8. Step 700

    700

    #663FC5

    oklch(49.2% 0.197 290.7)

  9. Step 800

    800

    #5335A0

    oklch(42.8% 0.164 290.7)

  10. Step 900

    900 (this color)

    #382270

    oklch(32.9% 0.127 290.7)

  11. Step 950

    950

    #271D4A

    oklch(27% 0.08 290.2)

Export this scale for Tailwind in the Tailwind colors tool

#382270 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)#0033720.071
Deuteranopia (no green cones)#00306E0.070
Tritanopia (no blue cones)#2635460.102
Achromatopsia (no color)#3232320.128

Harmonies

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

Complementary

The opposite hue (180°).

  • #382270

    #382270

    oklch(32.9% 0.127 290.7)

  • #373800

    #373800

    oklch(32.9% 0.072 110.9)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #382270

    #382270

    oklch(32.9% 0.127 290.7)

  • #062F75

    #062F75

    oklch(32.8% 0.128 260.8)

  • #51165C

    #51165C

    oklch(33% 0.127 320.9)

Open the analogous palette in the generator

Split complementary

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

  • #382270

    #382270

    oklch(32.9% 0.127 290.7)

  • #473100

    #473100

    oklch(33% 0.068 81.2)

  • #0B4100

    #0B4100

    oklch(32.8% 0.107 140.6)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #382270

    #382270

    oklch(32.9% 0.127 290.7)

  • #572500

    #572500

    oklch(33% 0.087 50.5)

  • #004030

    #004030

    oklch(33% 0.066 169.7)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #382270

    #382270

    oklch(32.9% 0.127 290.7)

  • #670516

    #670516

    oklch(32.8% 0.127 20.8)

  • #373800

    #373800

    oklch(32.9% 0.072 110.9)

  • #003E41

    #003E41

    oklch(33.1% 0.056 200.2)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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