#380D4D#380D4D

#380D4D is a dark, moderate purple. Relative luminance 0.017; OKLCH L 27.0% C 0.113 H 311.7°. Best body text is #FFFFFF at 15.76:1 contrast (WCAG AA passes).

Color values

HEX#380D4D
RGBrgb(56, 13, 77)
HSLhsl(280, 71%, 18%)
HSVhsv(280, 83%, 30%)
CMYKcmyk(27.3%, 83.1%, 0%, 69.8%)
CIE-LABlab(13.62, 32.33, -29.72)
CIE-LCHlch(13.62, 43.92, 317.40°)
OKLaboklab(26.98% 0.075 -0.0841)
OKLCHoklch(26.98% 0.113 311.7)
XYZxyz(3.1141, 1.6645, 7.1770)
Luminance0.0166 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#380D4D #224D0D
analogous
#180D4D #380D4D #4D0D42
triadic
#380D4D #4D380D #0D4D38
tetradic
#380D4D #4D180D #224D0D #0D424D
square
#380D4D #4D180D #224D0D #0D424D
split-complementary
#380D4D #424D0D #0D4D18
monochromatic
#13041A #13041A #380D4D #5E1681 #841FB6

Accessibility & contrast

On white

15.76
#380D4D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #380D4D
15.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##380D4D#FFFFFF#000000##FFFFFF
##380D4D1.0015.761.3315.76
#FFFFFF15.761.0021.001.00
#0000001.3321.001.0021.00
##FFFFFF15.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00214F
Deuteranopia (green-blind)
#04244C
Tritanopia (blue-blind)
#351C2C
Achromatopsia (no color)
#232323

Design tokens & code

CSS
--color: #380d4d;
/* rgb */ color: rgb(56, 13, 77);
/* oklch */ color: oklch(27.0% 0.113 311.7);
Tailwind
colors: {
  custom: {
    50: '#72517f',
    500: '#380d4d',
    950: '#000000',
  },
}
SCSS
$custom: #380d4d;
$custom-light: #72517f;
$custom-dark: #000000;
JSON
{
  "hex": "#380d4d",
  "rgb": {
    "r": 56,
    "g": 13,
    "b": 77
  },
  "hsl": {
    "h": 280.313,
    "s": 71.111,
    "l": 17.647
  },
  "oklch": {
    "l": 0.26981,
    "c": 0.11273,
    "h": 311.7
  },
  "luminance": 0.01664
}

Semantic roles & 50–950 ramp

primary
#380D4D
secondary
#4B882E
accent
#EE3A75
background
#F7F4F7
surface
#EDE7EE
border
#C8C3C9
text
#08020A
muted
#7B787C

Preview Lab

Preview with #380D4D

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

Preview Lab → · Contrast checker → · Palette generator →

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