#391A84#391A84

#391A84 is a dark, vivid violet. Relative luminance 0.033; OKLCH L 33.9% C 0.162 H 287.6°. Best body text is #FFFFFF at 12.69:1 contrast (WCAG AA passes).

Color values

HEX#391A84
RGBrgb(57, 26, 132)
HSLhsl(258, 67%, 31%)
HSVhsv(258, 80%, 52%)
CMYKcmyk(56.8%, 80.3%, 0%, 48.2%)
CIE-LABlab(21.11, 41.54, -53.61)
CIE-LCHlch(21.11, 67.81, 307.77°)
OKLaboklab(33.87% 0.0491 -0.1543)
OKLCHoklch(33.87% 0.162 287.6)
XYZxyz(6.2204, 3.2743, 22.1295)
Luminance0.0328 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#391A84 #65841A
analogous
#1A3084 #391A84 #6E1A84
triadic
#391A84 #84391A #1A8439
tetradic
#391A84 #841A30 #65841A #1A846E
square
#391A84 #841A30 #65841A #1A846E
split-complementary
#391A84 #846E1A #30841A
monochromatic
#0D061E #231051 #391A84 #4F24B7 #6C3FD9

Accessibility & contrast

On white

12.69
#391A84 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.66
#391A84 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #391A84
12.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##391A84#FFFFFF#000000##FFFFFF
##391A841.0012.691.6612.69
#FFFFFF12.691.0021.001.00
#0000001.6621.001.0021.00
##FFFFFF12.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003587
Deuteranopia (green-blind)
#003082
Tritanopia (blue-blind)
#18394F
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #391a84;
/* rgb */ color: rgb(57, 26, 132);
/* oklch */ color: oklch(33.9% 0.162 287.6);
Tailwind
colors: {
  custom: {
    50: '#795ba9',
    500: '#391a84',
    950: '#000000',
  },
}
SCSS
$custom: #391a84;
$custom-light: #795ba9;
$custom-dark: #000000;
JSON
{
  "hex": "#391a84",
  "rgb": {
    "r": 57,
    "g": 26,
    "b": 132
  },
  "hsl": {
    "h": 257.547,
    "s": 67.089,
    "l": 30.98
  },
  "oklch": {
    "l": 0.33869,
    "c": 0.16188,
    "h": 287.6
  },
  "luminance": 0.03275
}

Semantic roles & 50–950 ramp

primary
#391A84
secondary
#95B842
accent
#EA3EB8
background
#F7F5FA
surface
#EEE9F4
border
#C9C5CE
text
#0A0410
muted
#7C797F

Preview Lab

Preview with #391A84

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

Preview Lab → · Contrast checker → · Palette generator →

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