#391BA0#391BA0

#391BA0 is a dark, vivid violet. Relative luminance 0.042; OKLCH L 37.0% C 0.194 H 281.7°. Best body text is #FFFFFF at 11.42:1 contrast (WCAG AA passes).

Color values

HEX#391BA0
RGBrgb(57, 27, 160)
HSLhsl(254, 71%, 37%)
HSVhsv(254, 83%, 63%)
CMYKcmyk(64.4%, 83.1%, 0%, 37.3%)
CIE-LABlab(24.29, 49.23, -65.70)
CIE-LCHlch(24.29, 82.10, 306.85°)
OKLaboklab(36.97% 0.0392 -0.1896)
OKLCHoklch(36.97% 0.194 281.7)
XYZxyz(8.4224, 4.1912, 33.6160)
Luminance0.0419 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#391BA0 #82A01B
analogous
#1B40A0 #391BA0 #7C1BA0
triadic
#391BA0 #A0391B #1BA039
tetradic
#391BA0 #A01B40 #82A01B #1BA07C
square
#391BA0 #A01B40 #82A01B #1BA07C
split-complementary
#391BA0 #A07C1B #40A01B
monochromatic
#140937 #26126C #391BA0 #4C24D4 #7453E2

Accessibility & contrast

On white

11.42
#391BA0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.84
#391BA0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #391BA0
11.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##391BA0#FFFFFF#000000##FFFFFF
##391BA01.0011.421.8411.42
#FFFFFF11.421.0021.001.00
#0000001.8421.001.0021.00
##FFFFFF11.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003EA4
Deuteranopia (green-blind)
#00359E
Tritanopia (blue-blind)
#00455F
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #391ba0;
/* rgb */ color: rgb(57, 27, 160);
/* oklch */ color: oklch(37.0% 0.194 281.7);
Tailwind
colors: {
  custom: {
    50: '#7e5dbd',
    500: '#391ba0',
    950: '#000000',
  },
}
SCSS
$custom: #391ba0;
$custom-light: #7e5dbd;
$custom-dark: #000000;
JSON
{
  "hex": "#391ba0",
  "rgb": {
    "r": 57,
    "g": 27,
    "b": 160
  },
  "hsl": {
    "h": 253.534,
    "s": 71.123,
    "l": 36.667
  },
  "oklch": {
    "l": 0.36973,
    "c": 0.19357,
    "h": 281.7
  },
  "luminance": 0.04192
}

Semantic roles & 50–950 ramp

primary
#391BA0
secondary
#ABC552
accent
#EE3AC5
background
#F8F5FB
surface
#EFE9F7
border
#CAC5D0
text
#0B0512
muted
#7C7981

Preview Lab

Preview with #391BA0

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

Preview Lab → · Contrast checker → · Palette generator →

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