#392199#392199

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

Color values

HEX#392199
RGBrgb(57, 33, 153)
HSLhsl(252, 65%, 36%)
HSVhsv(252, 78%, 60%)
CMYKcmyk(62.7%, 78.4%, 0%, 40%)
CIE-LABlab(24.50, 44.35, -61.07)
CIE-LCHlch(24.50, 75.48, 305.99°)
OKLaboklab(36.89% 0.038 -0.1762)
OKLCHoklch(36.89% 0.18 282.2)
XYZxyz(7.9792, 4.2569, 30.5320)
Luminance0.0426 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#392199 #819921
analogous
#214599 #392199 #752199
triadic
#392199 #993921 #219939
tetradic
#392199 #992145 #819921 #219975
square
#392199 #992145 #819921 #219975
split-complementary
#392199 #997521 #459921
monochromatic
#130B34 #261667 #392199 #4C2CCB #7359DB

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##392199#FFFFFF#000000##FFFFFF
##3921991.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)
#003E9C
Deuteranopia (green-blind)
#003697
Tritanopia (blue-blind)
#00445C
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #392199;
/* rgb */ color: rgb(57, 33, 153);
/* oklch */ color: oklch(36.9% 0.180 282.2);
Tailwind
colors: {
  custom: {
    50: '#7c60b8',
    500: '#392199',
    950: '#000000',
  },
}
SCSS
$custom: #392199;
$custom-light: #7c60b8;
$custom-dark: #000000;
JSON
{
  "hex": "#392199",
  "rgb": {
    "r": 57,
    "g": 33,
    "b": 153
  },
  "hsl": {
    "h": 252,
    "s": 64.516,
    "l": 36.471
  },
  "oklch": {
    "l": 0.36894,
    "c": 0.1802,
    "h": 282.2
  },
  "luminance": 0.04257
}

Semantic roles & 50–950 ramp

primary
#392199
secondary
#AABF56
accent
#E840C6
background
#F8F5FB
surface
#EFEAF6
border
#CAC6D0
text
#0B0512
muted
#7C7981

Preview Lab

Preview with #392199

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

Preview Lab → · Contrast checker → · Palette generator →

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