#380D4A#380D4A

#380D4A is a dark, moderate purple. Relative luminance 0.016; OKLCH L 26.7% C 0.110 H 313.6°. Best body text is #FFFFFF at 15.85:1 contrast (WCAG AA passes).

Color values

HEX#380D4A
RGBrgb(56, 13, 74)
HSLhsl(282, 70%, 17%)
HSVhsv(282, 82%, 29%)
CMYKcmyk(24.3%, 82.4%, 0%, 71%)
CIE-LABlab(13.37, 31.61, -28.05)
CIE-LCHlch(13.37, 42.26, 318.41°)
OKLaboklab(26.73% 0.0756 -0.0792)
OKLCHoklch(26.73% 0.11 313.6)
XYZxyz(3.0106, 1.6231, 6.6319)
Luminance0.0162 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#380D4A #1F4A0D
analogous
#1A0D4A #380D4A #4A0D3E
triadic
#380D4A #4A380D #0D4A38
tetradic
#380D4A #4A1A0D #1F4A0D #0D3E4A
square
#380D4A #4A1A0D #1F4A0D #0D3E4A
split-complementary
#380D4A #3E4A0D #0D4A1A
monochromatic
#14051A #14051A #380D4A #5F167E #871FB2

Accessibility & contrast

On white

15.85
#380D4A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.32
#380D4A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #380D4A
15.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##380D4A#FFFFFF#000000##FFFFFF
##380D4A1.0015.851.3215.85
#FFFFFF15.851.0021.001.00
#0000001.3221.001.0021.00
##FFFFFF15.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00204C
Deuteranopia (green-blind)
#082349
Tritanopia (blue-blind)
#361B2B
Achromatopsia (no color)
#222222

Design tokens & code

CSS
--color: #380d4a;
/* rgb */ color: rgb(56, 13, 74);
/* oklch */ color: oklch(26.7% 0.110 313.6);
Tailwind
colors: {
  custom: {
    50: '#71517d',
    500: '#380d4a',
    950: '#000000',
  },
}
SCSS
$custom: #380d4a;
$custom-light: #71517d;
$custom-dark: #000000;
JSON
{
  "hex": "#380d4a",
  "rgb": {
    "r": 56,
    "g": 13,
    "b": 74
  },
  "hsl": {
    "h": 282.295,
    "s": 70.115,
    "l": 17.059
  },
  "oklch": {
    "l": 0.26727,
    "c": 0.1095,
    "h": 313.6
  },
  "luminance": 0.01623
}

Semantic roles & 50–950 ramp

primary
#380D4A
secondary
#47852E
accent
#ED3B6F
background
#F7F4F7
surface
#EDE7EE
border
#C8C3C9
text
#080209
muted
#7B787B

Preview Lab

Preview with #380D4A

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

Preview Lab → · Contrast checker → · Palette generator →

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