#391E97#391E97

#391E97 is a dark, vivid violet. Relative luminance 0.040; OKLCH L 36.3% C 0.181 H 282.9°. Best body text is #FFFFFF at 11.62:1 contrast (WCAG AA passes).

Color values

HEX#391E97
RGBrgb(57, 30, 151)
HSLhsl(253, 67%, 35%)
HSVhsv(253, 80%, 59%)
CMYKcmyk(62.3%, 80.1%, 0%, 40.8%)
CIE-LABlab(23.78, 45.23, -61.04)
CIE-LCHlch(23.78, 75.97, 306.54°)
OKLaboklab(36.33% 0.0404 -0.176)
OKLCHoklch(36.33% 0.181 282.9)
XYZxyz(7.7358, 4.0322, 29.6428)
Luminance0.0403 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#391E97 #7C971E
analogous
#1E4097 #391E97 #751E97
triadic
#391E97 #97391E #1E9739
tetradic
#391E97 #971E40 #7C971E #1E9775
square
#391E97 #971E40 #7C971E #1E9775
split-complementary
#391E97 #97751E #40971E
monochromatic
#120A31 #261464 #391E97 #4C28CA #7153DD

Accessibility & contrast

On white

11.62
#391E97 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.81
#391E97 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #391E97
11.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##391E97#FFFFFF#000000##FFFFFF
##391E971.0011.621.8111.62
#FFFFFF11.621.0021.001.00
#0000001.8121.001.0021.00
##FFFFFF11.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003C9A
Deuteranopia (green-blind)
#003495
Tritanopia (blue-blind)
#00425A
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #391e97;
/* rgb */ color: rgb(57, 30, 151);
/* oklch */ color: oklch(36.3% 0.181 282.9);
Tailwind
colors: {
  custom: {
    50: '#7c5eb7',
    500: '#391e97',
    950: '#000000',
  },
}
SCSS
$custom: #391e97;
$custom-light: #7c5eb7;
$custom-dark: #000000;
JSON
{
  "hex": "#391e97",
  "rgb": {
    "r": 57,
    "g": 30,
    "b": 151
  },
  "hsl": {
    "h": 253.388,
    "s": 66.851,
    "l": 35.49
  },
  "oklch": {
    "l": 0.36325,
    "c": 0.18061,
    "h": 282.9
  },
  "luminance": 0.04033
}

Semantic roles & 50–950 ramp

primary
#391E97
secondary
#A7C051
accent
#EA3EC3
background
#F8F5FB
surface
#EFE9F6
border
#CAC5D0
text
#0B0511
muted
#7C7980

Preview Lab

Preview with #391E97

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

Preview Lab → · Contrast checker → · Palette generator →

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