#382D4E#382D4E

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

Color values

HEX#382D4E
RGBrgb(56, 45, 78)
HSLhsl(260, 27%, 24%)
HSVhsv(260, 42%, 31%)
CMYKcmyk(28.2%, 42.3%, 0%, 69.4%)
CIE-LABlab(21.09, 13.25, -18.51)
CIE-LCHlch(21.09, 22.77, 305.60°)
OKLaboklab(32.5% 0.0279 -0.0515)
OKLCHoklch(32.5% 0.059 298.4)
XYZxyz(3.9441, 3.2676, 7.6292)
Luminance0.0327 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#382D4E #434E2D
analogous
#2D334E #382D4E #492D4E
triadic
#382D4E #4E382D #2D4E38
tetradic
#382D4E #4E2D33 #434E2D #2D4E49
square
#382D4E #4E2D33 #434E2D #2D4E49
split-complementary
#382D4E #4E492D #334E2D
monochromatic
#0E0B13 #1C1727 #382D4E #544375 #705A9C

Accessibility & contrast

On white

12.70
#382D4E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.65
#382D4E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #382D4E
12.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##382D4E#FFFFFF#000000##FFFFFF
##382D4E1.0012.701.6512.70
#FFFFFF12.701.0021.001.00
#0000001.6521.001.0021.00
##FFFFFF12.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#24334F
Deuteranopia (green-blind)
#26324D
Tritanopia (blue-blind)
#343339
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #382d4e;
/* rgb */ color: rgb(56, 45, 78);
/* oklch */ color: oklch(32.5% 0.059 298.4);
Tailwind
colors: {
  custom: {
    50: '#6f667f',
    500: '#382d4e',
    950: '#000000',
  },
}
SCSS
$custom: #382d4e;
$custom-light: #6f667f;
$custom-dark: #000000;
JSON
{
  "hex": "#382d4e",
  "rgb": {
    "r": 56,
    "g": 45,
    "b": 78
  },
  "hsl": {
    "h": 260,
    "s": 26.829,
    "l": 24.118
  },
  "oklch": {
    "l": 0.32496,
    "c": 0.05862,
    "h": 298.4
  },
  "luminance": 0.03268
}

Semantic roles & 50–950 ramp

primary
#382D4E
secondary
#728057
accent
#C365A4
background
#F6F6F7
surface
#ECEBEE
border
#C7C6C9
text
#07050A
muted
#7A7A7C

Preview Lab

Preview with #382D4E

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

Preview Lab → · Contrast checker → · Palette generator →

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