#391E79#391E79

#391E79 is a dark, vivid violet. Relative luminance 0.032; OKLCH L 33.3% C 0.144 H 289.8°. Best body text is #FFFFFF at 12.84:1 contrast (WCAG AA passes).

Color values

HEX#391E79
RGBrgb(57, 30, 121)
HSLhsl(258, 60%, 30%)
HSVhsv(258, 75%, 47%)
CMYKcmyk(52.9%, 75.2%, 0%, 52.5%)
CIE-LABlab(20.75, 36.20, -47.23)
CIE-LCHlch(20.75, 59.50, 307.47°)
OKLaboklab(33.28% 0.0488 -0.1356)
OKLCHoklch(33.28% 0.144 289.8)
XYZxyz(5.6018, 3.1786, 18.4038)
Luminance0.0318 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#391E79 #5E791E
analogous
#1E3179 #391E79 #671E79
triadic
#391E79 #79391E #1E7939
tetradic
#391E79 #791E31 #5E791E #1E7967
square
#391E79 #791E31 #5E791E #1E7967
split-complementary
#391E79 #79671E #31791E
monochromatic
#0C0619 #221248 #391E79 #502AAA #6C41D0

Accessibility & contrast

On white

12.84
#391E79 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.64
#391E79 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #391E79
12.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##391E79#FFFFFF#000000##FFFFFF
##391E791.0012.841.6412.84
#FFFFFF12.841.0021.001.00
#0000001.6421.001.0021.00
##FFFFFF12.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00347C
Deuteranopia (green-blind)
#003077
Tritanopia (blue-blind)
#223649
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #391e79;
/* rgb */ color: rgb(57, 30, 121);
/* oklch */ color: oklch(33.3% 0.144 289.8);
Tailwind
colors: {
  custom: {
    50: '#775da1',
    500: '#391e79',
    950: '#000000',
  },
}
SCSS
$custom: #391e79;
$custom-light: #775da1;
$custom-dark: #000000;
JSON
{
  "hex": "#391e79",
  "rgb": {
    "r": 57,
    "g": 30,
    "b": 121
  },
  "hsl": {
    "h": 257.802,
    "s": 60.265,
    "l": 29.608
  },
  "oklch": {
    "l": 0.33282,
    "c": 0.14415,
    "h": 289.8
  },
  "luminance": 0.03179
}

Semantic roles & 50–950 ramp

primary
#391E79
secondary
#8EAD46
accent
#E344B4
background
#F7F5FA
surface
#EEE9F3
border
#C9C5CD
text
#09040F
muted
#7B797F

Preview Lab

Preview with #391E79

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

Preview Lab → · Contrast checker → · Palette generator →

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