#382A42#382A42

#382A42 is a dark, muted violet. Relative luminance 0.029; OKLCH L 31.2% C 0.046 H 310.5°. Best body text is #FFFFFF at 13.31:1 contrast (WCAG AA passes).

Color values

HEX#382A42
RGBrgb(56, 42, 66)
HSLhsl(275, 22%, 21%)
HSVhsv(275, 36%, 26%)
CMYKcmyk(15.2%, 36.4%, 0%, 74.1%)
CIE-LABlab(19.60, 11.98, -12.69)
CIE-LCHlch(19.60, 17.45, 313.36°)
OKLaboklab(31.16% 0.0298 -0.0348)
OKLCHoklch(31.16% 0.046 310.5)
XYZxyz(3.4420, 2.8901, 5.5297)
Luminance0.0289 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#382A42 #34422A
analogous
#2C2A42 #382A42 #422A40
triadic
#382A42 #42382A #2A4238
tetradic
#382A42 #422C2A #34422A #2A4042
square
#382A42 #422C2A #34422A #2A4042
split-complementary
#382A42 #40422A #2A422C
monochromatic
#100C13 #18121D #382A42 #584267 #775A8D

Accessibility & contrast

On white

13.31
#382A42 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.58
#382A42 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #382A42
13.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##382A42#FFFFFF#000000##FFFFFF
##382A421.0013.311.5813.31
#FFFFFF13.311.0021.001.00
#0000001.5821.001.0021.00
##FFFFFF13.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#262F43
Deuteranopia (green-blind)
#293041
Tritanopia (blue-blind)
#372D33
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #382a42;
/* rgb */ color: rgb(56, 42, 66);
/* oklch */ color: oklch(31.2% 0.046 310.5);
Tailwind
colors: {
  custom: {
    50: '#6f6376',
    500: '#382a42',
    950: '#000000',
  },
}
SCSS
$custom: #382a42;
$custom-light: #6f6376;
$custom-dark: #000000;
JSON
{
  "hex": "#382a42",
  "rgb": {
    "r": 56,
    "g": 42,
    "b": 66
  },
  "hsl": {
    "h": 275,
    "s": 22.222,
    "l": 21.176
  },
  "oklch": {
    "l": 0.31161,
    "c": 0.04582,
    "h": 310.5
  },
  "luminance": 0.0289
}

Semantic roles & 50–950 ramp

primary
#382A42
secondary
#617354
accent
#BF698D
background
#F6F5F7
surface
#ECEAED
border
#C7C6C8
text
#070508
muted
#7A797B

Preview Lab

Preview with #382A42

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

Preview Lab → · Contrast checker → · Palette generator →

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