#381C3E#381C3E

#381C3E is a dark, moderate purple. Relative luminance 0.020; OKLCH L 28.1% C 0.070 H 320.3°. Best body text is #FFFFFF at 14.96:1 contrast (WCAG AA passes).

Color values

HEX#381C3E
RGBrgb(56, 28, 62)
HSLhsl(289, 38%, 18%)
HSVhsv(289, 55%, 24%)
CMYKcmyk(9.7%, 54.8%, 0%, 75.7%)
CIE-LABlab(15.59, 20.36, -16.15)
CIE-LCHlch(15.59, 25.99, 321.57°)
OKLaboklab(28.07% 0.0539 -0.0446)
OKLCHoklch(28.07% 0.07 320.3)
XYZxyz(2.9155, 2.0192, 4.7927)
Luminance0.0202 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#381C3E #223E1C
analogous
#271C3E #381C3E #3E1C33
triadic
#381C3E #3E381C #1C3E38
tetradic
#381C3E #3E271C #223E1C #1C333E
square
#381C3E #3E271C #223E1C #1C333E
split-complementary
#381C3E #333E1C #1C3E27
monochromatic
#130A15 #130A15 #381C3E #5E2F68 #844292

Accessibility & contrast

On white

14.96
#381C3E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.40
#381C3E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #381C3E
14.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##381C3E#FFFFFF#000000##FFFFFF
##381C3E1.0014.961.4014.96
#FFFFFF14.961.0021.001.00
#0000001.4021.001.0021.00
##FFFFFF14.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#17253F
Deuteranopia (green-blind)
#1F283D
Tritanopia (blue-blind)
#38202A
Achromatopsia (no color)
#272727

Design tokens & code

CSS
--color: #381c3e;
/* rgb */ color: rgb(56, 28, 62);
/* oklch */ color: oklch(28.1% 0.070 320.3);
Tailwind
colors: {
  custom: {
    50: '#6f5973',
    500: '#381c3e',
    950: '#000000',
  },
}
SCSS
$custom: #381c3e;
$custom-light: #6f5973;
$custom-dark: #000000;
JSON
{
  "hex": "#381c3e",
  "rgb": {
    "r": 56,
    "g": 28,
    "b": 62
  },
  "hsl": {
    "h": 289.412,
    "s": 37.778,
    "l": 17.647
  },
  "oklch": {
    "l": 0.28072,
    "c": 0.06995,
    "h": 320.3
  },
  "luminance": 0.02019
}

Semantic roles & 50–950 ramp

primary
#381C3E
secondary
#4B7343
accent
#CE5A6E
background
#F6F5F7
surface
#ECE9ED
border
#C7C5C8
text
#070308
muted
#7A787B

Preview Lab

Preview with #381C3E

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

Preview Lab → · Contrast checker → · Palette generator →

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