#392197#392197

#392197 is a dark, vivid violet. Relative luminance 0.042; OKLCH L 36.7% C 0.178 H 282.5°. Best body text is #FFFFFF at 11.42:1 contrast (WCAG AA passes).

Color values

HEX#392197
RGBrgb(57, 33, 151)
HSLhsl(252, 64%, 36%)
HSVhsv(252, 78%, 59%)
CMYKcmyk(62.3%, 78.1%, 0%, 40.8%)
CIE-LABlab(24.29, 43.74, -60.19)
CIE-LCHlch(24.29, 74.40, 306.01°)
OKLaboklab(36.69% 0.0385 -0.1736)
OKLCHoklch(36.69% 0.178 282.5)
XYZxyz(7.8154, 4.1914, 29.6693)
Luminance0.0419 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#392197 #7F9721
analogous
#214497 #392197 #742197
triadic
#392197 #973921 #219739
tetradic
#392197 #972144 #7F9721 #219774
square
#392197 #972144 #7F9721 #219774
split-complementary
#392197 #977421 #449721
monochromatic
#130B33 #261665 #392197 #4C2CC9 #7258DA

Accessibility & contrast

On white

11.42
#392197 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.84
#392197 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #392197
11.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##392197#FFFFFF#000000##FFFFFF
##3921971.0011.421.8411.42
#FFFFFF11.421.0021.001.00
#0000001.8421.001.0021.00
##FFFFFF11.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003D9A
Deuteranopia (green-blind)
#003695
Tritanopia (blue-blind)
#00435B
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #392197;
/* rgb */ color: rgb(57, 33, 151);
/* oklch */ color: oklch(36.7% 0.178 282.5);
Tailwind
colors: {
  custom: {
    50: '#7c60b7',
    500: '#392197',
    950: '#000000',
  },
}
SCSS
$custom: #392197;
$custom-light: #7c60b7;
$custom-dark: #000000;
JSON
{
  "hex": "#392197",
  "rgb": {
    "r": 57,
    "g": 33,
    "b": 151
  },
  "hsl": {
    "h": 252.203,
    "s": 64.13,
    "l": 36.078
  },
  "oklch": {
    "l": 0.36685,
    "c": 0.1778,
    "h": 282.5
  },
  "luminance": 0.04192
}

Semantic roles & 50–950 ramp

primary
#392197
secondary
#A9BE55
accent
#E741C5
background
#F8F5FB
surface
#EFEAF6
border
#CAC6D0
text
#0B0511
muted
#7C7980

Preview Lab

Preview with #392197

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

Preview Lab → · Contrast checker → · Palette generator →

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