#391A79#391A79

#391A79 is a dark, vivid violet. Relative luminance 0.030; OKLCH L 32.8% C 0.149 H 290.6°. Best body text is #FFFFFF at 13.14:1 contrast (WCAG AA passes).

Color values

HEX#391A79
RGBrgb(57, 26, 121)
HSLhsl(260, 65%, 29%)
HSVhsv(260, 79%, 47%)
CMYKcmyk(52.9%, 78.5%, 0%, 52.5%)
CIE-LABlab(20.00, 38.31, -48.45)
CIE-LCHlch(20.00, 61.76, 308.33°)
OKLaboklab(32.76% 0.0524 -0.1392)
OKLCHoklch(32.76% 0.149 290.6)
XYZxyz(5.5069, 2.9889, 18.3722)
Luminance0.0299 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#391A79 #5A791A
analogous
#1A2B79 #391A79 #691A79
triadic
#391A79 #79391A #1A7939
tetradic
#391A79 #791A2B #5A791A #1A7969
square
#391A79 #791A2B #5A791A #1A7969
split-complementary
#391A79 #79691A #2B791A
monochromatic
#0C0519 #210F47 #391A79 #5125AB #6C39D4

Accessibility & contrast

On white

13.14
#391A79 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.60
#391A79 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #391A79
13.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##391A79#FFFFFF#000000##FFFFFF
##391A791.0013.141.6013.14
#FFFFFF13.141.0021.001.00
#0000001.6021.001.0021.00
##FFFFFF13.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00327C
Deuteranopia (green-blind)
#002E77
Tritanopia (blue-blind)
#223448
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #391a79;
/* rgb */ color: rgb(57, 26, 121);
/* oklch */ color: oklch(32.8% 0.149 290.6);
Tailwind
colors: {
  custom: {
    50: '#775aa1',
    500: '#391a79',
    950: '#000000',
  },
}
SCSS
$custom: #391a79;
$custom-light: #775aa1;
$custom-dark: #000000;
JSON
{
  "hex": "#391a79",
  "rgb": {
    "r": 57,
    "g": 26,
    "b": 121
  },
  "hsl": {
    "h": 259.579,
    "s": 64.626,
    "l": 28.824
  },
  "oklch": {
    "l": 0.32756,
    "c": 0.14871,
    "h": 290.6
  },
  "luminance": 0.02989
}

Semantic roles & 50–950 ramp

primary
#391A79
secondary
#8AAD41
accent
#E840B1
background
#F7F5FA
surface
#EEE9F3
border
#C9C5CD
text
#09040F
muted
#7B797F

Preview Lab

Preview with #391A79

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

Preview Lab → · Contrast checker → · Palette generator →

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