#391C77#391C77

#391C77 is a dark, vivid violet. Relative luminance 0.030; OKLCH L 32.8% C 0.144 H 290.8°. Best body text is #FFFFFF at 13.07:1 contrast (WCAG AA passes).

Color values

HEX#391C77
RGBrgb(57, 28, 119)
HSLhsl(259, 62%, 29%)
HSVhsv(259, 76%, 47%)
CMYKcmyk(52.1%, 76.5%, 0%, 53.3%)
CIE-LABlab(20.17, 36.67, -46.89)
CIE-LCHlch(20.17, 59.53, 308.03°)
OKLaboklab(32.82% 0.0512 -0.1346)
OKLCHoklch(32.82% 0.144 290.8)
XYZxyz(5.4314, 3.0321, 17.7482)
Luminance0.0303 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#391C77 #5A771C
analogous
#1C2D77 #391C77 #671C77
triadic
#391C77 #77391C #1C7739
tetradic
#391C77 #771C2D #5A771C #1C7767
square
#391C77 #771C2D #5A771C #1C7767
split-complementary
#391C77 #77671C #2D771C
monochromatic
#0C0619 #211045 #391C77 #5128A9 #6C3CD1

Accessibility & contrast

On white

13.07
#391C77 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.61
#391C77 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #391C77
13.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##391C77#FFFFFF#000000##FFFFFF
##391C771.0013.071.6113.07
#FFFFFF13.071.0021.001.00
#0000001.6121.001.0021.00
##FFFFFF13.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00327A
Deuteranopia (green-blind)
#002F75
Tritanopia (blue-blind)
#243448
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #391c77;
/* rgb */ color: rgb(57, 28, 119);
/* oklch */ color: oklch(32.8% 0.144 290.8);
Tailwind
colors: {
  custom: {
    50: '#765b9f',
    500: '#391c77',
    950: '#000000',
  },
}
SCSS
$custom: #391c77;
$custom-light: #765b9f;
$custom-dark: #000000;
JSON
{
  "hex": "#391c77",
  "rgb": {
    "r": 57,
    "g": 28,
    "b": 119
  },
  "hsl": {
    "h": 259.121,
    "s": 61.905,
    "l": 28.824
  },
  "oklch": {
    "l": 0.32818,
    "c": 0.14401,
    "h": 290.8
  },
  "luminance": 0.03032
}

Semantic roles & 50–950 ramp

primary
#391C77
secondary
#8AAB44
accent
#E543B1
background
#F7F5F9
surface
#EEE9F2
border
#C9C5CC
text
#09040F
muted
#7B797E

Preview Lab

Preview with #391C77

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

Preview Lab → · Contrast checker → · Palette generator →

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