#380C4D#380C4D

#380C4D is a dark, moderate purple. Relative luminance 0.016; OKLCH L 26.9% C 0.114 H 311.9°. Best body text is #FFFFFF at 15.81:1 contrast (WCAG AA passes).

Color values

HEX#380C4D
RGBrgb(56, 12, 77)
HSLhsl(281, 73%, 17%)
HSVhsv(281, 84%, 30%)
CMYKcmyk(27.3%, 84.4%, 0%, 69.8%)
CIE-LABlab(13.47, 32.76, -29.96)
CIE-LCHlch(13.47, 44.40, 317.55°)
OKLaboklab(26.88% 0.0761 -0.0848)
OKLCHoklch(26.88% 0.114 311.9)
XYZxyz(3.1017, 1.6396, 7.1728)
Luminance0.0164 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#380C4D #214D0C
analogous
#170C4D #380C4D #4D0C42
triadic
#380C4D #4D380C #0C4D38
tetradic
#380C4D #4D170C #214D0C #0C424D
square
#380C4D #4D170C #214D0C #0C424D
split-complementary
#380C4D #424D0C #0C4D17
monochromatic
#13041A #13041A #380C4D #5F1482 #851DB7

Accessibility & contrast

On white

15.81
#380C4D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #380C4D
15.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##380C4D#FFFFFF#000000##FFFFFF
##380C4D1.0015.811.3315.81
#FFFFFF15.811.0021.001.00
#0000001.3321.001.0021.00
##FFFFFF15.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00204F
Deuteranopia (green-blind)
#03234C
Tritanopia (blue-blind)
#351B2C
Achromatopsia (no color)
#222222

Design tokens & code

CSS
--color: #380c4d;
/* rgb */ color: rgb(56, 12, 77);
/* oklch */ color: oklch(26.9% 0.114 311.9);
Tailwind
colors: {
  custom: {
    50: '#72517f',
    500: '#380c4d',
    950: '#000000',
  },
}
SCSS
$custom: #380c4d;
$custom-light: #72517f;
$custom-dark: #000000;
JSON
{
  "hex": "#380c4d",
  "rgb": {
    "r": 56,
    "g": 12,
    "b": 77
  },
  "hsl": {
    "h": 280.615,
    "s": 73.034,
    "l": 17.451
  },
  "oklch": {
    "l": 0.26876,
    "c": 0.11394,
    "h": 311.9
  },
  "luminance": 0.0164
}

Semantic roles & 50–950 ramp

primary
#380C4D
secondary
#4A892C
accent
#F03873
background
#F7F4F7
surface
#EDE7EE
border
#C8C3C9
text
#08020A
muted
#7B787C

Preview Lab

Preview with #380C4D

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

Preview Lab → · Contrast checker → · Palette generator →

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