#392591#392591

#392591 is a dark, vivid violet. Relative luminance 0.042; OKLCH L 36.6% C 0.166 H 282.9°. Best body text is #FFFFFF at 11.37:1 contrast (WCAG AA passes).

Color values

HEX#392591
RGBrgb(57, 37, 145)
HSLhsl(251, 59%, 36%)
HSVhsv(251, 74%, 57%)
CMYKcmyk(60.7%, 74.5%, 0%, 43.1%)
CIE-LABlab(24.44, 39.75, -56.25)
CIE-LCHlch(24.44, 68.88, 305.25°)
OKLaboklab(36.6% 0.0372 -0.1621)
OKLCHoklch(36.6% 0.166 282.9)
XYZxyz(7.4582, 4.2368, 27.2074)
Luminance0.0424 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#392591 #7D9125
analogous
#254791 #392591 #6F2591
triadic
#392591 #913925 #259139
tetradic
#392591 #912547 #7D9125 #25916F
square
#392591 #912547 #7D9125 #25916F
split-complementary
#392591 #916F25 #479125
monochromatic
#130C2F #261960 #392591 #4C31C2 #725BD5

Accessibility & contrast

On white

11.37
#392591 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.85
#392591 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #392591
11.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##392591#FFFFFF#000000##FFFFFF
##3925911.0011.371.8511.37
#FFFFFF11.371.0021.001.00
#0000001.8521.001.0021.00
##FFFFFF11.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003D94
Deuteranopia (green-blind)
#00368F
Tritanopia (blue-blind)
#004359
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #392591;
/* rgb */ color: rgb(57, 37, 145);
/* oklch */ color: oklch(36.6% 0.166 282.9);
Tailwind
colors: {
  custom: {
    50: '#7a62b2',
    500: '#392591',
    950: '#000000',
  },
}
SCSS
$custom: #392591;
$custom-light: #7a62b2;
$custom-dark: #000000;
JSON
{
  "hex": "#392591",
  "rgb": {
    "r": 57,
    "g": 37,
    "b": 145
  },
  "hsl": {
    "h": 251.111,
    "s": 59.341,
    "l": 35.686
  },
  "oklch": {
    "l": 0.36604,
    "c": 0.16631,
    "h": 282.9
  },
  "luminance": 0.04237
}

Semantic roles & 50–950 ramp

primary
#392591
secondary
#A8BA58
accent
#E345C5
background
#F7F5FB
surface
#EEEAF6
border
#C9C6D0
text
#0A0511
muted
#7C7980

Preview Lab

Preview with #392591

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

Preview Lab → · Contrast checker → · Palette generator →

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