#392096#392096

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

Color values

HEX#392096
RGBrgb(57, 32, 150)
HSLhsl(253, 65%, 36%)
HSVhsv(253, 79%, 59%)
CMYKcmyk(62%, 78.7%, 0%, 41.2%)
CIE-LABlab(24.01, 43.94, -60.04)
CIE-LCHlch(24.01, 74.40, 306.20°)
OKLaboklab(36.46% 0.0395 -0.1731)
OKLCHoklch(36.46% 0.178 282.8)
XYZxyz(7.7072, 4.1044, 29.2343)
Luminance0.0411 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#392096 #7D9620
analogous
#204296 #392096 #742096
triadic
#392096 #963920 #209639
tetradic
#392096 #962042 #7D9620 #209674
square
#392096 #962042 #7D9620 #209674
split-complementary
#392096 #967420 #429620
monochromatic
#130A31 #261564 #392096 #4C2BC8 #7256DB

Accessibility & contrast

On white

11.53
#392096 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.82
#392096 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #392096
11.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##392096#FFFFFF#000000##FFFFFF
##3920961.0011.531.8211.53
#FFFFFF11.531.0021.001.00
#0000001.8221.001.0021.00
##FFFFFF11.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003D99
Deuteranopia (green-blind)
#003594
Tritanopia (blue-blind)
#00425A
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #392096;
/* rgb */ color: rgb(57, 32, 150);
/* oklch */ color: oklch(36.5% 0.178 282.8);
Tailwind
colors: {
  custom: {
    50: '#7c5fb6',
    500: '#392096',
    950: '#000000',
  },
}
SCSS
$custom: #392096;
$custom-light: #7c5fb6;
$custom-dark: #000000;
JSON
{
  "hex": "#392096",
  "rgb": {
    "r": 57,
    "g": 32,
    "b": 150
  },
  "hsl": {
    "h": 252.712,
    "s": 64.835,
    "l": 35.686
  },
  "oklch": {
    "l": 0.36458,
    "c": 0.17756,
    "h": 282.8
  },
  "luminance": 0.04105
}

Semantic roles & 50–950 ramp

primary
#392096
secondary
#A8BE53
accent
#E840C4
background
#F8F5FB
surface
#EFE9F6
border
#CAC5D0
text
#0B0511
muted
#7C7980

Preview Lab

Preview with #392096

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

Preview Lab → · Contrast checker → · Palette generator →

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