#391C80#391C80

#391C80 is a dark, vivid violet. Relative luminance 0.033; OKLCH L 33.7% C 0.155 H 288.3°. Best body text is #FFFFFF at 12.71:1 contrast (WCAG AA passes).

Color values

HEX#391C80
RGBrgb(57, 28, 128)
HSLhsl(257, 64%, 31%)
HSVhsv(257, 78%, 50%)
CMYKcmyk(55.5%, 78.1%, 0%, 49.8%)
CIE-LABlab(21.05, 39.36, -51.18)
CIE-LCHlch(21.05, 64.56, 307.56°)
OKLaboklab(33.71% 0.0487 -0.1472)
OKLCHoklch(33.71% 0.155 288.3)
XYZxyz(5.9977, 3.2586, 20.7308)
Luminance0.0326 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#391C80 #63801C
analogous
#1C3180 #391C80 #6B1C80
triadic
#391C80 #80391C #1C8039
tetradic
#391C80 #801C31 #63801C #1C806B
square
#391C80 #801C31 #63801C #1C806B
split-complementary
#391C80 #806B1C #31801C
monochromatic
#0C061C #23114E #391C80 #4F27B2 #6C41D5

Accessibility & contrast

On white

12.71
#391C80 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.65
#391C80 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #391C80
12.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##391C80#FFFFFF#000000##FFFFFF
##391C801.0012.711.6512.71
#FFFFFF12.711.0021.001.00
#0000001.6521.001.0021.00
##FFFFFF12.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003583
Deuteranopia (green-blind)
#00307E
Tritanopia (blue-blind)
#1C384D
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #391c80;
/* rgb */ color: rgb(57, 28, 128);
/* oklch */ color: oklch(33.7% 0.155 288.3);
Tailwind
colors: {
  custom: {
    50: '#785ca6',
    500: '#391c80',
    950: '#000000',
  },
}
SCSS
$custom: #391c80;
$custom-light: #785ca6;
$custom-dark: #000000;
JSON
{
  "hex": "#391c80",
  "rgb": {
    "r": 57,
    "g": 28,
    "b": 128
  },
  "hsl": {
    "h": 257.4,
    "s": 64.103,
    "l": 30.588
  },
  "oklch": {
    "l": 0.33705,
    "c": 0.15504,
    "h": 288.3
  },
  "luminance": 0.03259
}

Semantic roles & 50–950 ramp

primary
#391C80
secondary
#93B344
accent
#E741B7
background
#F7F5FA
surface
#EEE9F4
border
#C9C5CE
text
#0A040F
muted
#7C797F

Preview Lab

Preview with #391C80

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

Preview Lab → · Contrast checker → · Palette generator →

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