#391C7F#391C7F

#391C7F is a dark, vivid violet. Relative luminance 0.032; OKLCH L 33.6% C 0.154 H 288.6°. Best body text is #FFFFFF at 12.75:1 contrast (WCAG AA passes).

Color values

HEX#391C7F
RGBrgb(57, 28, 127)
HSLhsl(258, 64%, 30%)
HSVhsv(258, 78%, 50%)
CMYKcmyk(55.1%, 78%, 0%, 50.2%)
CIE-LABlab(20.95, 39.06, -50.71)
CIE-LCHlch(20.95, 64.01, 307.61°)
OKLaboklab(33.61% 0.049 -0.1458)
OKLCHoklch(33.61% 0.154 288.6)
XYZxyz(5.9322, 3.2324, 20.3859)
Luminance0.0323 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#391C7F #627F1C
analogous
#1C307F #391C7F #6A1C7F
triadic
#391C7F #7F391C #1C7F39
tetradic
#391C7F #7F1C30 #627F1C #1C7F6A
square
#391C7F #7F1C30 #627F1C #1C7F6A
split-complementary
#391C7F #7F6A1C #307F1C
monochromatic
#0C061B #22114D #391C7F #5027B1 #6C40D5

Accessibility & contrast

On white

12.75
#391C7F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #391C7F
12.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##391C7F#FFFFFF#000000##FFFFFF
##391C7F1.0012.751.6512.75
#FFFFFF12.751.0021.001.00
#0000001.6521.001.0021.00
##FFFFFF12.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003482
Deuteranopia (green-blind)
#00307D
Tritanopia (blue-blind)
#1D384C
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #391c7f;
/* rgb */ color: rgb(57, 28, 127);
/* oklch */ color: oklch(33.6% 0.154 288.6);
Tailwind
colors: {
  custom: {
    50: '#785ca5',
    500: '#391c7f',
    950: '#000000',
  },
}
SCSS
$custom: #391c7f;
$custom-light: #785ca5;
$custom-dark: #000000;
JSON
{
  "hex": "#391c7f",
  "rgb": {
    "r": 57,
    "g": 28,
    "b": 127
  },
  "hsl": {
    "h": 257.576,
    "s": 63.871,
    "l": 30.392
  },
  "oklch": {
    "l": 0.33605,
    "c": 0.15382,
    "h": 288.6
  },
  "luminance": 0.03233
}

Semantic roles & 50–950 ramp

primary
#391C7F
secondary
#92B344
accent
#E741B6
background
#F7F5FA
surface
#EEE9F4
border
#C9C5CE
text
#0A040F
muted
#7C797F

Preview Lab

Preview with #391C7F

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

Preview Lab → · Contrast checker → · Palette generator →

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