#391C92#391C92

#391C92 is a dark, vivid violet. Relative luminance 0.038; OKLCH L 35.6% C 0.177 H 284.2°. Best body text is #FFFFFF at 11.96:1 contrast (WCAG AA passes).

Color values

HEX#391C92
RGBrgb(57, 28, 146)
HSLhsl(255, 68%, 34%)
HSVhsv(255, 81%, 57%)
CMYKcmyk(61%, 80.8%, 0%, 42.7%)
CIE-LABlab(22.91, 44.70, -59.38)
CIE-LCHlch(22.91, 74.32, 306.97°)
OKLaboklab(35.57% 0.0432 -0.1712)
OKLCHoklch(35.57% 0.177 284.2)
XYZxyz(7.2893, 3.7752, 27.5331)
Luminance0.0378 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#391C92 #75921C
analogous
#1C3A92 #391C92 #741C92
triadic
#391C92 #92391C #1C9239
tetradic
#391C92 #921C3A #75921C #1C9274
square
#391C92 #921C3A #75921C #1C9274
split-complementary
#391C92 #92741C #3A921C
monochromatic
#11082B #25125F #391C92 #4D26C5 #6F4CDD

Accessibility & contrast

On white

11.96
#391C92 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.76
#391C92 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #391C92
11.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##391C92#FFFFFF#000000##FFFFFF
##391C921.0011.961.7611.96
#FFFFFF11.961.0021.001.00
#0000001.7621.001.0021.00
##FFFFFF11.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003A95
Deuteranopia (green-blind)
#003390
Tritanopia (blue-blind)
#003F57
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #391c92;
/* rgb */ color: rgb(57, 28, 146);
/* oklch */ color: oklch(35.6% 0.177 284.2);
Tailwind
colors: {
  custom: {
    50: '#7b5db3',
    500: '#391c92',
    950: '#000000',
  },
}
SCSS
$custom: #391c92;
$custom-light: #7b5db3;
$custom-dark: #000000;
JSON
{
  "hex": "#391c92",
  "rgb": {
    "r": 57,
    "g": 28,
    "b": 146
  },
  "hsl": {
    "h": 254.746,
    "s": 67.816,
    "l": 34.118
  },
  "oklch": {
    "l": 0.35565,
    "c": 0.17653,
    "h": 284.2
  },
  "luminance": 0.03776
}

Semantic roles & 50–950 ramp

primary
#391C92
secondary
#A2BF4B
accent
#EB3DC0
background
#F8F5FB
surface
#EFE9F6
border
#CAC5D0
text
#0B0411
muted
#7C7980

Preview Lab

Preview with #391C92

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

Preview Lab → · Contrast checker → · Palette generator →

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