#392189#392189

#392189 is a dark, vivid violet. Relative luminance 0.038; OKLCH L 35.3% C 0.161 H 285.3°. Best body text is #FFFFFF at 11.98:1 contrast (WCAG AA passes).

Color values

HEX#392189
RGBrgb(57, 33, 137)
HSLhsl(254, 61%, 33%)
HSVhsv(254, 76%, 54%)
CMYKcmyk(58.4%, 75.9%, 0%, 46.3%)
CIE-LABlab(22.87, 39.45, -53.85)
CIE-LCHlch(22.87, 66.75, 306.23°)
OKLaboklab(35.26% 0.0423 -0.155)
OKLCHoklch(35.26% 0.161 285.3)
XYZxyz(6.7452, 3.7633, 24.0330)
Luminance0.0376 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#392189 #718921
analogous
#213D89 #392189 #6D2189
triadic
#392189 #893921 #218939
tetradic
#392189 #89213D #718921 #21896D
square
#392189 #89213D #718921 #21896D
split-complementary
#392189 #896D21 #3D8921
monochromatic
#100926 #241558 #392189 #4E2DBA #6E50D5

Accessibility & contrast

On white

11.98
#392189 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.75
#392189 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #392189
11.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##392189#FFFFFF#000000##FFFFFF
##3921891.0011.981.7511.98
#FFFFFF11.981.0021.001.00
#0000001.7521.001.0021.00
##FFFFFF11.981.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #392189;
/* rgb */ color: rgb(57, 33, 137);
/* oklch */ color: oklch(35.3% 0.161 285.3);
Tailwind
colors: {
  custom: {
    50: '#795fac',
    500: '#392189',
    950: '#000000',
  },
}
SCSS
$custom: #392189;
$custom-light: #795fac;
$custom-dark: #000000;
JSON
{
  "hex": "#392189",
  "rgb": {
    "r": 57,
    "g": 33,
    "b": 137
  },
  "hsl": {
    "h": 253.846,
    "s": 61.176,
    "l": 33.333
  },
  "oklch": {
    "l": 0.35258,
    "c": 0.1607,
    "h": 285.3
  },
  "luminance": 0.03764
}

Semantic roles & 50–950 ramp

primary
#392189
secondary
#A0B84E
accent
#E444BF
background
#F7F5FA
surface
#EEE9F4
border
#C9C5CE
text
#0A0510
muted
#7C797F

Preview Lab

Preview with #392189

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

Preview Lab → · Contrast checker → · Palette generator →

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