#392084#392084

#392084 is a dark, vivid violet. Relative luminance 0.036; OKLCH L 34.6% C 0.156 H 286.6°. Best body text is #FFFFFF at 12.25:1 contrast (WCAG AA passes).

Color values

HEX#392084
RGBrgb(57, 32, 132)
HSLhsl(255, 61%, 32%)
HSVhsv(255, 76%, 52%)
CMYKcmyk(56.8%, 75.8%, 0%, 48.2%)
CIE-LABlab(22.19, 38.46, -51.83)
CIE-LCHlch(22.19, 64.54, 306.57°)
OKLaboklab(34.63% 0.0444 -0.1491)
OKLCHoklch(34.63% 0.156 286.6)
XYZxyz(6.3675, 3.5685, 22.1786)
Luminance0.0357 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#392084 #6B8420
analogous
#203984 #392084 #6B2084
triadic
#392084 #843920 #208439
tetradic
#392084 #842039 #6B8420 #20846B
square
#392084 #842039 #6B8420 #20846B
split-complementary
#392084 #846B20 #398420
monochromatic
#0E0821 #241453 #392084 #4E2CB5 #6D4BD3

Accessibility & contrast

On white

12.25
#392084 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.71
#392084 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #392084
12.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##392084#FFFFFF#000000##FFFFFF
##3920841.0012.251.7112.25
#FFFFFF12.251.0021.001.00
#0000001.7121.001.0021.00
##FFFFFF12.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003887
Deuteranopia (green-blind)
#003282
Tritanopia (blue-blind)
#183B50
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #392084;
/* rgb */ color: rgb(57, 32, 132);
/* oklch */ color: oklch(34.6% 0.156 286.6);
Tailwind
colors: {
  custom: {
    50: '#785ea9',
    500: '#392084',
    950: '#000000',
  },
}
SCSS
$custom: #392084;
$custom-light: #785ea9;
$custom-dark: #000000;
JSON
{
  "hex": "#392084",
  "rgb": {
    "r": 57,
    "g": 32,
    "b": 132
  },
  "hsl": {
    "h": 255,
    "s": 60.976,
    "l": 32.157
  },
  "oklch": {
    "l": 0.34627,
    "c": 0.15559,
    "h": 286.6
  },
  "luminance": 0.03569
}

Semantic roles & 50–950 ramp

primary
#392084
secondary
#9BB64A
accent
#E444BC
background
#F7F5FA
surface
#EEE9F4
border
#C9C5CE
text
#0A0410
muted
#7C797F

Preview Lab

Preview with #392084

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

Preview Lab → · Contrast checker → · Palette generator →

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