#392496#392496

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

Color values

HEX#392496
RGBrgb(57, 36, 150)
HSLhsl(251, 61%, 36%)
HSVhsv(251, 76%, 59%)
CMYKcmyk(62%, 76%, 0%, 41.2%)
CIE-LABlab(24.74, 41.86, -58.83)
CIE-LCHlch(24.74, 72.21, 305.43°)
OKLaboklab(36.97% 0.0368 -0.1696)
OKLCHoklch(36.97% 0.174 282.2)
XYZxyz(7.8215, 4.3331, 29.2725)
Luminance0.0433 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#392496 #819624
analogous
#244896 #392496 #722496
triadic
#392496 #963924 #249639
tetradic
#392496 #962448 #819624 #249672
square
#392496 #962448 #819624 #249672
split-complementary
#392496 #967224 #489624
monochromatic
#130C33 #261865 #392496 #4C30C7 #735CD8

Accessibility & contrast

On white

11.25
#392496 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.87
#392496 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #392496
11.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##392496#FFFFFF#000000##FFFFFF
##3924961.0011.251.8711.25
#FFFFFF11.251.0021.001.00
#0000001.8721.001.0021.00
##FFFFFF11.251.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #392496;
/* rgb */ color: rgb(57, 36, 150);
/* oklch */ color: oklch(37.0% 0.174 282.2);
Tailwind
colors: {
  custom: {
    50: '#7b62b6',
    500: '#392496',
    950: '#000000',
  },
}
SCSS
$custom: #392496;
$custom-light: #7b62b6;
$custom-dark: #000000;
JSON
{
  "hex": "#392496",
  "rgb": {
    "r": 57,
    "g": 36,
    "b": 150
  },
  "hsl": {
    "h": 251.053,
    "s": 61.29,
    "l": 36.471
  },
  "oklch": {
    "l": 0.3697,
    "c": 0.17358,
    "h": 282.2
  },
  "luminance": 0.04334
}

Semantic roles & 50–950 ramp

primary
#392496
secondary
#AABD59
accent
#E443C7
background
#F8F5FB
surface
#EFEAF6
border
#CAC6D0
text
#0B0511
muted
#7C7980

Preview Lab

Preview with #392496

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

Preview Lab → · Contrast checker → · Palette generator →

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