#391C96#391C96

#391C96 is a dark, vivid violet. Relative luminance 0.039; OKLCH L 36.0% C 0.181 H 283.4°. Best body text is #FFFFFF at 11.80:1 contrast (WCAG AA passes).

Color values

HEX#391C96
RGBrgb(57, 28, 150)
HSLhsl(254, 69%, 35%)
HSVhsv(254, 81%, 59%)
CMYKcmyk(62%, 81.3%, 0%, 41.2%)
CIE-LABlab(23.34, 45.88, -61.14)
CIE-LCHlch(23.34, 76.44, 306.88°)
OKLaboklab(35.99% 0.0419 -0.1763)
OKLCHoklch(35.99% 0.181 283.4)
XYZxyz(7.6059, 3.9019, 29.2006)
Luminance0.0390 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#391C96 #79961C
analogous
#1C3C96 #391C96 #761C96
triadic
#391C96 #96391C #1C9639
tetradic
#391C96 #961C3C #79961C #1C9676
square
#391C96 #961C3C #79961C #1C9676
split-complementary
#391C96 #96761C #3C961C
monochromatic
#12092F #251262 #391C96 #4D26CA #714EDE

Accessibility & contrast

On white

11.80
#391C96 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.78
#391C96 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #391C96
11.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##391C96#FFFFFF#000000##FFFFFF
##391C961.0011.801.7811.80
#FFFFFF11.801.0021.001.00
#0000001.7821.001.0021.00
##FFFFFF11.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003B99
Deuteranopia (green-blind)
#003494
Tritanopia (blue-blind)
#004159
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #391c96;
/* rgb */ color: rgb(57, 28, 150);
/* oklch */ color: oklch(36.0% 0.181 283.4);
Tailwind
colors: {
  custom: {
    50: '#7c5db6',
    500: '#391c96',
    950: '#000000',
  },
}
SCSS
$custom: #391c96;
$custom-light: #7c5db6;
$custom-dark: #000000;
JSON
{
  "hex": "#391c96",
  "rgb": {
    "r": 57,
    "g": 28,
    "b": 150
  },
  "hsl": {
    "h": 254.262,
    "s": 68.539,
    "l": 34.902
  },
  "oklch": {
    "l": 0.35992,
    "c": 0.18121,
    "h": 283.4
  },
  "luminance": 0.03902
}

Semantic roles & 50–950 ramp

primary
#391C96
secondary
#A5C14D
accent
#EB3CC2
background
#F8F5FB
surface
#EFE9F6
border
#CAC5D0
text
#0B0411
muted
#7C7980

Preview Lab

Preview with #391C96

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

Preview Lab → · Contrast checker → · Palette generator →

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