#381C38#381C38

#381C38 is a dark, moderate purple. Relative luminance 0.020; OKLCH L 27.7% C 0.063 H 327.1°. Best body text is #FFFFFF at 15.09:1 contrast (WCAG AA passes).

Color values

HEX#381C38
RGBrgb(56, 28, 56)
HSLhsl(300, 33%, 16%)
HSVhsv(300, 50%, 22%)
CMYKcmyk(0%, 50%, 0%, 78%)
CIE-LABlab(15.26, 18.94, -12.44)
CIE-LCHlch(15.26, 22.66, 326.71°)
OKLaboklab(27.72% 0.0526 -0.034)
OKLCHoklch(27.72% 0.063 327.1)
XYZxyz(2.7599, 1.9569, 3.9730)
Luminance0.0196 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#381C38 #1C381C
analogous
#2A1C38 #381C38 #381C2A
triadic
#381C38 #38381C #1C3838
tetradic
#381C38 #382A1C #1C381C #1C2A38
square
#381C38 #382A1C #1C381C #1C2A38
split-complementary
#381C38 #2A381C #1C382A
monochromatic
#140A14 #140A14 #381C38 #613061 #8A458A

Accessibility & contrast

On white

15.09
#381C38 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.39
#381C38 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #381C38
15.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##381C38#FFFFFF#000000##FFFFFF
##381C381.0015.091.3915.09
#FFFFFF15.091.0021.001.00
#0000001.3921.001.0021.00
##FFFFFF15.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1A2439
Deuteranopia (green-blind)
#212837
Tritanopia (blue-blind)
#3A1F27
Achromatopsia (no color)
#262626

Design tokens & code

CSS
--color: #381c38;
/* rgb */ color: rgb(56, 28, 56);
/* oklch */ color: oklch(27.7% 0.063 327.1);
Tailwind
colors: {
  custom: {
    50: '#6f596e',
    500: '#381c38',
    950: '#000000',
  },
}
SCSS
$custom: #381c38;
$custom-light: #6f596e;
$custom-dark: #000000;
JSON
{
  "hex": "#381c38",
  "rgb": {
    "r": 56,
    "g": 28,
    "b": 56
  },
  "hsl": {
    "h": 300,
    "s": 33.333,
    "l": 16.471
  },
  "oklch": {
    "l": 0.2772,
    "c": 0.06259,
    "h": 327.1
  },
  "luminance": 0.01957
}

Semantic roles & 50–950 ramp

primary
#381C38
secondary
#436C43
accent
#C95E5E
background
#F6F5F6
surface
#ECE9EC
border
#C7C5C7
text
#070307
muted
#7A787A

Preview Lab

Preview with #381C38

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

Preview Lab → · Contrast checker → · Palette generator →

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