#391E82#391E82

#391E82 is a dark, vivid violet. Relative luminance 0.034; OKLCH L 34.2% C 0.155 H 287.4°. Best body text is #FFFFFF at 12.49:1 contrast (WCAG AA passes).

Color values

HEX#391E82
RGBrgb(57, 30, 130)
HSLhsl(256, 63%, 31%)
HSVhsv(256, 77%, 51%)
CMYKcmyk(56.2%, 76.9%, 0%, 49%)
CIE-LABlab(21.62, 38.92, -51.51)
CIE-LCHlch(21.62, 64.56, 307.07°)
OKLaboklab(34.16% 0.0465 -0.1482)
OKLCHoklch(34.16% 0.155 287.4)
XYZxyz(6.1797, 3.4098, 21.4473)
Luminance0.0341 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#391E82 #67821E
analogous
#1E3582 #391E82 #6B1E82
triadic
#391E82 #82391E #1E8239
tetradic
#391E82 #821E35 #67821E #1E826B
square
#391E82 #821E35 #67821E #1E826B
split-complementary
#391E82 #826B1E #35821E
monochromatic
#0D071F #231350 #391E82 #4F29B4 #6C46D4

Accessibility & contrast

On white

12.49
#391E82 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.68
#391E82 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #391E82
12.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##391E82#FFFFFF#000000##FFFFFF
##391E821.0012.491.6812.49
#FFFFFF12.491.0021.001.00
#0000001.6821.001.0021.00
##FFFFFF12.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003685
Deuteranopia (green-blind)
#003180
Tritanopia (blue-blind)
#1A3A4E
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #391e82;
/* rgb */ color: rgb(57, 30, 130);
/* oklch */ color: oklch(34.2% 0.155 287.4);
Tailwind
colors: {
  custom: {
    50: '#785da7',
    500: '#391e82',
    950: '#000000',
  },
}
SCSS
$custom: #391e82;
$custom-light: #785da7;
$custom-dark: #000000;
JSON
{
  "hex": "#391e82",
  "rgb": {
    "r": 57,
    "g": 30,
    "b": 130
  },
  "hsl": {
    "h": 256.2,
    "s": 62.5,
    "l": 31.373
  },
  "oklch": {
    "l": 0.34162,
    "c": 0.15533,
    "h": 287.4
  },
  "luminance": 0.0341
}

Semantic roles & 50–950 ramp

primary
#391E82
secondary
#97B547
accent
#E642B9
background
#F7F5FA
surface
#EEE9F4
border
#C9C5CE
text
#0A0410
muted
#7C797F

Preview Lab

Preview with #391E82

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

Preview Lab → · Contrast checker → · Palette generator →

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