#392689#392689

#392689 is a dark, vivid violet. Relative luminance 0.041; OKLCH L 36.0% C 0.155 H 284.2°. Best body text is #FFFFFF at 11.59:1 contrast (WCAG AA passes).

Color values

HEX#392689
RGBrgb(57, 38, 137)
HSLhsl(252, 57%, 34%)
HSVhsv(252, 72%, 54%)
CMYKcmyk(58.4%, 72.3%, 0%, 46.3%)
CIE-LABlab(23.87, 36.65, -52.20)
CIE-LCHlch(23.87, 63.78, 305.07°)
OKLaboklab(35.97% 0.0381 -0.1502)
OKLCHoklch(35.97% 0.155 284.2)
XYZxyz(6.8944, 4.0618, 24.0828)
Luminance0.0406 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#392689 #768926
analogous
#264589 #392689 #6B2689
triadic
#392689 #893926 #268939
tetradic
#392689 #892645 #768926 #26896B
square
#392689 #892645 #768926 #26896B
split-complementary
#392689 #896B26 #458926
monochromatic
#110B29 #251959 #392689 #4D33B9 #7059D1

Accessibility & contrast

On white

11.59
#392689 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.81
#392689 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #392689
11.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##392689#FFFFFF#000000##FFFFFF
##3926891.0011.591.8111.59
#FFFFFF11.591.0021.001.00
#0000001.8121.001.0021.00
##FFFFFF11.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003C8C
Deuteranopia (green-blind)
#003687
Tritanopia (blue-blind)
#104054
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #392689;
/* rgb */ color: rgb(57, 38, 137);
/* oklch */ color: oklch(36.0% 0.155 284.2);
Tailwind
colors: {
  custom: {
    50: '#7962ac',
    500: '#392689',
    950: '#000000',
  },
}
SCSS
$custom: #392689;
$custom-light: #7962ac;
$custom-dark: #000000;
JSON
{
  "hex": "#392689",
  "rgb": {
    "r": 57,
    "g": 38,
    "b": 137
  },
  "hsl": {
    "h": 251.515,
    "s": 56.571,
    "l": 34.314
  },
  "oklch": {
    "l": 0.35969,
    "c": 0.15501,
    "h": 284.2
  },
  "luminance": 0.04062
}

Semantic roles & 50–950 ramp

primary
#392689
secondary
#A3B655
accent
#E048C3
background
#F7F5FA
surface
#EEEAF4
border
#C9C6CE
text
#0A0510
muted
#7C797F

Preview Lab

Preview with #392689

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

Preview Lab → · Contrast checker → · Palette generator →

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