#391E76#391E76

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

Color values

HEX#391E76
RGBrgb(57, 30, 118)
HSLhsl(258, 59%, 29%)
HSVhsv(258, 75%, 46%)
CMYKcmyk(51.7%, 74.6%, 0%, 53.7%)
CIE-LABlab(20.46, 35.29, -45.77)
CIE-LCHlch(20.46, 57.79, 307.63°)
OKLaboklab(33% 0.0495 -0.1313)
OKLCHoklch(33% 0.14 290.7)
XYZxyz(5.4207, 3.1062, 17.4500)
Luminance0.0311 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#391E76 #5B761E
analogous
#1E2F76 #391E76 #651E76
triadic
#391E76 #76391E #1E7639
tetradic
#391E76 #761E2F #5B761E #1E7665
square
#391E76 #761E2F #5B761E #1E7665
split-complementary
#391E76 #76651E #2F761E
monochromatic
#0C0618 #211245 #391E76 #512AA7 #6C40CE

Accessibility & contrast

On white

12.95
#391E76 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #391E76
12.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##391E76#FFFFFF#000000##FFFFFF
##391E761.0012.951.6212.95
#FFFFFF12.951.0021.001.00
#0000001.6221.001.0021.00
##FFFFFF12.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003379
Deuteranopia (green-blind)
#002F74
Tritanopia (blue-blind)
#243548
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #391e76;
/* rgb */ color: rgb(57, 30, 118);
/* oklch */ color: oklch(33.0% 0.140 290.7);
Tailwind
colors: {
  custom: {
    50: '#765c9e',
    500: '#391e76',
    950: '#000000',
  },
}
SCSS
$custom: #391e76;
$custom-light: #765c9e;
$custom-dark: #000000;
JSON
{
  "hex": "#391e76",
  "rgb": {
    "r": 57,
    "g": 30,
    "b": 118
  },
  "hsl": {
    "h": 258.409,
    "s": 59.459,
    "l": 29.02
  },
  "oklch": {
    "l": 0.32995,
    "c": 0.14037,
    "h": 290.7
  },
  "luminance": 0.03106
}

Semantic roles & 50–950 ramp

primary
#391E76
secondary
#8BAA46
accent
#E345B2
background
#F7F5F9
surface
#EDE9F2
border
#C8C5CC
text
#09040E
muted
#7B797E

Preview Lab

Preview with #391E76

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

Preview Lab → · Contrast checker → · Palette generator →

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