#382B4E#382B4E

#382B4E is a dark, moderate violet. Relative luminance 0.031; OKLCH L 32.1% C 0.063 H 300.0°. Best body text is #FFFFFF at 12.93:1 contrast (WCAG AA passes).

Color values

HEX#382B4E
RGBrgb(56, 43, 78)
HSLhsl(262, 29%, 24%)
HSVhsv(262, 45%, 31%)
CMYKcmyk(28.2%, 44.9%, 0%, 69.4%)
CIE-LABlab(20.51, 14.63, -19.41)
CIE-LCHlch(20.51, 24.30, 307.00°)
OKLaboklab(32.06% 0.0313 -0.0541)
OKLCHoklch(32.06% 0.063 300)
XYZxyz(3.8696, 3.1185, 7.6043)
Luminance0.0312 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#382B4E #414E2B
analogous
#2B2F4E #382B4E #492B4E
triadic
#382B4E #4E382B #2B4E38
tetradic
#382B4E #4E2B2F #414E2B #2B4E49
square
#382B4E #4E2B2F #414E2B #2B4E49
split-complementary
#382B4E #4E492B #2F4E2B
monochromatic
#0E0B14 #1C1527 #382B4E #544175 #71569D

Accessibility & contrast

On white

12.93
#382B4E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.62
#382B4E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #382B4E
12.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##382B4E#FFFFFF#000000##FFFFFF
##382B4E1.0012.931.6212.93
#FFFFFF12.931.0021.001.00
#0000001.6221.001.0021.00
##FFFFFF12.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#22314F
Deuteranopia (green-blind)
#24314D
Tritanopia (blue-blind)
#343138
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #382b4e;
/* rgb */ color: rgb(56, 43, 78);
/* oklch */ color: oklch(32.1% 0.063 300.0);
Tailwind
colors: {
  custom: {
    50: '#6f647f',
    500: '#382b4e',
    950: '#000000',
  },
}
SCSS
$custom: #382b4e;
$custom-light: #6f647f;
$custom-dark: #000000;
JSON
{
  "hex": "#382b4e",
  "rgb": {
    "r": 56,
    "g": 43,
    "b": 78
  },
  "hsl": {
    "h": 262.286,
    "s": 28.926,
    "l": 23.725
  },
  "oklch": {
    "l": 0.32062,
    "c": 0.06252,
    "h": 300
  },
  "luminance": 0.03119
}

Semantic roles & 50–950 ramp

primary
#382B4E
secondary
#708055
accent
#C563A1
background
#F6F6F7
surface
#ECEBEE
border
#C7C6C9
text
#07050A
muted
#7A7A7C

Preview Lab

Preview with #382B4E

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

Preview Lab → · Contrast checker → · Palette generator →

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