#391BA1#391BA1

#391BA1 is a dark, vivid violet. Relative luminance 0.042; OKLCH L 37.1% C 0.195 H 281.5°. Best body text is #FFFFFF at 11.38:1 contrast (WCAG AA passes).

Color values

HEX#391BA1
RGBrgb(57, 27, 161)
HSLhsl(253, 71%, 37%)
HSVhsv(253, 83%, 63%)
CMYKcmyk(64.6%, 83.2%, 0%, 36.9%)
CIE-LABlab(24.41, 49.52, -66.13)
CIE-LCHlch(24.41, 82.61, 306.83°)
OKLaboklab(37.08% 0.0388 -0.1908)
OKLCHoklch(37.08% 0.195 281.5)
XYZxyz(8.5103, 4.2263, 34.0786)
Luminance0.0423 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#391BA1 #83A11B
analogous
#1B40A1 #391BA1 #7C1BA1
triadic
#391BA1 #A1391B #1BA139
tetradic
#391BA1 #A11B40 #83A11B #1BA17C
square
#391BA1 #A11B40 #83A11B #1BA17C
split-complementary
#391BA1 #A17C1B #40A11B
monochromatic
#140938 #26126D #391BA1 #4C24D5 #7454E2

Accessibility & contrast

On white

11.38
#391BA1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.85
#391BA1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #391BA1
11.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##391BA1#FFFFFF#000000##FFFFFF
##391BA11.0011.381.8511.38
#FFFFFF11.381.0021.001.00
#0000001.8521.001.0021.00
##FFFFFF11.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003EA5
Deuteranopia (green-blind)
#00359F
Tritanopia (blue-blind)
#004560
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #391ba1;
/* rgb */ color: rgb(57, 27, 161);
/* oklch */ color: oklch(37.1% 0.195 281.5);
Tailwind
colors: {
  custom: {
    50: '#7e5dbe',
    500: '#391ba1',
    950: '#000000',
  },
}
SCSS
$custom: #391ba1;
$custom-light: #7e5dbe;
$custom-dark: #000000;
JSON
{
  "hex": "#391ba1",
  "rgb": {
    "r": 57,
    "g": 27,
    "b": 161
  },
  "hsl": {
    "h": 253.433,
    "s": 71.277,
    "l": 36.863
  },
  "oklch": {
    "l": 0.37084,
    "c": 0.19471,
    "h": 281.5
  },
  "luminance": 0.04227
}

Semantic roles & 50–950 ramp

primary
#391BA1
secondary
#ACC552
accent
#EE3AC6
background
#F8F5FB
surface
#EFE9F7
border
#CAC5D0
text
#0B0512
muted
#7C7981

Preview Lab

Preview with #391BA1

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

Preview Lab → · Contrast checker → · Palette generator →

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