#381C3C#381C3C

#381C3C is a dark, moderate purple. Relative luminance 0.020; OKLCH L 28.0% C 0.067 H 322.4°. Best body text is #FFFFFF at 15.00:1 contrast (WCAG AA passes).

Color values

HEX#381C3C
RGBrgb(56, 28, 60)
HSLhsl(293, 36%, 17%)
HSVhsv(293, 53%, 24%)
CMYKcmyk(6.7%, 53.3%, 0%, 76.5%)
CIE-LABlab(15.47, 19.88, -14.93)
CIE-LCHlch(15.47, 24.86, 323.10°)
OKLaboklab(27.95% 0.0535 -0.0411)
OKLCHoklch(27.95% 0.067 322.4)
XYZxyz(2.8617, 1.9976, 4.5089)
Luminance0.0200 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#381C3C #203C1C
analogous
#281C3C #381C3C #3C1C30
triadic
#381C3C #3C381C #1C3C38
tetradic
#381C3C #3C281C #203C1C #1C303C
square
#381C3C #3C281C #203C1C #1C303C
split-complementary
#381C3C #303C1C #1C3C28
monochromatic
#130A15 #130A15 #381C3C #5F2F66 #86438F

Accessibility & contrast

On white

15.00
#381C3C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.40
#381C3C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #381C3C
15.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##381C3C#FFFFFF#000000##FFFFFF
##381C3C1.0015.001.4015.00
#FFFFFF15.001.0021.001.00
#0000001.4021.001.0021.00
##FFFFFF15.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#18253D
Deuteranopia (green-blind)
#20283B
Tritanopia (blue-blind)
#392029
Achromatopsia (no color)
#272727

Design tokens & code

CSS
--color: #381c3c;
/* rgb */ color: rgb(56, 28, 60);
/* oklch */ color: oklch(28.0% 0.067 322.4);
Tailwind
colors: {
  custom: {
    50: '#6f5972',
    500: '#381c3c',
    950: '#000000',
  },
}
SCSS
$custom: #381c3c;
$custom-light: #6f5972;
$custom-dark: #000000;
JSON
{
  "hex": "#381c3c",
  "rgb": {
    "r": 56,
    "g": 28,
    "b": 60
  },
  "hsl": {
    "h": 292.5,
    "s": 36.364,
    "l": 17.255
  },
  "oklch": {
    "l": 0.27951,
    "c": 0.06745,
    "h": 322.4
  },
  "luminance": 0.01998
}

Semantic roles & 50–950 ramp

primary
#381C3C
secondary
#497143
accent
#CC5B6A
background
#F6F5F6
surface
#ECE9EC
border
#C7C5C7
text
#070307
muted
#7A787A

Preview Lab

Preview with #381C3C

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

Preview Lab → · Contrast checker → · Palette generator →

#381C3C Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva