#391AA7#391AA7

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

Color values

HEX#391AA7
RGBrgb(57, 26, 167)
HSLhsl(253, 73%, 38%)
HSVhsv(253, 84%, 65%)
CMYKcmyk(65.9%, 84.4%, 0%, 34.5%)
CIE-LABlab(24.95, 51.66, -68.87)
CIE-LCHlch(24.95, 86.09, 306.87°)
OKLaboklab(37.65% 0.0372 -0.1988)
OKLCHoklch(37.65% 0.202 280.6)
XYZxyz(9.0296, 4.3979, 36.9248)
Luminance0.0440 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#391AA7 #88A71A
analogous
#1A42A7 #391AA7 #7F1AA7
triadic
#391AA7 #A7391A #1AA739
tetradic
#391AA7 #A71A42 #88A71A #1AA77F
square
#391AA7 #A71A42 #88A71A #1AA77F
split-complementary
#391AA7 #A77F1A #42A71A
monochromatic
#150A3D #271272 #391AA7 #4B22DC #7657E5

Accessibility & contrast

On white

11.17
#391AA7 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.88
#391AA7 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #391AA7
11.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##391AA7#FFFFFF#000000##FFFFFF
##391AA71.0011.171.8811.17
#FFFFFF11.171.0021.001.00
#0000001.8821.001.0021.00
##FFFFFF11.171.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #391aa7;
/* rgb */ color: rgb(57, 26, 167);
/* oklch */ color: oklch(37.7% 0.202 280.6);
Tailwind
colors: {
  custom: {
    50: '#805dc3',
    500: '#391aa7',
    950: '#000000',
  },
}
SCSS
$custom: #391aa7;
$custom-light: #805dc3;
$custom-dark: #000000;
JSON
{
  "hex": "#391aa7",
  "rgb": {
    "r": 57,
    "g": 26,
    "b": 167
  },
  "hsl": {
    "h": 253.191,
    "s": 73.057,
    "l": 37.843
  },
  "oklch": {
    "l": 0.37654,
    "c": 0.20223,
    "h": 280.6
  },
  "luminance": 0.04399
}

Semantic roles & 50–950 ramp

primary
#391AA7
secondary
#AFC855
accent
#F038C7
background
#F8F5FC
surface
#F0E9F8
border
#CBC5D1
text
#0C0513
muted
#7D7982

Preview Lab

Preview with #391AA7

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

Preview Lab → · Contrast checker → · Palette generator →

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