#392089#392089

#392089 is a dark, vivid violet. Relative luminance 0.037; OKLCH L 35.1% C 0.162 H 285.4°. Best body text is #FFFFFF at 12.06:1 contrast (WCAG AA passes).

Color values

HEX#392089
RGBrgb(57, 32, 137)
HSLhsl(254, 62%, 33%)
HSVhsv(254, 77%, 54%)
CMYKcmyk(58.4%, 76.6%, 0%, 46.3%)
CIE-LABlab(22.68, 39.99, -54.16)
CIE-LCHlch(22.68, 67.32, 306.44°)
OKLaboklab(35.13% 0.0431 -0.1559)
OKLCHoklch(35.13% 0.162 285.4)
XYZxyz(6.7178, 3.7086, 24.0239)
Luminance0.0371 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#392089 #708920
analogous
#203B89 #392089 #6D2089
triadic
#392089 #893920 #208939
tetradic
#392089 #89203B #708920 #20896D
square
#392089 #89203B #708920 #20896D
split-complementary
#392089 #896D20 #3B8920
monochromatic
#100926 #241457 #392089 #4E2CBB #6E4ED6

Accessibility & contrast

On white

12.06
#392089 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.74
#392089 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #392089
12.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##392089#FFFFFF#000000##FFFFFF
##3920891.0012.061.7412.06
#FFFFFF12.061.0021.001.00
#0000001.7421.001.0021.00
##FFFFFF12.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00398C
Deuteranopia (green-blind)
#003387
Tritanopia (blue-blind)
#113D53
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #392089;
/* rgb */ color: rgb(57, 32, 137);
/* oklch */ color: oklch(35.1% 0.162 285.4);
Tailwind
colors: {
  custom: {
    50: '#795fac',
    500: '#392089',
    950: '#000000',
  },
}
SCSS
$custom: #392089;
$custom-light: #795fac;
$custom-dark: #000000;
JSON
{
  "hex": "#392089",
  "rgb": {
    "r": 57,
    "g": 32,
    "b": 137
  },
  "hsl": {
    "h": 254.286,
    "s": 62.13,
    "l": 33.137
  },
  "oklch": {
    "l": 0.35125,
    "c": 0.16178,
    "h": 285.4
  },
  "luminance": 0.03709
}

Semantic roles & 50–950 ramp

primary
#392089
secondary
#9FB94C
accent
#E543BE
background
#F7F5FA
surface
#EEE9F4
border
#C9C5CE
text
#0A0510
muted
#7C797F

Preview Lab

Preview with #392089

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

Preview Lab → · Contrast checker → · Palette generator →

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