#391E84#391E84

#391E84 is a dark, vivid violet. Relative luminance 0.035; OKLCH L 34.4% C 0.158 H 286.9°. Best body text is #FFFFFF at 12.41:1 contrast (WCAG AA passes).

Color values

HEX#391E84
RGBrgb(57, 30, 132)
HSLhsl(256, 63%, 32%)
HSVhsv(256, 77%, 52%)
CMYKcmyk(56.8%, 77.3%, 0%, 48.2%)
CIE-LABlab(21.81, 39.52, -52.45)
CIE-LCHlch(21.81, 65.67, 307.00°)
OKLaboklab(34.36% 0.046 -0.1509)
OKLCHoklch(34.36% 0.158 286.9)
XYZxyz(6.3152, 3.4640, 22.1612)
Luminance0.0346 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#391E84 #69841E
analogous
#1E3684 #391E84 #6C1E84
triadic
#391E84 #84391E #1E8439
tetradic
#391E84 #841E36 #69841E #1E846C
square
#391E84 #841E36 #69841E #1E846C
split-complementary
#391E84 #846C1E #36841E
monochromatic
#0E0720 #231352 #391E84 #4F29B6 #6D47D5

Accessibility & contrast

On white

12.41
#391E84 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.69
#391E84 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #391E84
12.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##391E84#FFFFFF#000000##FFFFFF
##391E841.0012.411.6912.41
#FFFFFF12.411.0021.001.00
#0000001.6921.001.0021.00
##FFFFFF12.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003787
Deuteranopia (green-blind)
#003182
Tritanopia (blue-blind)
#183A50
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #391e84;
/* rgb */ color: rgb(57, 30, 132);
/* oklch */ color: oklch(34.4% 0.158 286.9);
Tailwind
colors: {
  custom: {
    50: '#795da9',
    500: '#391e84',
    950: '#000000',
  },
}
SCSS
$custom: #391e84;
$custom-light: #795da9;
$custom-dark: #000000;
JSON
{
  "hex": "#391e84",
  "rgb": {
    "r": 57,
    "g": 30,
    "b": 132
  },
  "hsl": {
    "h": 255.882,
    "s": 62.963,
    "l": 31.765
  },
  "oklch": {
    "l": 0.34361,
    "c": 0.15778,
    "h": 286.9
  },
  "luminance": 0.03464
}

Semantic roles & 50–950 ramp

primary
#391E84
secondary
#99B747
accent
#E642BB
background
#F7F5FA
surface
#EEE9F4
border
#C9C5CE
text
#0A0410
muted
#7C797F

Preview Lab

Preview with #391E84

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

Preview Lab → · Contrast checker → · Palette generator →

#391E84 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva