#392986#392986

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

Color values

HEX#392986
RGBrgb(57, 41, 134)
HSLhsl(250, 53%, 34%)
HSVhsv(250, 69%, 53%)
CMYKcmyk(57.5%, 69.4%, 0%, 47.5%)
CIE-LABlab(24.25, 33.91, -49.72)
CIE-LCHlch(24.25, 60.18, 304.29°)
OKLaboklab(36.15% 0.0359 -0.143)
OKLCHoklch(36.15% 0.147 284.1)
XYZxyz(6.7820, 4.1766, 22.9984)
Luminance0.0418 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#392986 #768629
analogous
#294786 #392986 #682986
triadic
#392986 #863929 #298639
tetradic
#392986 #862947 #768629 #298668
square
#392986 #862947 #768629 #298668
split-complementary
#392986 #866829 #478629
monochromatic
#110C28 #251B57 #392986 #4D37B5 #705CCD

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##392986#FFFFFF#000000##FFFFFF
##3929861.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)
#003C89
Deuteranopia (green-blind)
#003784
Tritanopia (blue-blind)
#144154
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #392986;
/* rgb */ color: rgb(57, 41, 134);
/* oklch */ color: oklch(36.1% 0.147 284.1);
Tailwind
colors: {
  custom: {
    50: '#7864aa',
    500: '#392986',
    950: '#000000',
  },
}
SCSS
$custom: #392986;
$custom-light: #7864aa;
$custom-dark: #000000;
JSON
{
  "hex": "#392986",
  "rgb": {
    "r": 57,
    "g": 41,
    "b": 134
  },
  "hsl": {
    "h": 250.323,
    "s": 53.143,
    "l": 34.314
  },
  "oklch": {
    "l": 0.3615,
    "c": 0.14741,
    "h": 284.1
  },
  "luminance": 0.04177
}

Semantic roles & 50–950 ramp

primary
#392986
secondary
#A3B358
accent
#DD4BC4
background
#F7F6FA
surface
#EEEBF4
border
#C9C6CE
text
#0A0510
muted
#7C7A7F

Preview Lab

Preview with #392986

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

Preview Lab → · Contrast checker → · Palette generator →

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