#382496#382496

#382496 is a dark, vivid violet. Relative luminance 0.043; OKLCH L 36.9% C 0.174 H 281.7°. Best body text is #FFFFFF at 11.28:1 contrast (WCAG AA passes).

Color values

HEX#382496
RGBrgb(56, 36, 150)
HSLhsl(251, 61%, 36%)
HSVhsv(251, 76%, 59%)
CMYKcmyk(62.7%, 76%, 0%, 41.2%)
CIE-LABlab(24.65, 41.73, -58.99)
CIE-LCHlch(24.65, 72.26, 305.28°)
OKLaboklab(36.88% 0.0353 -0.1701)
OKLCHoklch(36.88% 0.174 281.7)
XYZxyz(7.7651, 4.3040, 29.2698)
Luminance0.0430 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#382496 #829624
analogous
#244996 #382496 #712496
triadic
#382496 #963824 #249638
tetradic
#382496 #962449 #829624 #249671
square
#382496 #962449 #829624 #249671
split-complementary
#382496 #967124 #499624
monochromatic
#130C33 #261865 #382496 #4A30C7 #725CD8

Accessibility & contrast

On white

11.28
#382496 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.86
#382496 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #382496
11.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##382496#FFFFFF#000000##FFFFFF
##3824961.0011.281.8611.28
#FFFFFF11.281.0021.001.00
#0000001.8621.001.0021.00
##FFFFFF11.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003E99
Deuteranopia (green-blind)
#003694
Tritanopia (blue-blind)
#00445B
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #382496;
/* rgb */ color: rgb(56, 36, 150);
/* oklch */ color: oklch(36.9% 0.174 281.7);
Tailwind
colors: {
  custom: {
    50: '#7b61b6',
    500: '#382496',
    950: '#000000',
  },
}
SCSS
$custom: #382496;
$custom-light: #7b61b6;
$custom-dark: #000000;
JSON
{
  "hex": "#382496",
  "rgb": {
    "r": 56,
    "g": 36,
    "b": 150
  },
  "hsl": {
    "h": 250.526,
    "s": 61.29,
    "l": 36.471
  },
  "oklch": {
    "l": 0.36883,
    "c": 0.17375,
    "h": 281.7
  },
  "luminance": 0.04305
}

Semantic roles & 50–950 ramp

primary
#382496
secondary
#ABBD59
accent
#E443C8
background
#F8F5FB
surface
#EFEAF6
border
#CAC6D0
text
#0A0511
muted
#7C7980

Preview Lab

Preview with #382496

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

Preview Lab → · Contrast checker → · Palette generator →

#382496 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva