#392989#392989

#392989 is a dark, vivid violet. Relative luminance 0.043; OKLCH L 36.4% C 0.151 H 283.5°. Best body text is #FFFFFF at 11.34:1 contrast (WCAG AA passes).

Color values

HEX#392989
RGBrgb(57, 41, 137)
HSLhsl(250, 54%, 35%)
HSVhsv(250, 70%, 54%)
CMYKcmyk(58.4%, 70.1%, 0%, 46.3%)
CIE-LABlab(24.52, 34.88, -51.15)
CIE-LCHlch(24.52, 61.91, 304.29°)
OKLaboklab(36.43% 0.0354 -0.1472)
OKLCHoklch(36.43% 0.151 283.5)
XYZxyz(6.9943, 4.2614, 24.1160)
Luminance0.0426 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#392989 #798929
analogous
#294989 #392989 #692989
triadic
#392989 #893929 #298939
tetradic
#392989 #892949 #798929 #298969
square
#392989 #892949 #798929 #298969
split-complementary
#392989 #896929 #498929
monochromatic
#120D2B #251B5A #392989 #4D37B8 #715ECF

Accessibility & contrast

On white

11.34
#392989 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.85
#392989 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #392989
11.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##392989#FFFFFF#000000##FFFFFF
##3929891.0011.341.8511.34
#FFFFFF11.341.0021.001.00
#0000001.8521.001.0021.00
##FFFFFF11.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003D8C
Deuteranopia (green-blind)
#003787
Tritanopia (blue-blind)
#0F4255
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #392989;
/* rgb */ color: rgb(57, 41, 137);
/* oklch */ color: oklch(36.4% 0.151 283.5);
Tailwind
colors: {
  custom: {
    50: '#7964ac',
    500: '#392989',
    950: '#000000',
  },
}
SCSS
$custom: #392989;
$custom-light: #7964ac;
$custom-dark: #000000;
JSON
{
  "hex": "#392989",
  "rgb": {
    "r": 57,
    "g": 41,
    "b": 137
  },
  "hsl": {
    "h": 250,
    "s": 53.933,
    "l": 34.902
  },
  "oklch": {
    "l": 0.36429,
    "c": 0.15138,
    "h": 283.5
  },
  "luminance": 0.04262
}

Semantic roles & 50–950 ramp

primary
#392989
secondary
#A5B45A
accent
#DD4AC5
background
#F7F6FA
surface
#EEEBF4
border
#C9C6CE
text
#0A0510
muted
#7C7A7F

Preview Lab

Preview with #392989

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

Preview Lab → · Contrast checker → · Palette generator →

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