#391E9E#391E9E

#391E9E is a dark, vivid violet. Relative luminance 0.043; OKLCH L 37.1% C 0.189 H 281.7°. Best body text is #FFFFFF at 11.33:1 contrast (WCAG AA passes).

Color values

HEX#391E9E
RGBrgb(57, 30, 158)
HSLhsl(253, 68%, 37%)
HSVhsv(253, 81%, 62%)
CMYKcmyk(63.9%, 81%, 0%, 38%)
CIE-LABlab(24.53, 47.30, -64.09)
CIE-LCHlch(24.53, 79.65, 306.43°)
OKLaboklab(37.07% 0.0382 -0.1849)
OKLCHoklch(37.07% 0.189 281.7)
XYZxyz(8.3212, 4.2664, 32.7261)
Luminance0.0427 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#391E9E #839E1E
analogous
#1E439E #391E9E #791E9E
triadic
#391E9E #9E391E #1E9E39
tetradic
#391E9E #9E1E43 #839E1E #1E9E79
square
#391E9E #9E1E43 #839E1E #1E9E79
split-complementary
#391E9E #9E791E #439E1E
monochromatic
#140A37 #26146B #391E9E #4C28D1 #7457DF

Accessibility & contrast

On white

11.33
#391E9E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.85
#391E9E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #391E9E
11.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##391E9E#FFFFFF#000000##FFFFFF
##391E9E1.0011.331.8511.33
#FFFFFF11.331.0021.001.00
#0000001.8521.001.0021.00
##FFFFFF11.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003EA2
Deuteranopia (green-blind)
#00369C
Tritanopia (blue-blind)
#00455E
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #391e9e;
/* rgb */ color: rgb(57, 30, 158);
/* oklch */ color: oklch(37.1% 0.189 281.7);
Tailwind
colors: {
  custom: {
    50: '#7e5fbc',
    500: '#391e9e',
    950: '#000000',
  },
}
SCSS
$custom: #391e9e;
$custom-light: #7e5fbc;
$custom-dark: #000000;
JSON
{
  "hex": "#391e9e",
  "rgb": {
    "r": 57,
    "g": 30,
    "b": 158
  },
  "hsl": {
    "h": 252.656,
    "s": 68.085,
    "l": 36.863
  },
  "oklch": {
    "l": 0.37074,
    "c": 0.18881,
    "h": 281.7
  },
  "luminance": 0.04267
}

Semantic roles & 50–950 ramp

primary
#391E9E
secondary
#ACC355
accent
#EB3DC6
background
#F8F5FB
surface
#EFE9F7
border
#CAC5D0
text
#0B0512
muted
#7C7981

Preview Lab

Preview with #391E9E

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

Preview Lab → · Contrast checker → · Palette generator →

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