#382A3C#382A3C

#382A3C is a dark, muted purple. Relative luminance 0.028; OKLCH L 30.9% C 0.037 H 318.6°. Best body text is #FFFFFF at 13.42:1 contrast (WCAG AA passes).

Color values

HEX#382A3C
RGBrgb(56, 42, 60)
HSLhsl(287, 18%, 20%)
HSVhsv(287, 30%, 24%)
CMYKcmyk(6.7%, 30%, 0%, 76.5%)
CIE-LABlab(19.32, 10.45, -8.99)
CIE-LCHlch(19.32, 13.78, 319.28°)
OKLaboklab(30.86% 0.0277 -0.0244)
OKLCHoklch(30.86% 0.037 318.6)
XYZxyz(3.2743, 2.8230, 4.6465)
Luminance0.0282 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#382A3C #2E3C2A
analogous
#2F2A3C #382A3C #3C2A37
triadic
#382A3C #3C382A #2A3C38
tetradic
#382A3C #3C2F2A #2E3C2A #2A373C
square
#382A3C #3C2F2A #2E3C2A #2A373C
split-complementary
#382A3C #373C2A #2A3C2F
monochromatic
#110D12 #161118 #382A3C #5A4360 #7B5C84

Accessibility & contrast

On white

13.42
#382A3C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.56
#382A3C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #382A3C
13.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##382A3C#FFFFFF#000000##FFFFFF
##382A3C1.0013.421.5613.42
#FFFFFF13.421.0021.001.00
#0000001.5621.001.0021.00
##FFFFFF13.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#282E3D
Deuteranopia (green-blind)
#2B2F3B
Tritanopia (blue-blind)
#382C30
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #382a3c;
/* rgb */ color: rgb(56, 42, 60);
/* oklch */ color: oklch(30.9% 0.037 318.6);
Tailwind
colors: {
  custom: {
    50: '#6e6371',
    500: '#382a3c',
    950: '#000000',
  },
}
SCSS
$custom: #382a3c;
$custom-light: #6e6371;
$custom-dark: #000000;
JSON
{
  "hex": "#382a3c",
  "rgb": {
    "r": 56,
    "g": 42,
    "b": 60
  },
  "hsl": {
    "h": 286.667,
    "s": 17.647,
    "l": 20
  },
  "oklch": {
    "l": 0.30857,
    "c": 0.03691,
    "h": 318.6
  },
  "luminance": 0.02823
}

Semantic roles & 50–950 ramp

primary
#382A3C
secondary
#5A6D55
accent
#BA6D7F
background
#F6F5F6
surface
#ECEAEC
border
#C7C6C7
text
#070507
muted
#7A797A

Preview Lab

Preview with #382A3C

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

Preview Lab → · Contrast checker → · Palette generator →

#382A3C Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva