#391A78#391A78

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

Color values

HEX#391A78
RGBrgb(57, 26, 120)
HSLhsl(260, 64%, 29%)
HSVhsv(260, 78%, 47%)
CMYKcmyk(52.5%, 78.3%, 0%, 52.9%)
CIE-LABlab(19.90, 38.01, -47.97)
CIE-LCHlch(19.90, 61.21, 308.39°)
OKLaboklab(32.66% 0.0527 -0.1378)
OKLCHoklch(32.66% 0.148 290.9)
XYZxyz(5.4459, 2.9645, 18.0509)
Luminance0.0296 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#391A78 #59781A
analogous
#1A2A78 #391A78 #681A78
triadic
#391A78 #78391A #1A7839
tetradic
#391A78 #781A2A #59781A #1A7868
square
#391A78 #781A2A #59781A #1A7868
split-complementary
#391A78 #78681A #2A781A
monochromatic
#0C0519 #210F46 #391A78 #5125AA #6C38D4

Accessibility & contrast

On white

13.18
#391A78 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.59
#391A78 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #391A78
13.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##391A78#FFFFFF#000000##FFFFFF
##391A781.0013.181.5913.18
#FFFFFF13.181.0021.001.00
#0000001.5921.001.0021.00
##FFFFFF13.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00327B
Deuteranopia (green-blind)
#002E76
Tritanopia (blue-blind)
#233448
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #391a78;
/* rgb */ color: rgb(57, 26, 120);
/* oklch */ color: oklch(32.7% 0.147 290.9);
Tailwind
colors: {
  custom: {
    50: '#775aa0',
    500: '#391a78',
    950: '#000000',
  },
}
SCSS
$custom: #391a78;
$custom-light: #775aa0;
$custom-dark: #000000;
JSON
{
  "hex": "#391a78",
  "rgb": {
    "r": 57,
    "g": 26,
    "b": 120
  },
  "hsl": {
    "h": 259.787,
    "s": 64.384,
    "l": 28.627
  },
  "oklch": {
    "l": 0.32657,
    "c": 0.1475,
    "h": 290.9
  },
  "luminance": 0.02965
}

Semantic roles & 50–950 ramp

primary
#391A78
secondary
#89AC41
accent
#E740B0
background
#F7F5F9
surface
#EEE9F2
border
#C9C5CC
text
#09040F
muted
#7B797E

Preview Lab

Preview with #391A78

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

Preview Lab → · Contrast checker → · Palette generator →

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