#380E4A#380E4A

#380E4A is a dark, moderate purple. Relative luminance 0.016; OKLCH L 26.8% C 0.108 H 313.5°. Best body text is #FFFFFF at 15.79:1 contrast (WCAG AA passes).

Color values

HEX#380E4A
RGBrgb(56, 14, 74)
HSLhsl(282, 68%, 17%)
HSVhsv(282, 81%, 29%)
CMYKcmyk(24.3%, 81.1%, 0%, 71%)
CIE-LABlab(13.53, 31.16, -27.80)
CIE-LCHlch(13.53, 41.76, 318.26°)
OKLaboklab(26.84% 0.0745 -0.0785)
OKLCHoklch(26.84% 0.108 313.5)
XYZxyz(3.0237, 1.6493, 6.6363)
Luminance0.0165 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#380E4A #204A0E
analogous
#1A0E4A #380E4A #4A0E3E
triadic
#380E4A #4A380E #0E4A38
tetradic
#380E4A #4A1A0E #204A0E #0E3E4A
square
#380E4A #4A1A0E #204A0E #0E3E4A
split-complementary
#380E4A #3E4A0E #0E4A1A
monochromatic
#13051A #13051A #380E4A #5F187D #8621B1

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##380E4A#FFFFFF#000000##FFFFFF
##380E4A1.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)
#00204C
Deuteranopia (green-blind)
#092449
Tritanopia (blue-blind)
#361B2B
Achromatopsia (no color)
#232323

Design tokens & code

CSS
--color: #380e4a;
/* rgb */ color: rgb(56, 14, 74);
/* oklch */ color: oklch(26.8% 0.108 313.5);
Tailwind
colors: {
  custom: {
    50: '#71517d',
    500: '#380e4a',
    950: '#000000',
  },
}
SCSS
$custom: #380e4a;
$custom-light: #71517d;
$custom-dark: #000000;
JSON
{
  "hex": "#380e4a",
  "rgb": {
    "r": 56,
    "g": 14,
    "b": 74
  },
  "hsl": {
    "h": 282,
    "s": 68.182,
    "l": 17.255
  },
  "oklch": {
    "l": 0.26839,
    "c": 0.1082,
    "h": 313.5
  },
  "luminance": 0.01649
}

Semantic roles & 50–950 ramp

primary
#380E4A
secondary
#49852F
accent
#EB3D71
background
#F7F4F7
surface
#EDE7EE
border
#C8C3C9
text
#080209
muted
#7B787B

Preview Lab

Preview with #380E4A

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

Preview Lab → · Contrast checker → · Palette generator →

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