#391C85#391C85

#391C85 is a dark, vivid violet. Relative luminance 0.034; OKLCH L 34.2% C 0.161 H 287.1°. Best body text is #FFFFFF at 12.51:1 contrast (WCAG AA passes).

Color values

HEX#391C85
RGBrgb(57, 28, 133)
HSLhsl(257, 65%, 32%)
HSVhsv(257, 79%, 52%)
CMYKcmyk(57.1%, 78.9%, 0%, 47.8%)
CIE-LABlab(21.56, 40.85, -53.50)
CIE-LCHlch(21.56, 67.31, 307.36°)
OKLaboklab(34.21% 0.0473 -0.154)
OKLCHoklch(34.21% 0.161 287.1)
XYZxyz(6.3350, 3.3935, 22.5070)
Luminance0.0339 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#391C85 #68851C
analogous
#1C3485 #391C85 #6E1C85
triadic
#391C85 #85391C #1C8539
tetradic
#391C85 #851C34 #68851C #1C856E
square
#391C85 #851C34 #68851C #1C856E
split-complementary
#391C85 #856E1C #34851C
monochromatic
#0E0720 #231152 #391C85 #4F27B8 #6D44D8

Accessibility & contrast

On white

12.51
#391C85 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.68
#391C85 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #391C85
12.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##391C85#FFFFFF#000000##FFFFFF
##391C851.0012.511.6812.51
#FFFFFF12.511.0021.001.00
#0000001.6821.001.0021.00
##FFFFFF12.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003688
Deuteranopia (green-blind)
#003183
Tritanopia (blue-blind)
#173A50
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #391c85;
/* rgb */ color: rgb(57, 28, 133);
/* oklch */ color: oklch(34.2% 0.161 287.1);
Tailwind
colors: {
  custom: {
    50: '#795caa',
    500: '#391c85',
    950: '#000000',
  },
}
SCSS
$custom: #391c85;
$custom-light: #795caa;
$custom-dark: #000000;
JSON
{
  "hex": "#391c85",
  "rgb": {
    "r": 57,
    "g": 28,
    "b": 133
  },
  "hsl": {
    "h": 256.571,
    "s": 65.217,
    "l": 31.569
  },
  "oklch": {
    "l": 0.34211,
    "c": 0.16108,
    "h": 287.1
  },
  "luminance": 0.03394
}

Semantic roles & 50–950 ramp

primary
#391C85
secondary
#98B845
accent
#E840BA
background
#F7F5FA
surface
#EEE9F4
border
#C9C5CE
text
#0A0410
muted
#7C797F

Preview Lab

Preview with #391C85

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

Preview Lab → · Contrast checker → · Palette generator →

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