#391E91#391E91

#391E91 is a dark, vivid violet. Relative luminance 0.038; OKLCH L 35.7% C 0.173 H 284.1°. Best body text is #FFFFFF at 11.87:1 contrast (WCAG AA passes).

Color values

HEX#391E91
RGBrgb(57, 30, 145)
HSLhsl(254, 66%, 34%)
HSVhsv(254, 79%, 57%)
CMYKcmyk(60.7%, 79.3%, 0%, 43.1%)
CIE-LABlab(23.14, 43.44, -58.38)
CIE-LCHlch(23.14, 72.77, 306.65°)
OKLaboklab(35.69% 0.0423 -0.1683)
OKLCHoklch(35.69% 0.173 284.1)
XYZxyz(7.2609, 3.8423, 27.1416)
Luminance0.0384 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#391E91 #76911E
analogous
#1E3D91 #391E91 #731E91
triadic
#391E91 #91391E #1E9139
tetradic
#391E91 #911E3D #76911E #1E9173
square
#391E91 #911E3D #76911E #1E9173
split-complementary
#391E91 #91731E #3D911E
monochromatic
#11092C #25145E #391E91 #4D28C4 #704FDB

Accessibility & contrast

On white

11.87
#391E91 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.77
#391E91 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #391E91
11.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##391E91#FFFFFF#000000##FFFFFF
##391E911.0011.871.7711.87
#FFFFFF11.871.0021.001.00
#0000001.7721.001.0021.00
##FFFFFF11.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003A94
Deuteranopia (green-blind)
#00338F
Tritanopia (blue-blind)
#004057
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #391e91;
/* rgb */ color: rgb(57, 30, 145);
/* oklch */ color: oklch(35.7% 0.173 284.1);
Tailwind
colors: {
  custom: {
    50: '#7b5eb2',
    500: '#391e91',
    950: '#000000',
  },
}
SCSS
$custom: #391e91;
$custom-light: #7b5eb2;
$custom-dark: #000000;
JSON
{
  "hex": "#391e91",
  "rgb": {
    "r": 57,
    "g": 30,
    "b": 145
  },
  "hsl": {
    "h": 254.087,
    "s": 65.714,
    "l": 34.314
  },
  "oklch": {
    "l": 0.35693,
    "c": 0.17349,
    "h": 284.1
  },
  "luminance": 0.03843
}

Semantic roles & 50–950 ramp

primary
#391E91
secondary
#A3BD4D
accent
#E93FC1
background
#F8F5FB
surface
#EFE9F6
border
#CAC5D0
text
#0A0411
muted
#7C7980

Preview Lab

Preview with #391E91

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

Preview Lab → · Contrast checker → · Palette generator →

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