#391C79#391C79

#391C79 is a dark, vivid violet. Relative luminance 0.031; OKLCH L 33.0% C 0.146 H 290.2°. Best body text is #FFFFFF at 12.99:1 contrast (WCAG AA passes).

Color values

HEX#391C79
RGBrgb(57, 28, 121)
HSLhsl(259, 62%, 29%)
HSVhsv(259, 77%, 47%)
CMYKcmyk(52.9%, 76.9%, 0%, 52.5%)
CIE-LABlab(20.36, 37.27, -47.85)
CIE-LCHlch(20.36, 60.65, 307.91°)
OKLaboklab(33.01% 0.0506 -0.1374)
OKLCHoklch(33.01% 0.146 290.2)
XYZxyz(5.5528, 3.0806, 18.3875)
Luminance0.0308 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#391C79 #5C791C
analogous
#1C2E79 #391C79 #681C79
triadic
#391C79 #79391C #1C7939
tetradic
#391C79 #791C2E #5C791C #1C7968
square
#391C79 #791C2E #5C791C #1C7968
split-complementary
#391C79 #79681C #2E791C
monochromatic
#0C0619 #221047 #391C79 #5028AB #6C3DD2

Accessibility & contrast

On white

12.99
#391C79 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.62
#391C79 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #391C79
12.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##391C79#FFFFFF#000000##FFFFFF
##391C791.0012.991.6212.99
#FFFFFF12.991.0021.001.00
#0000001.6221.001.0021.00
##FFFFFF12.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00337C
Deuteranopia (green-blind)
#002F77
Tritanopia (blue-blind)
#223549
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #391c79;
/* rgb */ color: rgb(57, 28, 121);
/* oklch */ color: oklch(33.0% 0.146 290.2);
Tailwind
colors: {
  custom: {
    50: '#775ba1',
    500: '#391c79',
    950: '#000000',
  },
}
SCSS
$custom: #391c79;
$custom-light: #775ba1;
$custom-dark: #000000;
JSON
{
  "hex": "#391c79",
  "rgb": {
    "r": 57,
    "g": 28,
    "b": 121
  },
  "hsl": {
    "h": 258.71,
    "s": 62.416,
    "l": 29.216
  },
  "oklch": {
    "l": 0.33012,
    "c": 0.14648,
    "h": 290.2
  },
  "luminance": 0.03081
}

Semantic roles & 50–950 ramp

primary
#391C79
secondary
#8CAD44
accent
#E542B3
background
#F7F5FA
surface
#EEE9F3
border
#C9C5CD
text
#09040F
muted
#7B797F

Preview Lab

Preview with #391C79

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

Preview Lab → · Contrast checker → · Palette generator →

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