#391C78#391C78

#391C78 is a dark, vivid violet. Relative luminance 0.031; OKLCH L 32.9% C 0.145 H 290.5°. Best body text is #FFFFFF at 13.03:1 contrast (WCAG AA passes).

Color values

HEX#391C78
RGBrgb(57, 28, 120)
HSLhsl(259, 62%, 29%)
HSVhsv(259, 77%, 47%)
CMYKcmyk(52.5%, 76.7%, 0%, 52.9%)
CIE-LABlab(20.27, 36.97, -47.37)
CIE-LCHlch(20.27, 60.09, 307.97°)
OKLaboklab(32.91% 0.0509 -0.136)
OKLCHoklch(32.91% 0.145 290.5)
XYZxyz(5.4918, 3.0562, 18.0662)
Luminance0.0306 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#391C78 #5B781C
analogous
#1C2D78 #391C78 #671C78
triadic
#391C78 #78391C #1C7839
tetradic
#391C78 #781C2D #5B781C #1C7867
square
#391C78 #781C2D #5B781C #1C7867
split-complementary
#391C78 #78671C #2D781C
monochromatic
#0C0619 #211046 #391C78 #5128AA #6C3DD2

Accessibility & contrast

On white

13.03
#391C78 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #391C78
13.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##391C78#FFFFFF#000000##FFFFFF
##391C781.0013.031.6113.03
#FFFFFF13.031.0021.001.00
#0000001.6121.001.0021.00
##FFFFFF13.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00327B
Deuteranopia (green-blind)
#002F76
Tritanopia (blue-blind)
#233548
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #391c78;
/* rgb */ color: rgb(57, 28, 120);
/* oklch */ color: oklch(32.9% 0.145 290.5);
Tailwind
colors: {
  custom: {
    50: '#775ba0',
    500: '#391c78',
    950: '#000000',
  },
}
SCSS
$custom: #391c78;
$custom-light: #775ba0;
$custom-dark: #000000;
JSON
{
  "hex": "#391c78",
  "rgb": {
    "r": 57,
    "g": 28,
    "b": 120
  },
  "hsl": {
    "h": 258.913,
    "s": 62.162,
    "l": 29.02
  },
  "oklch": {
    "l": 0.32914,
    "c": 0.14524,
    "h": 290.5
  },
  "luminance": 0.03056
}

Semantic roles & 50–950 ramp

primary
#391C78
secondary
#8BAC44
accent
#E543B2
background
#F7F5F9
surface
#EEE9F2
border
#C9C5CC
text
#09040F
muted
#7B797E

Preview Lab

Preview with #391C78

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

Preview Lab → · Contrast checker → · Palette generator →

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