#392086#392086

#392086 is a dark, vivid violet. Relative luminance 0.036; OKLCH L 34.8% C 0.158 H 286.1°. Best body text is #FFFFFF at 12.18:1 contrast (WCAG AA passes).

Color values

HEX#392086
RGBrgb(57, 32, 134)
HSLhsl(255, 61%, 33%)
HSVhsv(255, 76%, 53%)
CMYKcmyk(57.5%, 76.1%, 0%, 47.5%)
CIE-LABlab(22.39, 39.07, -52.77)
CIE-LCHlch(22.39, 65.66, 306.52°)
OKLaboklab(34.83% 0.0439 -0.1519)
OKLCHoklch(34.83% 0.158 286.1)
XYZxyz(6.5056, 3.6237, 22.9063)
Luminance0.0362 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#392086 #6D8620
analogous
#203A86 #392086 #6C2086
triadic
#392086 #863920 #208639
tetradic
#392086 #86203A #6D8620 #20866C
square
#392086 #86203A #6D8620 #20866C
split-complementary
#392086 #866C20 #3A8620
monochromatic
#0F0823 #241455 #392086 #4E2CB7 #6D4CD4

Accessibility & contrast

On white

12.18
#392086 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.72
#392086 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #392086
12.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##392086#FFFFFF#000000##FFFFFF
##3920861.0012.181.7212.18
#FFFFFF12.181.0021.001.00
#0000001.7221.001.0021.00
##FFFFFF12.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003889
Deuteranopia (green-blind)
#003284
Tritanopia (blue-blind)
#153C51
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #392086;
/* rgb */ color: rgb(57, 32, 134);
/* oklch */ color: oklch(34.8% 0.158 286.1);
Tailwind
colors: {
  custom: {
    50: '#795eaa',
    500: '#392086',
    950: '#000000',
  },
}
SCSS
$custom: #392086;
$custom-light: #795eaa;
$custom-dark: #000000;
JSON
{
  "hex": "#392086",
  "rgb": {
    "r": 57,
    "g": 32,
    "b": 134
  },
  "hsl": {
    "h": 254.706,
    "s": 61.446,
    "l": 32.549
  },
  "oklch": {
    "l": 0.34825,
    "c": 0.15807,
    "h": 286.1
  },
  "luminance": 0.03624
}

Semantic roles & 50–950 ramp

primary
#392086
secondary
#9DB74B
accent
#E543BD
background
#F7F5FA
surface
#EEE9F4
border
#C9C5CE
text
#0A0510
muted
#7C797F

Preview Lab

Preview with #392086

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

Preview Lab → · Contrast checker → · Palette generator →

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