#381E3E#381E3E

#381E3E is a dark, moderate purple. Relative luminance 0.021; OKLCH L 28.4% C 0.066 H 319.9°. Best body text is #FFFFFF at 14.75:1 contrast (WCAG AA passes).

Color values

HEX#381E3E
RGBrgb(56, 30, 62)
HSLhsl(289, 35%, 18%)
HSVhsv(289, 52%, 24%)
CMYKcmyk(9.7%, 51.6%, 0%, 75.7%)
CIE-LABlab(16.09, 19.07, -15.37)
CIE-LCHlch(16.09, 24.49, 321.14°)
OKLaboklab(28.45% 0.0504 -0.0424)
OKLCHoklch(28.45% 0.066 319.9)
XYZxyz(2.9646, 2.1172, 4.8090)
Luminance0.0212 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#381E3E #243E1E
analogous
#281E3E #381E3E #3E1E34
triadic
#381E3E #3E381E #1E3E38
tetradic
#381E3E #3E281E #243E1E #1E343E
square
#381E3E #3E281E #243E1E #1E343E
split-complementary
#381E3E #343E1E #1E3E28
monochromatic
#130A15 #130A15 #381E3E #5D3267 #834690

Accessibility & contrast

On white

14.75
#381E3E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.42
#381E3E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #381E3E
14.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##381E3E#FFFFFF#000000##FFFFFF
##381E3E1.0014.751.4214.75
#FFFFFF14.751.0021.001.00
#0000001.4221.001.0021.00
##FFFFFF14.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#19263F
Deuteranopia (green-blind)
#20293D
Tritanopia (blue-blind)
#38222B
Achromatopsia (no color)
#282828

Design tokens & code

CSS
--color: #381e3e;
/* rgb */ color: rgb(56, 30, 62);
/* oklch */ color: oklch(28.4% 0.066 319.9);
Tailwind
colors: {
  custom: {
    50: '#6f5a73',
    500: '#381e3e',
    950: '#000000',
  },
}
SCSS
$custom: #381e3e;
$custom-light: #6f5a73;
$custom-dark: #000000;
JSON
{
  "hex": "#381e3e",
  "rgb": {
    "r": 56,
    "g": 30,
    "b": 62
  },
  "hsl": {
    "h": 288.75,
    "s": 34.783,
    "l": 18.039
  },
  "oklch": {
    "l": 0.28446,
    "c": 0.06582,
    "h": 319.9
  },
  "luminance": 0.02117
}

Semantic roles & 50–950 ramp

primary
#381E3E
secondary
#4E7246
accent
#CB5D72
background
#F6F5F7
surface
#ECE9ED
border
#C7C5C8
text
#070408
muted
#7A797B

Preview Lab

Preview with #381E3E

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

Preview Lab → · Contrast checker → · Palette generator →

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