#391BA7#391BA7

#391BA7 is a dark, highly saturated violet. Relative luminance 0.044; OKLCH L 37.8% C 0.202 H 280.5°. Best body text is #FFFFFF at 11.12:1 contrast (WCAG AA passes).

Color values

HEX#391BA7
RGBrgb(57, 27, 167)
HSLhsl(253, 72%, 38%)
HSVhsv(253, 84%, 65%)
CMYKcmyk(65.9%, 83.8%, 0%, 34.5%)
CIE-LABlab(25.09, 51.24, -68.64)
CIE-LCHlch(25.09, 85.66, 306.74°)
OKLaboklab(37.75% 0.0368 -0.1981)
OKLCHoklch(37.75% 0.202 280.5)
XYZxyz(9.0521, 4.4430, 36.9323)
Luminance0.0444 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#391BA7 #89A71B
analogous
#1B43A7 #391BA7 #7F1BA7
triadic
#391BA7 #A7391B #1BA739
tetradic
#391BA7 #A71B43 #89A71B #1BA77F
square
#391BA7 #A71B43 #89A71B #1BA77F
split-complementary
#391BA7 #A77F1B #43A71B
monochromatic
#150A3E #271272 #391BA7 #4B24DC #7658E4

Accessibility & contrast

On white

11.12
#391BA7 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.89
#391BA7 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #391BA7
11.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##391BA7#FFFFFF#000000##FFFFFF
##391BA71.0011.121.8911.12
#FFFFFF11.121.0021.001.00
#0000001.8921.001.0021.00
##FFFFFF11.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0040AB
Deuteranopia (green-blind)
#0036A5
Tritanopia (blue-blind)
#004863
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #391ba7;
/* rgb */ color: rgb(57, 27, 167);
/* oklch */ color: oklch(37.8% 0.202 280.5);
Tailwind
colors: {
  custom: {
    50: '#805ec3',
    500: '#391ba7',
    950: '#000000',
  },
}
SCSS
$custom: #391ba7;
$custom-light: #805ec3;
$custom-dark: #000000;
JSON
{
  "hex": "#391ba7",
  "rgb": {
    "r": 57,
    "g": 27,
    "b": 167
  },
  "hsl": {
    "h": 252.857,
    "s": 72.165,
    "l": 38.039
  },
  "oklch": {
    "l": 0.3775,
    "c": 0.2015,
    "h": 280.5
  },
  "luminance": 0.04444
}

Semantic roles & 50–950 ramp

primary
#391BA7
secondary
#AFC856
accent
#EF39C8
background
#F8F5FC
surface
#F0E9F8
border
#CBC5D1
text
#0C0513
muted
#7D7982

Preview Lab

Preview with #391BA7

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

Preview Lab → · Contrast checker → · Palette generator →

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