#391E9B#391E9B

#391E9B is a dark, vivid violet. Relative luminance 0.042; OKLCH L 36.8% C 0.185 H 282.2°. Best body text is #FFFFFF at 11.46:1 contrast (WCAG AA passes).

Color values

HEX#391E9B
RGBrgb(57, 30, 155)
HSLhsl(253, 68%, 36%)
HSVhsv(253, 81%, 61%)
CMYKcmyk(63.2%, 80.6%, 0%, 39.2%)
CIE-LABlab(24.21, 46.42, -62.79)
CIE-LCHlch(24.21, 78.08, 306.47°)
OKLaboklab(36.75% 0.0392 -0.1811)
OKLCHoklch(36.75% 0.185 282.2)
XYZxyz(8.0662, 4.1644, 31.3827)
Luminance0.0416 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#391E9B #809B1E
analogous
#1E429B #391E9B #781E9B
triadic
#391E9B #9B391E #1E9B39
tetradic
#391E9B #9B1E42 #809B1E #1E9B78
square
#391E9B #9B1E42 #809B1E #1E9B78
split-complementary
#391E9B #9B781E #429B1E
monochromatic
#130A34 #261468 #391E9B #4C28CE #7355DE

Accessibility & contrast

On white

11.46
#391E9B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.83
#391E9B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #391E9B
11.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##391E9B#FFFFFF#000000##FFFFFF
##391E9B1.0011.461.8311.46
#FFFFFF11.461.0021.001.00
#0000001.8321.001.0021.00
##FFFFFF11.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003D9E
Deuteranopia (green-blind)
#003599
Tritanopia (blue-blind)
#00445D
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #391e9b;
/* rgb */ color: rgb(57, 30, 155);
/* oklch */ color: oklch(36.8% 0.185 282.2);
Tailwind
colors: {
  custom: {
    50: '#7d5eba',
    500: '#391e9b',
    950: '#000000',
  },
}
SCSS
$custom: #391e9b;
$custom-light: #7d5eba;
$custom-dark: #000000;
JSON
{
  "hex": "#391e9b",
  "rgb": {
    "r": 57,
    "g": 30,
    "b": 155
  },
  "hsl": {
    "h": 252.96,
    "s": 67.568,
    "l": 36.275
  },
  "oklch": {
    "l": 0.36751,
    "c": 0.18531,
    "h": 282.2
  },
  "luminance": 0.04165
}

Semantic roles & 50–950 ramp

primary
#391E9B
secondary
#AAC253
accent
#EA3DC5
background
#F8F5FB
surface
#EFE9F6
border
#CAC5D0
text
#0B0512
muted
#7C7981

Preview Lab

Preview with #391E9B

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

Preview Lab → · Contrast checker → · Palette generator →

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