#391A89#391A89

#391A89 is a dark, vivid violet. Relative luminance 0.034; OKLCH L 34.4% C 0.168 H 286.4°. Best body text is #FFFFFF at 12.48:1 contrast (WCAG AA passes).

Color values

HEX#391A89
RGBrgb(57, 26, 137)
HSLhsl(257, 68%, 32%)
HSVhsv(257, 81%, 54%)
CMYKcmyk(58.4%, 81%, 0%, 46.3%)
CIE-LABlab(21.63, 43.00, -55.89)
CIE-LCHlch(21.63, 70.51, 307.57°)
OKLaboklab(34.39% 0.0474 -0.1609)
OKLCHoklch(34.39% 0.168 286.4)
XYZxyz(6.5707, 3.4144, 23.9749)
Luminance0.0341 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#391A89 #6A891A
analogous
#1A3289 #391A89 #711A89
triadic
#391A89 #89391A #1A8939
tetradic
#391A89 #891A32 #6A891A #1A8971
square
#391A89 #891A32 #6A891A #1A8971
split-complementary
#391A89 #89711A #32891A
monochromatic
#0E0622 #241056 #391A89 #4E24BC #6D42DB

Accessibility & contrast

On white

12.48
#391A89 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.68
#391A89 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #391A89
12.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##391A89#FFFFFF#000000##FFFFFF
##391A891.0012.481.6812.48
#FFFFFF12.481.0021.001.00
#0000001.6821.001.0021.00
##FFFFFF12.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00378C
Deuteranopia (green-blind)
#003187
Tritanopia (blue-blind)
#123B52
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #391a89;
/* rgb */ color: rgb(57, 26, 137);
/* oklch */ color: oklch(34.4% 0.168 286.4);
Tailwind
colors: {
  custom: {
    50: '#7a5bad',
    500: '#391a89',
    950: '#000000',
  },
}
SCSS
$custom: #391a89;
$custom-light: #7a5bad;
$custom-dark: #000000;
JSON
{
  "hex": "#391a89",
  "rgb": {
    "r": 57,
    "g": 26,
    "b": 137
  },
  "hsl": {
    "h": 256.757,
    "s": 68.098,
    "l": 31.961
  },
  "oklch": {
    "l": 0.34389,
    "c": 0.16779,
    "h": 286.4
  },
  "luminance": 0.03415
}

Semantic roles & 50–950 ramp

primary
#391A89
secondary
#9ABC43
accent
#EB3DBA
background
#F7F5FA
surface
#EEE9F4
border
#C9C5CE
text
#0A0410
muted
#7C797F

Preview Lab

Preview with #391A89

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

Preview Lab → · Contrast checker → · Palette generator →

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