#381A34#381A34

#381A34 is a dark, moderate purple. Relative luminance 0.018; OKLCH L 27.1% C 0.062 H 332.3°. Best body text is #FFFFFF at 15.38:1 contrast (WCAG AA passes).

Color values

HEX#381A34
RGBrgb(56, 26, 52)
HSLhsl(308, 37%, 16%)
HSVhsv(308, 54%, 22%)
CMYKcmyk(0%, 53.6%, 7.1%, 78%)
CIE-LABlab(14.56, 19.34, -10.68)
CIE-LCHlch(14.56, 22.09, 331.08°)
OKLaboklab(27.13% 0.0552 -0.029)
OKLCHoklch(27.13% 0.062 332.3)
XYZxyz(2.6201, 1.8276, 3.4629)
Luminance0.0183 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#381A34 #1A381E
analogous
#2D1A38 #381A34 #381A25
triadic
#381A34 #34381A #1A3438
tetradic
#381A34 #382D1A #1A381E #1A2538
square
#381A34 #382D1A #1A381E #1A2538
split-complementary
#381A34 #25381A #1A382D
monochromatic
#150A13 #150A13 #381A34 #622D5B #8C4182

Accessibility & contrast

On white

15.38
#381A34 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #381A34
15.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##381A34#FFFFFF#000000##FFFFFF
##381A341.0015.381.3715.38
#FFFFFF15.381.0021.001.00
#0000001.3721.001.0021.00
##FFFFFF15.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#192235
Deuteranopia (green-blind)
#212633
Tritanopia (blue-blind)
#3A1C24
Achromatopsia (no color)
#252525

Design tokens & code

CSS
--color: #381a34;
/* rgb */ color: rgb(56, 26, 52);
/* oklch */ color: oklch(27.1% 0.062 332.3);
Tailwind
colors: {
  custom: {
    50: '#6f576b',
    500: '#381a34',
    950: '#000000',
  },
}
SCSS
$custom: #381a34;
$custom-light: #6f576b;
$custom-dark: #000000;
JSON
{
  "hex": "#381a34",
  "rgb": {
    "r": 56,
    "g": 26,
    "b": 52
  },
  "hsl": {
    "h": 308,
    "s": 36.585,
    "l": 16.078
  },
  "oklch": {
    "l": 0.27127,
    "c": 0.06231,
    "h": 332.3
  },
  "luminance": 0.01827
}

Semantic roles & 50–950 ramp

primary
#381A34
secondary
#416D47
accent
#CD6A5B
background
#F6F5F6
surface
#ECE9EB
border
#C7C5C6
text
#070306
muted
#7A787A

Preview Lab

Preview with #381A34

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

Preview Lab → · Contrast checker → · Palette generator →

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