#380C4C#380C4C

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

Color values

HEX#380C4C
RGBrgb(56, 12, 76)
HSLhsl(281, 73%, 17%)
HSVhsv(281, 84%, 30%)
CMYKcmyk(26.3%, 84.2%, 0%, 70.2%)
CIE-LABlab(13.39, 32.52, -29.41)
CIE-LCHlch(13.39, 43.84, 317.87°)
OKLaboklab(26.79% 0.0763 -0.0832)
OKLCHoklch(26.79% 0.113 312.5)
XYZxyz(3.0666, 1.6256, 6.9883)
Luminance0.0163 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#380C4C #204C0C
analogous
#180C4C #380C4C #4C0C40
triadic
#380C4C #4C380C #0C4C38
tetradic
#380C4C #4C180C #204C0C #0C404C
square
#380C4C #4C180C #204C0C #0C404C
split-complementary
#380C4C #404C0C #0C4C18
monochromatic
#13041A #13041A #380C4C #5F1481 #861DB6

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##380C4C#FFFFFF#000000##FFFFFF
##380C4C1.0015.851.3315.85
#FFFFFF15.851.0021.001.00
#0000001.3321.001.0021.00
##FFFFFF15.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00204E
Deuteranopia (green-blind)
#04234B
Tritanopia (blue-blind)
#361B2C
Achromatopsia (no color)
#222222

Design tokens & code

CSS
--color: #380c4c;
/* rgb */ color: rgb(56, 12, 76);
/* oklch */ color: oklch(26.8% 0.113 312.5);
Tailwind
colors: {
  custom: {
    50: '#72507e',
    500: '#380c4c',
    950: '#000000',
  },
}
SCSS
$custom: #380c4c;
$custom-light: #72507e;
$custom-dark: #000000;
JSON
{
  "hex": "#380c4c",
  "rgb": {
    "r": 56,
    "g": 12,
    "b": 76
  },
  "hsl": {
    "h": 281.25,
    "s": 72.727,
    "l": 17.255
  },
  "oklch": {
    "l": 0.2679,
    "c": 0.11287,
    "h": 312.5
  },
  "luminance": 0.01625
}

Semantic roles & 50–950 ramp

primary
#380C4C
secondary
#49882C
accent
#EF3872
background
#F7F4F7
surface
#EDE7EE
border
#C8C3C9
text
#08020A
muted
#7B787C

Preview Lab

Preview with #380C4C

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

Preview Lab → · Contrast checker → · Palette generator →

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