#392396#392396

#392396 is a dark, vivid violet. Relative luminance 0.043; OKLCH L 36.8% C 0.175 H 282.4°. Best body text is #FFFFFF at 11.32:1 contrast (WCAG AA passes).

Color values

HEX#392396
RGBrgb(57, 35, 150)
HSLhsl(251, 62%, 36%)
HSVhsv(251, 77%, 59%)
CMYKcmyk(62%, 76.7%, 0%, 41.2%)
CIE-LABlab(24.56, 42.40, -59.14)
CIE-LCHlch(24.56, 72.77, 305.63°)
OKLaboklab(36.84% 0.0375 -0.1705)
OKLCHoklch(36.84% 0.175 282.4)
XYZxyz(7.7917, 4.2734, 29.2625)
Luminance0.0427 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#392396 #809623
analogous
#234796 #392396 #732396
triadic
#392396 #963923 #239639
tetradic
#392396 #962347 #809623 #239673
square
#392396 #962347 #809623 #239673
split-complementary
#392396 #967323 #479623
monochromatic
#130C33 #261764 #392396 #4C2FC8 #735BD9

Accessibility & contrast

On white

11.32
#392396 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #392396
11.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##392396#FFFFFF#000000##FFFFFF
##3923961.0011.321.8511.32
#FFFFFF11.321.0021.001.00
#0000001.8521.001.0021.00
##FFFFFF11.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003E99
Deuteranopia (green-blind)
#003694
Tritanopia (blue-blind)
#00445B
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #392396;
/* rgb */ color: rgb(57, 35, 150);
/* oklch */ color: oklch(36.8% 0.175 282.4);
Tailwind
colors: {
  custom: {
    50: '#7c61b6',
    500: '#392396',
    950: '#000000',
  },
}
SCSS
$custom: #392396;
$custom-light: #7c61b6;
$custom-dark: #000000;
JSON
{
  "hex": "#392396",
  "rgb": {
    "r": 57,
    "g": 35,
    "b": 150
  },
  "hsl": {
    "h": 251.478,
    "s": 62.162,
    "l": 36.275
  },
  "oklch": {
    "l": 0.36837,
    "c": 0.1746,
    "h": 282.4
  },
  "luminance": 0.04274
}

Semantic roles & 50–950 ramp

primary
#392396
secondary
#AABD58
accent
#E543C6
background
#F8F5FB
surface
#EFEAF6
border
#CAC6D0
text
#0B0511
muted
#7C7980

Preview Lab

Preview with #392396

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

Preview Lab → · Contrast checker → · Palette generator →

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