#382F4E#382F4E

#382F4E is a dark, muted violet. Relative luminance 0.034; OKLCH L 32.9% C 0.055 H 296.6°. Best body text is #FFFFFF at 12.46:1 contrast (WCAG AA passes).

Color values

HEX#382F4E
RGBrgb(56, 47, 78)
HSLhsl(257, 25%, 25%)
HSVhsv(257, 40%, 31%)
CMYKcmyk(28.2%, 39.7%, 0%, 69.4%)
CIE-LABlab(21.67, 11.88, -17.60)
CIE-LCHlch(21.67, 21.24, 304.02°)
OKLaboklab(32.94% 0.0245 -0.0489)
OKLCHoklch(32.94% 0.055 296.6)
XYZxyz(4.0222, 3.4238, 7.6552)
Luminance0.0342 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#382F4E #454E2F
analogous
#2F364E #382F4E #482F4E
triadic
#382F4E #4E382F #2F4E38
tetradic
#382F4E #4E2F36 #454E2F #2F4E48
square
#382F4E #4E2F36 #454E2F #2F4E48
split-complementary
#382F4E #4E482F #364E2F
monochromatic
#0E0C13 #1D1828 #382F4E #534674 #6F5D9A

Accessibility & contrast

On white

12.46
#382F4E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.68
#382F4E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #382F4E
12.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##382F4E#FFFFFF#000000##FFFFFF
##382F4E1.0012.461.6812.46
#FFFFFF12.461.0021.001.00
#0000001.6821.001.0021.00
##FFFFFF12.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#27344F
Deuteranopia (green-blind)
#28344D
Tritanopia (blue-blind)
#34343A
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #382f4e;
/* rgb */ color: rgb(56, 47, 78);
/* oklch */ color: oklch(32.9% 0.055 296.6);
Tailwind
colors: {
  custom: {
    50: '#6f677f',
    500: '#382f4e',
    950: '#000000',
  },
}
SCSS
$custom: #382f4e;
$custom-light: #6f677f;
$custom-dark: #000000;
JSON
{
  "hex": "#382f4e",
  "rgb": {
    "r": 56,
    "g": 47,
    "b": 78
  },
  "hsl": {
    "h": 257.419,
    "s": 24.8,
    "l": 24.51
  },
  "oklch": {
    "l": 0.32939,
    "c": 0.05474,
    "h": 296.6
  },
  "luminance": 0.03424
}

Semantic roles & 50–950 ramp

primary
#382F4E
secondary
#747F5A
accent
#C167A7
background
#F6F6F7
surface
#ECEBEE
border
#C7C6C9
text
#07060A
muted
#7A7A7C

Preview Lab

Preview with #382F4E

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

Preview Lab → · Contrast checker → · Palette generator →

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