#381C36#381C36

#381C36 is a dark, moderate purple. Relative luminance 0.019; OKLCH L 27.6% C 0.060 H 329.7°. Best body text is #FFFFFF at 15.13:1 contrast (WCAG AA passes).

Color values

HEX#381C36
RGBrgb(56, 28, 54)
HSLhsl(304, 33%, 16%)
HSVhsv(304, 50%, 22%)
CMYKcmyk(0%, 50%, 3.6%, 78%)
CIE-LABlab(15.16, 18.49, -11.18)
CIE-LCHlch(15.16, 21.61, 328.84°)
OKLaboklab(27.61% 0.052 -0.0304)
OKLCHoklch(27.61% 0.06 329.7)
XYZxyz(2.7120, 1.9377, 3.7205)
Luminance0.0194 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#381C36 #1C381E
analogous
#2C1C38 #381C36 #381C28
triadic
#381C36 #36381C #1C3638
tetradic
#381C36 #382C1C #1C381E #1C2838
square
#381C36 #382C1C #1C381E #1C2838
split-complementary
#381C36 #28381C #1C382C
monochromatic
#140A14 #140A14 #381C36 #61305D #8A4585

Accessibility & contrast

On white

15.13
#381C36 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.39
#381C36 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #381C36
15.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##381C36#FFFFFF#000000##FFFFFF
##381C361.0015.131.3915.13
#FFFFFF15.131.0021.001.00
#0000001.3921.001.0021.00
##FFFFFF15.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1B2437
Deuteranopia (green-blind)
#222735
Tritanopia (blue-blind)
#3A1E26
Achromatopsia (no color)
#262626

Design tokens & code

CSS
--color: #381c36;
/* rgb */ color: rgb(56, 28, 54);
/* oklch */ color: oklch(27.6% 0.060 329.7);
Tailwind
colors: {
  custom: {
    50: '#6f596d',
    500: '#381c36',
    950: '#000000',
  },
}
SCSS
$custom: #381c36;
$custom-light: #6f596d;
$custom-dark: #000000;
JSON
{
  "hex": "#381c36",
  "rgb": {
    "r": 56,
    "g": 28,
    "b": 54
  },
  "hsl": {
    "h": 304.286,
    "s": 33.333,
    "l": 16.471
  },
  "oklch": {
    "l": 0.2761,
    "c": 0.06026,
    "h": 329.7
  },
  "luminance": 0.01938
}

Semantic roles & 50–950 ramp

primary
#381C36
secondary
#436C46
accent
#C9665E
background
#F6F5F6
surface
#ECE9EB
border
#C7C5C6
text
#070307
muted
#7A787A

Preview Lab

Preview with #381C36

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

Preview Lab → · Contrast checker → · Palette generator →

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