#380D4C#380D4C

#380D4C is a dark, moderate purple. Relative luminance 0.017; OKLCH L 26.9% C 0.112 H 312.4°. Best body text is #FFFFFF at 15.79:1 contrast (WCAG AA passes).

Color values

HEX#380D4C
RGBrgb(56, 13, 76)
HSLhsl(281, 71%, 17%)
HSVhsv(281, 83%, 30%)
CMYKcmyk(26.3%, 82.9%, 0%, 70.2%)
CIE-LABlab(13.53, 32.09, -29.17)
CIE-LCHlch(13.53, 43.36, 317.73°)
OKLaboklab(26.9% 0.0752 -0.0825)
OKLCHoklch(26.9% 0.112 312.4)
XYZxyz(3.0791, 1.6505, 6.9925)
Luminance0.0165 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#380D4C #214C0D
analogous
#180D4C #380D4C #4C0D41
triadic
#380D4C #4C380D #0D4C38
tetradic
#380D4C #4C180D #214C0D #0D414C
square
#380D4C #4C180D #214C0D #0D414C
split-complementary
#380D4C #414C0D #0D4C18
monochromatic
#13041A #13041A #380D4C #5F1680 #851FB5

Accessibility & contrast

On white

15.79
#380D4C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.33
#380D4C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #380D4C
15.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##380D4C#FFFFFF#000000##FFFFFF
##380D4C1.0015.791.3315.79
#FFFFFF15.791.0021.001.00
#0000001.3321.001.0021.00
##FFFFFF15.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00214E
Deuteranopia (green-blind)
#05234B
Tritanopia (blue-blind)
#361C2C
Achromatopsia (no color)
#232323

Design tokens & code

CSS
--color: #380d4c;
/* rgb */ color: rgb(56, 13, 76);
/* oklch */ color: oklch(26.9% 0.112 312.4);
Tailwind
colors: {
  custom: {
    50: '#72517e',
    500: '#380d4c',
    950: '#000000',
  },
}
SCSS
$custom: #380d4c;
$custom-light: #72517e;
$custom-dark: #000000;
JSON
{
  "hex": "#380d4c",
  "rgb": {
    "r": 56,
    "g": 13,
    "b": 76
  },
  "hsl": {
    "h": 280.952,
    "s": 70.787,
    "l": 17.451
  },
  "oklch": {
    "l": 0.26895,
    "c": 0.11165,
    "h": 312.4
  },
  "luminance": 0.0165
}

Semantic roles & 50–950 ramp

primary
#380D4C
secondary
#4A872E
accent
#EE3A73
background
#F7F4F7
surface
#EDE7EE
border
#C8C3C9
text
#08020A
muted
#7B787C

Preview Lab

Preview with #380D4C

Body copy rendered with the generated semantic roles for this colour.

Preview Lab → · Contrast checker → · Palette generator →

#380D4C Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva