#392195#392195

#392195 is a dark, vivid violet. Relative luminance 0.041; OKLCH L 36.5% C 0.175 H 282.9°. Best body text is #FFFFFF at 11.50:1 contrast (WCAG AA passes).

Color values

HEX#392195
RGBrgb(57, 33, 149)
HSLhsl(252, 64%, 36%)
HSVhsv(252, 78%, 58%)
CMYKcmyk(61.7%, 77.9%, 0%, 41.6%)
CIE-LABlab(24.09, 43.13, -59.30)
CIE-LCHlch(24.09, 73.33, 306.03°)
OKLaboklab(36.48% 0.0391 -0.171)
OKLCHoklch(36.48% 0.175 282.9)
XYZxyz(7.6543, 4.1270, 28.8212)
Luminance0.0413 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#392195 #7D9521
analogous
#214395 #392195 #732195
triadic
#392195 #953921 #219539
tetradic
#392195 #952143 #7D9521 #219573
square
#392195 #952143 #7D9521 #219573
split-complementary
#392195 #957321 #439521
monochromatic
#130B31 #261663 #392195 #4C2CC7 #7257DA

Accessibility & contrast

On white

11.50
#392195 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.83
#392195 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #392195
11.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##392195#FFFFFF#000000##FFFFFF
##3921951.0011.501.8311.50
#FFFFFF11.501.0021.001.00
#0000001.8321.001.0021.00
##FFFFFF11.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003D98
Deuteranopia (green-blind)
#003593
Tritanopia (blue-blind)
#00435A
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #392195;
/* rgb */ color: rgb(57, 33, 149);
/* oklch */ color: oklch(36.5% 0.175 282.9);
Tailwind
colors: {
  custom: {
    50: '#7b60b5',
    500: '#392195',
    950: '#000000',
  },
}
SCSS
$custom: #392195;
$custom-light: #7b60b5;
$custom-dark: #000000;
JSON
{
  "hex": "#392195",
  "rgb": {
    "r": 57,
    "g": 33,
    "b": 149
  },
  "hsl": {
    "h": 252.414,
    "s": 63.736,
    "l": 35.686
  },
  "oklch": {
    "l": 0.36478,
    "c": 0.17539,
    "h": 282.9
  },
  "luminance": 0.04127
}

Semantic roles & 50–950 ramp

primary
#392195
secondary
#A8BE54
accent
#E741C4
background
#F8F5FB
surface
#EFEAF6
border
#CAC6D0
text
#0B0511
muted
#7C7980

Preview Lab

Preview with #392195

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

Preview Lab → · Contrast checker → · Palette generator →

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