#391E80#391E80

#391E80 is a dark, vivid violet. Relative luminance 0.034; OKLCH L 34.0% C 0.153 H 287.9°. Best body text is #FFFFFF at 12.56:1 contrast (WCAG AA passes).

Color values

HEX#391E80
RGBrgb(57, 30, 128)
HSLhsl(257, 62%, 31%)
HSVhsv(257, 77%, 50%)
CMYKcmyk(55.5%, 76.6%, 0%, 49.8%)
CIE-LABlab(21.42, 38.31, -50.57)
CIE-LCHlch(21.42, 63.45, 307.15°)
OKLaboklab(33.96% 0.0471 -0.1454)
OKLCHoklch(33.96% 0.153 287.9)
XYZxyz(6.0467, 3.3566, 20.7472)
Luminance0.0336 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#391E80 #65801E
analogous
#1E3480 #391E80 #6A1E80
triadic
#391E80 #80391E #1E8039
tetradic
#391E80 #801E34 #65801E #1E806A
square
#391E80 #801E34 #65801E #1E806A
split-complementary
#391E80 #806A1E #34801E
monochromatic
#0D071D #23124E #391E80 #4F2AB2 #6C45D3

Accessibility & contrast

On white

12.56
#391E80 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.67
#391E80 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #391E80
12.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##391E80#FFFFFF#000000##FFFFFF
##391E801.0012.561.6712.56
#FFFFFF12.561.0021.001.00
#0000001.6721.001.0021.00
##FFFFFF12.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003683
Deuteranopia (green-blind)
#00317E
Tritanopia (blue-blind)
#1C394D
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #391e80;
/* rgb */ color: rgb(57, 30, 128);
/* oklch */ color: oklch(34.0% 0.153 287.9);
Tailwind
colors: {
  custom: {
    50: '#785da6',
    500: '#391e80',
    950: '#000000',
  },
}
SCSS
$custom: #391e80;
$custom-light: #785da6;
$custom-dark: #000000;
JSON
{
  "hex": "#391e80",
  "rgb": {
    "r": 57,
    "g": 30,
    "b": 128
  },
  "hsl": {
    "h": 256.531,
    "s": 62.025,
    "l": 30.98
  },
  "oklch": {
    "l": 0.33963,
    "c": 0.15286,
    "h": 287.9
  },
  "luminance": 0.03357
}

Semantic roles & 50–950 ramp

primary
#391E80
secondary
#95B347
accent
#E543B8
background
#F7F5FA
surface
#EEE9F4
border
#C9C5CE
text
#0A040F
muted
#7C797F

Preview Lab

Preview with #391E80

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

Preview Lab → · Contrast checker → · Palette generator →

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