#392494#392494

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

Color values

HEX#392494
RGBrgb(57, 36, 148)
HSLhsl(251, 61%, 36%)
HSVhsv(251, 76%, 58%)
CMYKcmyk(61.5%, 75.7%, 0%, 42%)
CIE-LABlab(24.54, 41.24, -57.93)
CIE-LCHlch(24.54, 71.11, 305.45°)
OKLaboklab(36.77% 0.0373 -0.167)
OKLCHoklch(36.77% 0.171 282.6)
XYZxyz(7.6619, 4.2692, 28.4315)
Luminance0.0427 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#392494 #7F9424
analogous
#244794 #392494 #712494
triadic
#392494 #943924 #249439
tetradic
#392494 #942447 #7F9424 #249471
square
#392494 #942447 #7F9424 #249471
split-complementary
#392494 #947124 #479424
monochromatic
#130C32 #261863 #392494 #4C30C5 #725BD7

Accessibility & contrast

On white

11.33
#392494 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #392494
11.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##392494#FFFFFF#000000##FFFFFF
##3924941.0011.331.8511.33
#FFFFFF11.331.0021.001.00
#0000001.8521.001.0021.00
##FFFFFF11.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003E97
Deuteranopia (green-blind)
#003692
Tritanopia (blue-blind)
#00435A
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #392494;
/* rgb */ color: rgb(57, 36, 148);
/* oklch */ color: oklch(36.8% 0.171 282.6);
Tailwind
colors: {
  custom: {
    50: '#7b61b4',
    500: '#392494',
    950: '#000000',
  },
}
SCSS
$custom: #392494;
$custom-light: #7b61b4;
$custom-dark: #000000;
JSON
{
  "hex": "#392494",
  "rgb": {
    "r": 57,
    "g": 36,
    "b": 148
  },
  "hsl": {
    "h": 251.25,
    "s": 60.87,
    "l": 36.078
  },
  "oklch": {
    "l": 0.36767,
    "c": 0.17111,
    "h": 282.6
  },
  "luminance": 0.0427
}

Semantic roles & 50–950 ramp

primary
#392494
secondary
#A9BC58
accent
#E444C6
background
#F8F5FB
surface
#EFEAF6
border
#CAC6D0
text
#0A0511
muted
#7C7980

Preview Lab

Preview with #392494

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

Preview Lab → · Contrast checker → · Palette generator →

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