#391C76#391C76

#391C76 is a dark, vivid violet. Relative luminance 0.030; OKLCH L 32.7% C 0.143 H 291.1°. Best body text is #FFFFFF at 13.11:1 contrast (WCAG AA passes).

Color values

HEX#391C76
RGBrgb(57, 28, 118)
HSLhsl(259, 62%, 29%)
HSVhsv(259, 76%, 46%)
CMYKcmyk(51.7%, 76.3%, 0%, 53.7%)
CIE-LABlab(20.08, 36.38, -46.40)
CIE-LCHlch(20.08, 58.96, 308.09°)
OKLaboklab(32.72% 0.0514 -0.1332)
OKLCHoklch(32.72% 0.143 291.1)
XYZxyz(5.3717, 3.0082, 17.4336)
Luminance0.0301 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#391C76 #59761C
analogous
#1C2C76 #391C76 #661C76
triadic
#391C76 #76391C #1C7639
tetradic
#391C76 #761C2C #59761C #1C7666
square
#391C76 #761C2C #59761C #1C7666
split-complementary
#391C76 #76661C #2C761C
monochromatic
#0C0619 #211045 #391C76 #5128A7 #6C3CD1

Accessibility & contrast

On white

13.11
#391C76 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.60
#391C76 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #391C76
13.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##391C76#FFFFFF#000000##FFFFFF
##391C761.0013.111.6013.11
#FFFFFF13.111.0021.001.00
#0000001.6021.001.0021.00
##FFFFFF13.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003279
Deuteranopia (green-blind)
#002E74
Tritanopia (blue-blind)
#253447
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #391c76;
/* rgb */ color: rgb(57, 28, 118);
/* oklch */ color: oklch(32.7% 0.143 291.1);
Tailwind
colors: {
  custom: {
    50: '#765b9e',
    500: '#391c76',
    950: '#000000',
  },
}
SCSS
$custom: #391c76;
$custom-light: #765b9e;
$custom-dark: #000000;
JSON
{
  "hex": "#391c76",
  "rgb": {
    "r": 57,
    "g": 28,
    "b": 118
  },
  "hsl": {
    "h": 259.333,
    "s": 61.644,
    "l": 28.627
  },
  "oklch": {
    "l": 0.32721,
    "c": 0.14277,
    "h": 291.1
  },
  "luminance": 0.03008
}

Semantic roles & 50–950 ramp

primary
#391C76
secondary
#89AA44
accent
#E543B1
background
#F7F5F9
surface
#EEE9F2
border
#C9C5CC
text
#09040E
muted
#7B797E

Preview Lab

Preview with #391C76

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

Preview Lab → · Contrast checker → · Palette generator →

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