#382E4A#382E4A

#382E4A is a dark, muted violet. Relative luminance 0.033; OKLCH L 32.5% C 0.050 H 300.0°. Best body text is #FFFFFF at 12.67:1 contrast (WCAG AA passes).

Color values

HEX#382E4A
RGBrgb(56, 46, 74)
HSLhsl(261, 23%, 24%)
HSVhsv(261, 38%, 29%)
CMYKcmyk(24.3%, 37.8%, 0%, 71%)
CIE-LABlab(21.17, 11.42, -15.69)
CIE-LCHlch(21.17, 19.41, 306.04°)
OKLaboklab(32.49% 0.0251 -0.0434)
OKLCHoklch(32.49% 0.05 300)
XYZxyz(3.8436, 3.2891, 6.9096)
Luminance0.0329 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#382E4A #404A2E
analogous
#2E324A #382E4A #462E4A
triadic
#382E4A #4A382E #2E4A38
tetradic
#382E4A #4A2E32 #404A2E #2E4A46
square
#382E4A #4A2E32 #404A2E #2E4A46
split-complementary
#382E4A #4A462E #324A2E
monochromatic
#0E0C13 #1B1724 #382E4A #554570 #715D95

Accessibility & contrast

On white

12.67
#382E4A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.66
#382E4A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #382E4A
12.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##382E4A#FFFFFF#000000##FFFFFF
##382E4A1.0012.671.6612.67
#FFFFFF12.671.0021.001.00
#0000001.6621.001.0021.00
##FFFFFF12.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#28334B
Deuteranopia (green-blind)
#293349
Tritanopia (blue-blind)
#353238
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #382e4a;
/* rgb */ color: rgb(56, 46, 74);
/* oklch */ color: oklch(32.5% 0.050 300.0);
Tailwind
colors: {
  custom: {
    50: '#6f667c',
    500: '#382e4a',
    950: '#000000',
  },
}
SCSS
$custom: #382e4a;
$custom-light: #6f667c;
$custom-dark: #000000;
JSON
{
  "hex": "#382e4a",
  "rgb": {
    "r": 56,
    "g": 46,
    "b": 74
  },
  "hsl": {
    "h": 261.429,
    "s": 23.333,
    "l": 23.529
  },
  "oklch": {
    "l": 0.32489,
    "c": 0.05018,
    "h": 300
  },
  "luminance": 0.03289
}

Semantic roles & 50–950 ramp

primary
#382E4A
secondary
#6F7B59
accent
#C068A0
background
#F6F6F7
surface
#ECEBEE
border
#C7C6C9
text
#070609
muted
#7A7A7B

Preview Lab

Preview with #382E4A

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

Preview Lab → · Contrast checker → · Palette generator →

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