#391C9E#391C9E

#391C9E is a dark, vivid violet. Relative luminance 0.042; OKLCH L 36.9% C 0.190 H 281.9°. Best body text is #FFFFFF at 11.45:1 contrast (WCAG AA passes).

Color values

HEX#391C9E
RGBrgb(57, 28, 158)
HSLhsl(253, 70%, 36%)
HSVhsv(253, 82%, 62%)
CMYKcmyk(63.9%, 82.3%, 0%, 38%)
CIE-LABlab(24.22, 48.22, -64.60)
CIE-LCHlch(24.22, 80.61, 306.74°)
OKLaboklab(36.86% 0.0393 -0.1864)
OKLCHoklch(36.86% 0.19 281.9)
XYZxyz(8.2722, 4.1684, 32.7098)
Luminance0.0417 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#391C9E #819E1C
analogous
#1C409E #391C9E #7A1C9E
triadic
#391C9E #9E391C #1C9E39
tetradic
#391C9E #9E1C40 #819E1C #1C9E7A
square
#391C9E #9E1C40 #819E1C #1C9E7A
split-complementary
#391C9E #9E7A1C #409E1C
monochromatic
#130A36 #26136A #391C9E #4C25D2 #7354E1

Accessibility & contrast

On white

11.45
#391C9E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #391C9E
11.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##391C9E#FFFFFF#000000##FFFFFF
##391C9E1.0011.451.8311.45
#FFFFFF11.451.0021.001.00
#0000001.8321.001.0021.00
##FFFFFF11.451.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #391c9e;
/* rgb */ color: rgb(57, 28, 158);
/* oklch */ color: oklch(36.9% 0.190 281.9);
Tailwind
colors: {
  custom: {
    50: '#7e5ebc',
    500: '#391c9e',
    950: '#000000',
  },
}
SCSS
$custom: #391c9e;
$custom-light: #7e5ebc;
$custom-dark: #000000;
JSON
{
  "hex": "#391c9e",
  "rgb": {
    "r": 57,
    "g": 28,
    "b": 158
  },
  "hsl": {
    "h": 253.385,
    "s": 69.892,
    "l": 36.471
  },
  "oklch": {
    "l": 0.36857,
    "c": 0.19048,
    "h": 281.9
  },
  "luminance": 0.04169
}

Semantic roles & 50–950 ramp

primary
#391C9E
secondary
#AAC452
accent
#ED3BC5
background
#F8F5FB
surface
#EFE9F7
border
#CAC5D0
text
#0B0512
muted
#7C7981

Preview Lab

Preview with #391C9E

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

Preview Lab → · Contrast checker → · Palette generator →

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