#391C99#391C99

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

Color values

HEX#391C99
RGBrgb(57, 28, 153)
HSLhsl(254, 69%, 35%)
HSVhsv(254, 82%, 60%)
CMYKcmyk(62.7%, 81.7%, 0%, 40%)
CIE-LABlab(23.67, 46.76, -62.45)
CIE-LCHlch(23.67, 78.01, 306.82°)
OKLaboklab(36.32% 0.041 -0.1801)
OKLCHoklch(36.32% 0.185 282.8)
XYZxyz(7.8506, 3.9997, 30.4891)
Luminance0.0400 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#391C99 #7C991C
analogous
#1C3D99 #391C99 #771C99
triadic
#391C99 #99391C #1C9939
tetradic
#391C99 #991C3D #7C991C #1C9977
square
#391C99 #991C3D #7C991C #1C9977
split-complementary
#391C99 #99771C #3D991C
monochromatic
#120932 #261365 #391C99 #4C25CD #7150DF

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##391C99#FFFFFF#000000##FFFFFF
##391C991.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)
#003C9C
Deuteranopia (green-blind)
#003497
Tritanopia (blue-blind)
#00425B
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #391c99;
/* rgb */ color: rgb(57, 28, 153);
/* oklch */ color: oklch(36.3% 0.185 282.8);
Tailwind
colors: {
  custom: {
    50: '#7d5db8',
    500: '#391c99',
    950: '#000000',
  },
}
SCSS
$custom: #391c99;
$custom-light: #7d5db8;
$custom-dark: #000000;
JSON
{
  "hex": "#391c99",
  "rgb": {
    "r": 57,
    "g": 28,
    "b": 153
  },
  "hsl": {
    "h": 253.92,
    "s": 69.061,
    "l": 35.49
  },
  "oklch": {
    "l": 0.36315,
    "c": 0.1847,
    "h": 282.8
  },
  "luminance": 0.04
}

Semantic roles & 50–950 ramp

primary
#391C99
secondary
#A7C24F
accent
#EC3CC3
background
#F8F5FB
surface
#EFE9F6
border
#CAC5D0
text
#0B0412
muted
#7C7981

Preview Lab

Preview with #391C99

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

Preview Lab → · Contrast checker → · Palette generator →

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