#391A99#391A99

#391A99 is a dark, vivid violet. Relative luminance 0.039; OKLCH L 36.1% C 0.186 H 283.0°. Best body text is #FFFFFF at 11.79:1 contrast (WCAG AA passes).

Color values

HEX#391A99
RGBrgb(57, 26, 153)
HSLhsl(255, 71%, 35%)
HSVhsv(255, 83%, 60%)
CMYKcmyk(62.7%, 83%, 0%, 40%)
CIE-LABlab(23.36, 47.65, -62.95)
CIE-LCHlch(23.36, 78.95, 307.12°)
OKLaboklab(36.1% 0.042 -0.1815)
OKLCHoklch(36.1% 0.186 283)
XYZxyz(7.8047, 3.9080, 30.4739)
Luminance0.0391 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#391A99 #7A991A
analogous
#1A3A99 #391A99 #791A99
triadic
#391A99 #99391A #1A9939
tetradic
#391A99 #991A3A #7A991A #1A9979
square
#391A99 #991A3A #7A991A #1A9979
split-complementary
#391A99 #99791A #3A991A
monochromatic
#120830 #261165 #391A99 #4C23CD #714DE1

Accessibility & contrast

On white

11.79
#391A99 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.78
#391A99 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #391A99
11.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##391A99#FFFFFF#000000##FFFFFF
##391A991.0011.791.7811.79
#FFFFFF11.791.0021.001.00
#0000001.7821.001.0021.00
##FFFFFF11.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003B9C
Deuteranopia (green-blind)
#003397
Tritanopia (blue-blind)
#00415B
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #391a99;
/* rgb */ color: rgb(57, 26, 153);
/* oklch */ color: oklch(36.1% 0.186 283.0);
Tailwind
colors: {
  custom: {
    50: '#7d5cb8',
    500: '#391a99',
    950: '#000000',
  },
}
SCSS
$custom: #391a99;
$custom-light: #7d5cb8;
$custom-dark: #000000;
JSON
{
  "hex": "#391a99",
  "rgb": {
    "r": 57,
    "g": 26,
    "b": 153
  },
  "hsl": {
    "h": 254.646,
    "s": 70.95,
    "l": 35.098
  },
  "oklch": {
    "l": 0.36103,
    "c": 0.18636,
    "h": 283
  },
  "luminance": 0.03909
}

Semantic roles & 50–950 ramp

primary
#391A99
secondary
#A6C34C
accent
#EE3AC2
background
#F8F5FB
surface
#EFE9F6
border
#CAC5D0
text
#0B0412
muted
#7C7981

Preview Lab

Preview with #391A99

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

Preview Lab → · Contrast checker → · Palette generator →

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