#392988#392988

#392988 is a dark, vivid violet. Relative luminance 0.042; OKLCH L 36.3% C 0.150 H 283.7°. Best body text is #FFFFFF at 11.37:1 contrast (WCAG AA passes).

Color values

HEX#392988
RGBrgb(57, 41, 136)
HSLhsl(250, 54%, 35%)
HSVhsv(250, 70%, 53%)
CMYKcmyk(58.1%, 69.9%, 0%, 46.7%)
CIE-LABlab(24.43, 34.56, -50.67)
CIE-LCHlch(24.43, 61.34, 304.29°)
OKLaboklab(36.34% 0.0356 -0.1458)
OKLCHoklch(36.34% 0.15 283.7)
XYZxyz(6.9229, 4.2329, 23.7400)
Luminance0.0423 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#392988 #788829
analogous
#294988 #392988 #682988
triadic
#392988 #883929 #298839
tetradic
#392988 #882949 #788829 #298868
square
#392988 #882949 #788829 #298868
split-complementary
#392988 #886829 #498829
monochromatic
#120D2A #251B59 #392988 #4D37B7 #705DCE

Accessibility & contrast

On white

11.37
#392988 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #392988
11.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##392988#FFFFFF#000000##FFFFFF
##3929881.0011.371.8511.37
#FFFFFF11.371.0021.001.00
#0000001.8521.001.0021.00
##FFFFFF11.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003D8B
Deuteranopia (green-blind)
#003786
Tritanopia (blue-blind)
#114255
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #392988;
/* rgb */ color: rgb(57, 41, 136);
/* oklch */ color: oklch(36.3% 0.150 283.7);
Tailwind
colors: {
  custom: {
    50: '#7864ac',
    500: '#392988',
    950: '#000000',
  },
}
SCSS
$custom: #392988;
$custom-light: #7864ac;
$custom-dark: #000000;
JSON
{
  "hex": "#392988",
  "rgb": {
    "r": 57,
    "g": 41,
    "b": 136
  },
  "hsl": {
    "h": 250.105,
    "s": 53.672,
    "l": 34.706
  },
  "oklch": {
    "l": 0.36336,
    "c": 0.15006,
    "h": 283.7
  },
  "luminance": 0.04233
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #392988

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

Preview Lab → · Contrast checker → · Palette generator →

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