#391E9A#391E9A

#391E9A is a dark, vivid violet. Relative luminance 0.041; OKLCH L 36.6% C 0.184 H 282.4°. Best body text is #FFFFFF at 11.50:1 contrast (WCAG AA passes).

Color values

HEX#391E9A
RGBrgb(57, 30, 154)
HSLhsl(253, 67%, 36%)
HSVhsv(253, 81%, 60%)
CMYKcmyk(63%, 80.5%, 0%, 39.6%)
CIE-LABlab(24.10, 46.12, -62.35)
CIE-LCHlch(24.10, 77.56, 306.49°)
OKLaboklab(36.64% 0.0395 -0.1798)
OKLCHoklch(36.64% 0.184 282.4)
XYZxyz(7.9825, 4.1309, 30.9423)
Luminance0.0413 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#391E9A #7F9A1E
analogous
#1E419A #391E9A #771E9A
triadic
#391E9A #9A391E #1E9A39
tetradic
#391E9A #9A1E41 #7F9A1E #1E9A77
square
#391E9A #9A1E41 #7F9A1E #1E9A77
split-complementary
#391E9A #9A771E #419A1E
monochromatic
#130A34 #261467 #391E9A #4C28CD #7255DE

Accessibility & contrast

On white

11.50
#391E9A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.83
#391E9A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #391E9A
11.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##391E9A#FFFFFF#000000##FFFFFF
##391E9A1.0011.501.8311.50
#FFFFFF11.501.0021.001.00
#0000001.8321.001.0021.00
##FFFFFF11.501.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #391e9a;
/* rgb */ color: rgb(57, 30, 154);
/* oklch */ color: oklch(36.6% 0.184 282.4);
Tailwind
colors: {
  custom: {
    50: '#7d5eb9',
    500: '#391e9a',
    950: '#000000',
  },
}
SCSS
$custom: #391e9a;
$custom-light: #7d5eb9;
$custom-dark: #000000;
JSON
{
  "hex": "#391e9a",
  "rgb": {
    "r": 57,
    "g": 30,
    "b": 154
  },
  "hsl": {
    "h": 253.065,
    "s": 67.391,
    "l": 36.078
  },
  "oklch": {
    "l": 0.36644,
    "c": 0.18414,
    "h": 282.4
  },
  "luminance": 0.04131
}

Semantic roles & 50–950 ramp

primary
#391E9A
secondary
#A9C153
accent
#EA3EC5
background
#F8F5FB
surface
#EFE9F6
border
#CAC5D0
text
#0B0512
muted
#7C7981

Preview Lab

Preview with #391E9A

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

Preview Lab → · Contrast checker → · Palette generator →

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