#391E96#391E96

#391E96 is a dark, vivid violet. Relative luminance 0.040; OKLCH L 36.2% C 0.179 H 283.1°. Best body text is #FFFFFF at 11.67:1 contrast (WCAG AA passes).

Color values

HEX#391E96
RGBrgb(57, 30, 150)
HSLhsl(254, 67%, 35%)
HSVhsv(254, 80%, 59%)
CMYKcmyk(62%, 80%, 0%, 41.2%)
CIE-LABlab(23.67, 44.93, -60.60)
CIE-LCHlch(23.67, 75.44, 306.55°)
OKLaboklab(36.22% 0.0407 -0.1747)
OKLCHoklch(36.22% 0.179 283.1)
XYZxyz(7.6549, 3.9999, 29.2169)
Luminance0.0400 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#391E96 #7B961E
analogous
#1E3F96 #391E96 #751E96
triadic
#391E96 #96391E #1E9639
tetradic
#391E96 #961E3F #7B961E #1E9675
square
#391E96 #961E3F #7B961E #1E9675
split-complementary
#391E96 #96751E #3F961E
monochromatic
#120A30 #261463 #391E96 #4C28C9 #7152DC

Accessibility & contrast

On white

11.67
#391E96 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.80
#391E96 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #391E96
11.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##391E96#FFFFFF#000000##FFFFFF
##391E961.0011.671.8011.67
#FFFFFF11.671.0021.001.00
#0000001.8021.001.0021.00
##FFFFFF11.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003C99
Deuteranopia (green-blind)
#003494
Tritanopia (blue-blind)
#00425A
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #391e96;
/* rgb */ color: rgb(57, 30, 150);
/* oklch */ color: oklch(36.2% 0.179 283.1);
Tailwind
colors: {
  custom: {
    50: '#7c5eb6',
    500: '#391e96',
    950: '#000000',
  },
}
SCSS
$custom: #391e96;
$custom-light: #7c5eb6;
$custom-dark: #000000;
JSON
{
  "hex": "#391e96",
  "rgb": {
    "r": 57,
    "g": 30,
    "b": 150
  },
  "hsl": {
    "h": 253.5,
    "s": 66.667,
    "l": 35.294
  },
  "oklch": {
    "l": 0.36219,
    "c": 0.17943,
    "h": 283.1
  },
  "luminance": 0.04
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #391E96

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

Preview Lab → · Contrast checker → · Palette generator →

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