#391E99#391E99

#391E99 is a dark, vivid violet. Relative luminance 0.041; OKLCH L 36.5% C 0.183 H 282.6°. Best body text is #FFFFFF at 11.54:1 contrast (WCAG AA passes).

Color values

HEX#391E99
RGBrgb(57, 30, 153)
HSLhsl(253, 67%, 36%)
HSVhsv(253, 80%, 60%)
CMYKcmyk(62.7%, 80.4%, 0%, 40%)
CIE-LABlab(23.99, 45.82, -61.92)
CIE-LCHlch(23.99, 77.03, 306.50°)
OKLaboklab(36.54% 0.0398 -0.1786)
OKLCHoklch(36.54% 0.183 282.6)
XYZxyz(7.8996, 4.0978, 30.5055)
Luminance0.0410 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#391E99 #7E991E
analogous
#1E4099 #391E99 #761E99
triadic
#391E99 #99391E #1E9939
tetradic
#391E99 #991E40 #7E991E #1E9976
square
#391E99 #991E40 #7E991E #1E9976
split-complementary
#391E99 #99761E #40991E
monochromatic
#130A33 #261466 #391E99 #4C28CC #7254DD

Accessibility & contrast

On white

11.54
#391E99 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.82
#391E99 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #391E99
11.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##391E99#FFFFFF#000000##FFFFFF
##391E991.0011.541.8211.54
#FFFFFF11.541.0021.001.00
#0000001.8221.001.0021.00
##FFFFFF11.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003D9C
Deuteranopia (green-blind)
#003597
Tritanopia (blue-blind)
#00435C
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #391e99;
/* rgb */ color: rgb(57, 30, 153);
/* oklch */ color: oklch(36.5% 0.183 282.6);
Tailwind
colors: {
  custom: {
    50: '#7d5eb8',
    500: '#391e99',
    950: '#000000',
  },
}
SCSS
$custom: #391e99;
$custom-light: #7d5eb8;
$custom-dark: #000000;
JSON
{
  "hex": "#391e99",
  "rgb": {
    "r": 57,
    "g": 30,
    "b": 153
  },
  "hsl": {
    "h": 253.171,
    "s": 67.213,
    "l": 35.882
  },
  "oklch": {
    "l": 0.36538,
    "c": 0.18296,
    "h": 282.6
  },
  "luminance": 0.04098
}

Semantic roles & 50–950 ramp

primary
#391E99
secondary
#A8C152
accent
#EA3EC4
background
#F8F5FB
surface
#EFE9F6
border
#CAC5D0
text
#0B0512
muted
#7C7981

Preview Lab

Preview with #391E99

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

Preview Lab → · Contrast checker → · Palette generator →

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