#391AA0#391AA0

#391AA0 is a dark, vivid violet. Relative luminance 0.041; OKLCH L 36.9% C 0.194 H 281.8°. Best body text is #FFFFFF at 11.48:1 contrast (WCAG AA passes).

Color values

HEX#391AA0
RGBrgb(57, 26, 160)
HSLhsl(254, 72%, 36%)
HSVhsv(254, 84%, 63%)
CMYKcmyk(64.4%, 83.8%, 0%, 37.3%)
CIE-LABlab(24.15, 49.66, -65.94)
CIE-LCHlch(24.15, 82.55, 306.98°)
OKLaboklab(36.87% 0.0396 -0.1902)
OKLCHoklch(36.87% 0.194 281.8)
XYZxyz(8.3999, 4.1461, 33.6085)
Luminance0.0415 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#391AA0 #81A01A
analogous
#1A3EA0 #391AA0 #7C1AA0
triadic
#391AA0 #A0391A #1AA039
tetradic
#391AA0 #A01A3E #81A01A #1AA07C
square
#391AA0 #A01A3E #81A01A #1AA07C
split-complementary
#391AA0 #A07C1A #3EA01A
monochromatic
#130937 #26116B #391AA0 #4C23D5 #7352E3

Accessibility & contrast

On white

11.48
#391AA0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #391AA0
11.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##391AA0#FFFFFF#000000##FFFFFF
##391AA01.0011.481.8311.48
#FFFFFF11.481.0021.001.00
#0000001.8321.001.0021.00
##FFFFFF11.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003EA4
Deuteranopia (green-blind)
#00359E
Tritanopia (blue-blind)
#00445F
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #391aa0;
/* rgb */ color: rgb(57, 26, 160);
/* oklch */ color: oklch(36.9% 0.194 281.8);
Tailwind
colors: {
  custom: {
    50: '#7e5dbd',
    500: '#391aa0',
    950: '#000000',
  },
}
SCSS
$custom: #391aa0;
$custom-light: #7e5dbd;
$custom-dark: #000000;
JSON
{
  "hex": "#391aa0",
  "rgb": {
    "r": 57,
    "g": 26,
    "b": 160
  },
  "hsl": {
    "h": 253.881,
    "s": 72.043,
    "l": 36.471
  },
  "oklch": {
    "l": 0.36874,
    "c": 0.19434,
    "h": 281.8
  },
  "luminance": 0.04147
}

Semantic roles & 50–950 ramp

primary
#391AA0
secondary
#AAC550
accent
#EF39C5
background
#F8F5FB
surface
#EFE9F7
border
#CAC5D0
text
#0B0412
muted
#7C7981

Preview Lab

Preview with #391AA0

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

Preview Lab → · Contrast checker → · Palette generator →

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