#392491#392491

#392491 is a dark, vivid violet. Relative luminance 0.042; OKLCH L 36.5% C 0.167 H 283.1°. Best body text is #FFFFFF at 11.44:1 contrast (WCAG AA passes).

Color values

HEX#392491
RGBrgb(57, 36, 145)
HSLhsl(252, 60%, 35%)
HSVhsv(252, 75%, 57%)
CMYKcmyk(60.7%, 75.2%, 0%, 43.1%)
CIE-LABlab(24.24, 40.30, -56.57)
CIE-LCHlch(24.24, 69.46, 305.47°)
OKLaboklab(36.47% 0.038 -0.163)
OKLCHoklch(36.47% 0.167 283.1)
XYZxyz(7.4275, 4.1754, 27.1971)
Luminance0.0418 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#392491 #7C9124
analogous
#244591 #392491 #702491
triadic
#392491 #913924 #249139
tetradic
#392491 #912445 #7C9124 #249170
square
#392491 #912445 #7C9124 #249170
split-complementary
#392491 #917024 #459124
monochromatic
#120C2F #261860 #392491 #4C30C2 #7159D6

Accessibility & contrast

On white

11.44
#392491 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.84
#392491 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #392491
11.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##392491#FFFFFF#000000##FFFFFF
##3924911.0011.441.8411.44
#FFFFFF11.441.0021.001.00
#0000001.8421.001.0021.00
##FFFFFF11.441.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #392491;
/* rgb */ color: rgb(57, 36, 145);
/* oklch */ color: oklch(36.5% 0.167 283.1);
Tailwind
colors: {
  custom: {
    50: '#7a61b2',
    500: '#392491',
    950: '#000000',
  },
}
SCSS
$custom: #392491;
$custom-light: #7a61b2;
$custom-dark: #000000;
JSON
{
  "hex": "#392491",
  "rgb": {
    "r": 57,
    "g": 36,
    "b": 145
  },
  "hsl": {
    "h": 251.56,
    "s": 60.221,
    "l": 35.49
  },
  "oklch": {
    "l": 0.36466,
    "c": 0.1674,
    "h": 283.1
  },
  "luminance": 0.04176
}

Semantic roles & 50–950 ramp

primary
#392491
secondary
#A7BA56
accent
#E344C5
background
#F7F5FB
surface
#EEEAF6
border
#C9C6D0
text
#0A0511
muted
#7C7980

Preview Lab

Preview with #392491

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

Preview Lab → · Contrast checker → · Palette generator →

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