#392492#392492

#392492 is a dark, vivid violet. Relative luminance 0.042; OKLCH L 36.6% C 0.169 H 282.9°. Best body text is #FFFFFF at 11.40:1 contrast (WCAG AA passes).

Color values

HEX#392492
RGBrgb(57, 36, 146)
HSLhsl(251, 60%, 36%)
HSVhsv(251, 75%, 57%)
CMYKcmyk(61%, 75.3%, 0%, 42.7%)
CIE-LABlab(24.34, 40.62, -57.03)
CIE-LCHlch(24.34, 70.01, 305.46°)
OKLaboklab(36.57% 0.0377 -0.1644)
OKLCHoklch(36.57% 0.169 282.9)
XYZxyz(7.5049, 4.2064, 27.6050)
Luminance0.0421 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#392492 #7D9224
analogous
#244692 #392492 #702492
triadic
#392492 #923924 #249239
tetradic
#392492 #922446 #7D9224 #249270
square
#392492 #922446 #7D9224 #249270
split-complementary
#392492 #927024 #469224
monochromatic
#130C30 #261861 #392492 #4C30C3 #725AD6

Accessibility & contrast

On white

11.40
#392492 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #392492
11.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##392492#FFFFFF#000000##FFFFFF
##3924921.0011.401.8411.40
#FFFFFF11.401.0021.001.00
#0000001.8421.001.0021.00
##FFFFFF11.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003D95
Deuteranopia (green-blind)
#003690
Tritanopia (blue-blind)
#004359
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #392492;
/* rgb */ color: rgb(57, 36, 146);
/* oklch */ color: oklch(36.6% 0.169 282.9);
Tailwind
colors: {
  custom: {
    50: '#7b61b3',
    500: '#392492',
    950: '#000000',
  },
}
SCSS
$custom: #392492;
$custom-light: #7b61b3;
$custom-dark: #000000;
JSON
{
  "hex": "#392492",
  "rgb": {
    "r": 57,
    "g": 36,
    "b": 146
  },
  "hsl": {
    "h": 251.455,
    "s": 60.44,
    "l": 35.686
  },
  "oklch": {
    "l": 0.36566,
    "c": 0.16864,
    "h": 282.9
  },
  "luminance": 0.04207
}

Semantic roles & 50–950 ramp

primary
#392492
secondary
#A8BB57
accent
#E444C5
background
#F8F5FB
surface
#EFEAF6
border
#CAC6D0
text
#0A0511
muted
#7C7980

Preview Lab

Preview with #392492

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

Preview Lab → · Contrast checker → · Palette generator →

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