#380F45

Closest named color: Dark Purple (#35063E). oklch(26.6% 0.101 316.8), rgb(56, 15, 69).

Aa

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

About this color

#380F45 is a dark, moderately saturated purple. In OKLCH its lightness is 27%, its chroma 0.101 and its hue 317°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Dark Purple (#35063E), ΔE 0.022 away. White text reads best on it, at 15.88:1.

Hue familyPurples
Lightnessdark (27%)
Chromamoderately saturated (0.101)
Temperaturein between
Nearest nameDark Purple (#35063E)
Black text1.32:1
White text15.88:1

Values

HEX#380F45
RGBrgb(56, 15, 69)
HSLhsl(286, 64%, 16%)
OKLCHoklch(26.6% 0.101 316.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 #380F45 15.88:1 AAA Lc -105.0 Preferred for body text
Black text on #380F45 1.32:1 Fails Lc 0.0 Not readable
#380F45 text on white 15.88:1 AAA Lc 102.3 Preferred for body text
#380F45 text on black 1.32: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

    #FAF2FD

    oklch(97% 0.017 316.9)

  2. Step 100

    100

    #F4E3FA

    oklch(93.6% 0.036 317.3)

  3. Step 200

    200

    #EBCCF7

    oklch(88.5% 0.067 316.5)

  4. Step 300

    300

    #E0A8F4

    oklch(80.9% 0.12 317)

  5. Step 400

    400

    #CF74EE

    oklch(70.6% 0.192 316.9)

  6. Step 500

    500

    #C245E9

    oklch(63.2% 0.246 316.9)

  7. Step 600

    600

    #AD0CD7

    oklch(55.6% 0.267 316.7)

  8. Step 700

    700

    #9300B7

    oklch(49.1% 0.24 316.9)

  9. Step 800

    800

    #790497

    oklch(42.8% 0.206 316.8)

  10. Step 900

    900

    #611778

    oklch(37.7% 0.159 316.5)

  11. Step 950

    950 (this color)

    #380F45

    oklch(26.6% 0.101 316.8)

Export this scale for Tailwind in the Tailwind colors tool

#380F45 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)#0020470.097
Deuteranopia (no green cones)#1023440.085
Tritanopia (no blue cones)#371A280.066
Achromatopsia (no color)#2222220.102

Harmonies

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

Complementary

The opposite hue (180°).

  • #380F45

    #380F45

    oklch(26.6% 0.101 316.8)

  • #102E00

    #102E00

    oklch(26.7% 0.081 136.7)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #380F45

    #380F45

    oklch(26.6% 0.101 316.8)

  • #241853

    #241853

    oklch(26.5% 0.102 286.5)

  • #45062F

    #45062F

    oklch(26.6% 0.102 346.7)

Open the analogous palette in the generator

Split complementary

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

  • #380F45

    #380F45

    oklch(26.6% 0.101 316.8)

  • #292700

    #292700

    oklch(26.6% 0.057 106.8)

  • #002E20

    #002E20

    oklch(26.7% 0.055 167)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #380F45

    #380F45

    oklch(26.6% 0.101 316.8)

  • #342100

    #342100

    oklch(26.5% 0.055 77.2)

  • #002C2D

    #002C2D

    oklch(26.6% 0.045 197.1)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #380F45

    #380F45

    oklch(26.6% 0.101 316.8)

  • #411700

    #411700

    oklch(26.6% 0.074 46.8)

  • #102E00

    #102E00

    oklch(26.7% 0.081 136.7)

  • #002A38

    #002A38

    oklch(26.5% 0.051 225.9)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #380F45 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.