#392684#392684

#392684 is a dark, vivid violet. Relative luminance 0.039; OKLCH L 35.5% C 0.149 H 285.3°. Best body text is #FFFFFF at 11.77:1 contrast (WCAG AA passes).

Color values

HEX#392684
RGBrgb(57, 38, 132)
HSLhsl(252, 55%, 33%)
HSVhsv(252, 71%, 52%)
CMYKcmyk(56.8%, 71.2%, 0%, 48.2%)
CIE-LABlab(23.41, 35.06, -49.83)
CIE-LCHlch(23.41, 60.93, 305.13°)
OKLaboklab(35.49% 0.0391 -0.1433)
OKLCHoklch(35.49% 0.149 285.3)
XYZxyz(6.5441, 3.9217, 22.2374)
Luminance0.0392 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#392684 #718426
analogous
#264284 #392684 #682684
triadic
#392684 #843926 #268439
tetradic
#392684 #842642 #718426 #268468
square
#392684 #842642 #718426 #268468
split-complementary
#392684 #846826 #428426
monochromatic
#100B25 #241854 #392684 #4E34B4 #6E56CE

Accessibility & contrast

On white

11.77
#392684 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.78
#392684 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #392684
11.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##392684#FFFFFF#000000##FFFFFF
##3926841.0011.771.7811.77
#FFFFFF11.771.0021.001.00
#0000001.7821.001.0021.00
##FFFFFF11.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003A87
Deuteranopia (green-blind)
#003582
Tritanopia (blue-blind)
#173E52
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #392684;
/* rgb */ color: rgb(57, 38, 132);
/* oklch */ color: oklch(35.5% 0.149 285.3);
Tailwind
colors: {
  custom: {
    50: '#7862a9',
    500: '#392684',
    950: '#000000',
  },
}
SCSS
$custom: #392684;
$custom-light: #7862a9;
$custom-dark: #000000;
JSON
{
  "hex": "#392684",
  "rgb": {
    "r": 57,
    "g": 38,
    "b": 132
  },
  "hsl": {
    "h": 252.128,
    "s": 55.294,
    "l": 33.333
  },
  "oklch": {
    "l": 0.35494,
    "c": 0.14853,
    "h": 285.3
  },
  "luminance": 0.03922
}

Semantic roles & 50–950 ramp

primary
#392684
secondary
#A0B353
accent
#DF49C0
background
#F7F5FA
surface
#EEEAF4
border
#C9C6CE
text
#0A0510
muted
#7C797F

Preview Lab

Preview with #392684

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

Preview Lab → · Contrast checker → · Palette generator →

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