#382E4E#382E4E

#382E4E is a dark, muted violet. Relative luminance 0.033; OKLCH L 32.7% C 0.057 H 297.6°. Best body text is #FFFFFF at 12.58:1 contrast (WCAG AA passes).

Color values

HEX#382E4E
RGBrgb(56, 46, 78)
HSLhsl(259, 26%, 24%)
HSVhsv(259, 41%, 31%)
CMYKcmyk(28.2%, 41%, 0%, 69.4%)
CIE-LABlab(21.38, 12.57, -18.06)
CIE-LCHlch(21.38, 22.00, 304.83°)
OKLaboklab(32.72% 0.0262 -0.0502)
OKLCHoklch(32.72% 0.057 297.6)
XYZxyz(3.9827, 3.3448, 7.6420)
Luminance0.0335 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#382E4E #444E2E
analogous
#2E344E #382E4E #482E4E
triadic
#382E4E #4E382E #2E4E38
tetradic
#382E4E #4E2E34 #444E2E #2E4E48
square
#382E4E #4E2E34 #444E2E #2E4E48
split-complementary
#382E4E #4E482E #344E2E
monochromatic
#0E0B13 #1C1728 #382E4E #544574 #6F5B9B

Accessibility & contrast

On white

12.58
#382E4E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.67
#382E4E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #382E4E
12.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##382E4E#FFFFFF#000000##FFFFFF
##382E4E1.0012.581.6712.58
#FFFFFF12.581.0021.001.00
#0000001.6721.001.0021.00
##FFFFFF12.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#26334F
Deuteranopia (green-blind)
#27334D
Tritanopia (blue-blind)
#34333A
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #382e4e;
/* rgb */ color: rgb(56, 46, 78);
/* oklch */ color: oklch(32.7% 0.057 297.6);
Tailwind
colors: {
  custom: {
    50: '#6f667f',
    500: '#382e4e',
    950: '#000000',
  },
}
SCSS
$custom: #382e4e;
$custom-light: #6f667f;
$custom-dark: #000000;
JSON
{
  "hex": "#382e4e",
  "rgb": {
    "r": 56,
    "g": 46,
    "b": 78
  },
  "hsl": {
    "h": 258.75,
    "s": 25.806,
    "l": 24.314
  },
  "oklch": {
    "l": 0.32716,
    "c": 0.05668,
    "h": 297.6
  },
  "luminance": 0.03345
}

Semantic roles & 50–950 ramp

primary
#382E4E
secondary
#737F58
accent
#C266A5
background
#F6F6F7
surface
#ECEBEE
border
#C7C6C9
text
#07060A
muted
#7A7A7C

Preview Lab

Preview with #382E4E

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

Preview Lab → · Contrast checker → · Palette generator →

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