#392192#392192

#392192 is a dark, vivid violet. Relative luminance 0.040; OKLCH L 36.2% C 0.172 H 283.4°. Best body text is #FFFFFF at 11.62:1 contrast (WCAG AA passes).

Color values

HEX#392192
RGBrgb(57, 33, 146)
HSLhsl(253, 63%, 35%)
HSVhsv(253, 77%, 57%)
CMYKcmyk(61%, 77.4%, 0%, 42.7%)
CIE-LABlab(23.78, 42.22, -57.95)
CIE-LCHlch(23.78, 71.70, 306.07°)
OKLaboklab(36.17% 0.0399 -0.167)
OKLCHoklch(36.17% 0.172 283.4)
XYZxyz(7.4179, 4.0324, 27.5760)
Luminance0.0403 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#392192 #7A9221
analogous
#214292 #392192 #712192
triadic
#392192 #923921 #219239
tetradic
#392192 #922142 #7A9221 #219271
square
#392192 #922142 #7A9221 #219271
split-complementary
#392192 #927121 #429221
monochromatic
#120A2E #261660 #392192 #4C2CC4 #7155D9

Accessibility & contrast

On white

11.62
#392192 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.81
#392192 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #392192
11.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##392192#FFFFFF#000000##FFFFFF
##3921921.0011.621.8111.62
#FFFFFF11.621.0021.001.00
#0000001.8121.001.0021.00
##FFFFFF11.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003C95
Deuteranopia (green-blind)
#003590
Tritanopia (blue-blind)
#004158
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #392192;
/* rgb */ color: rgb(57, 33, 146);
/* oklch */ color: oklch(36.2% 0.172 283.4);
Tailwind
colors: {
  custom: {
    50: '#7b60b3',
    500: '#392192',
    950: '#000000',
  },
}
SCSS
$custom: #392192;
$custom-light: #7b60b3;
$custom-dark: #000000;
JSON
{
  "hex": "#392192",
  "rgb": {
    "r": 57,
    "g": 33,
    "b": 146
  },
  "hsl": {
    "h": 252.743,
    "s": 63.128,
    "l": 35.098
  },
  "oklch": {
    "l": 0.36169,
    "c": 0.17175,
    "h": 283.4
  },
  "luminance": 0.04033
}

Semantic roles & 50–950 ramp

primary
#392192
secondary
#A6BC53
accent
#E642C3
background
#F8F5FB
surface
#EFE9F6
border
#CAC5D0
text
#0A0511
muted
#7C7980

Preview Lab

Preview with #392192

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

Preview Lab → · Contrast checker → · Palette generator →

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