#381A36#381A36

#381A36 is a dark, moderate purple. Relative luminance 0.018; OKLCH L 27.2% C 0.065 H 329.7°. Best body text is #FFFFFF at 15.34:1 contrast (WCAG AA passes).

Color values

HEX#381A36
RGBrgb(56, 26, 54)
HSLhsl(304, 37%, 16%)
HSVhsv(304, 54%, 22%)
CMYKcmyk(0%, 53.6%, 3.6%, 78%)
CIE-LABlab(14.66, 19.78, -11.95)
CIE-LCHlch(14.66, 23.11, 328.85°)
OKLaboklab(27.24% 0.0557 -0.0326)
OKLCHoklch(27.24% 0.065 329.7)
XYZxyz(2.6661, 1.8460, 3.7052)
Luminance0.0185 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#381A36 #1A381C
analogous
#2B1A38 #381A36 #381A27
triadic
#381A36 #36381A #1A3638
tetradic
#381A36 #382B1A #1A381C #1A2738
square
#381A36 #382B1A #1A381C #1A2738
split-complementary
#381A36 #27381A #1A382B
monochromatic
#150A14 #150A14 #381A36 #622D5E #8C4187

Accessibility & contrast

On white

15.34
#381A36 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.37
#381A36 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #381A36
15.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##381A36#FFFFFF#000000##FFFFFF
##381A361.0015.341.3715.34
#FFFFFF15.341.0021.001.00
#0000001.3721.001.0021.00
##FFFFFF15.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#182237
Deuteranopia (green-blind)
#212635
Tritanopia (blue-blind)
#3A1D25
Achromatopsia (no color)
#252525

Design tokens & code

CSS
--color: #381a36;
/* rgb */ color: rgb(56, 26, 54);
/* oklch */ color: oklch(27.2% 0.065 329.7);
Tailwind
colors: {
  custom: {
    50: '#6f586d',
    500: '#381a36',
    950: '#000000',
  },
}
SCSS
$custom: #381a36;
$custom-light: #6f586d;
$custom-dark: #000000;
JSON
{
  "hex": "#381a36",
  "rgb": {
    "r": 56,
    "g": 26,
    "b": 54
  },
  "hsl": {
    "h": 304,
    "s": 36.585,
    "l": 16.078
  },
  "oklch": {
    "l": 0.27237,
    "c": 0.06451,
    "h": 329.7
  },
  "luminance": 0.01846
}

Semantic roles & 50–950 ramp

primary
#381A36
secondary
#416D44
accent
#CD635B
background
#F6F5F6
surface
#ECE9EB
border
#C7C5C6
text
#070307
muted
#7A787A

Preview Lab

Preview with #381A36

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

Preview Lab → · Contrast checker → · Palette generator →

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