#381A3C#381A3C

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

Color values

HEX#381A3C
RGBrgb(56, 26, 60)
HSLhsl(293, 40%, 17%)
HSVhsv(293, 57%, 24%)
CMYKcmyk(6.7%, 56.7%, 0%, 76.5%)
CIE-LABlab(14.99, 21.15, -15.69)
CIE-LCHlch(14.99, 26.34, 323.43°)
OKLaboklab(27.59% 0.057 -0.0433)
OKLCHoklch(27.59% 0.072 322.8)
XYZxyz(2.8158, 1.9059, 4.4936)
Luminance0.0191 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#381A3C #1E3C1A
analogous
#271A3C #381A3C #3C1A2F
triadic
#381A3C #3C381A #1A3C38
tetradic
#381A3C #3C271A #1E3C1A #1A2F3C
square
#381A3C #3C271A #1E3C1A #1A2F3C
split-complementary
#381A3C #2F3C1A #1A3C27
monochromatic
#140915 #140915 #381A3C #602D67 #883F91

Accessibility & contrast

On white

15.20
#381A3C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.38
#381A3C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #381A3C
15.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##381A3C#FFFFFF#000000##FFFFFF
##381A3C1.0015.201.3815.20
#FFFFFF15.201.0021.001.00
#0000001.3821.001.0021.00
##FFFFFF15.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#15233D
Deuteranopia (green-blind)
#1E273B
Tritanopia (blue-blind)
#391E28
Achromatopsia (no color)
#262626

Design tokens & code

CSS
--color: #381a3c;
/* rgb */ color: rgb(56, 26, 60);
/* oklch */ color: oklch(27.6% 0.072 322.8);
Tailwind
colors: {
  custom: {
    50: '#705872',
    500: '#381a3c',
    950: '#000000',
  },
}
SCSS
$custom: #381a3c;
$custom-light: #705872;
$custom-dark: #000000;
JSON
{
  "hex": "#381a3c",
  "rgb": {
    "r": 56,
    "g": 26,
    "b": 60
  },
  "hsl": {
    "h": 292.941,
    "s": 39.535,
    "l": 16.863
  },
  "oklch": {
    "l": 0.27588,
    "c": 0.07155,
    "h": 322.8
  },
  "luminance": 0.01906
}

Semantic roles & 50–950 ramp

primary
#381A3C
secondary
#467240
accent
#CF5866
background
#F6F5F6
surface
#ECE9EC
border
#C7C5C7
text
#070308
muted
#7A787B

Preview Lab

Preview with #381A3C

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

Preview Lab → · Contrast checker → · Palette generator →

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