#391A77#391A77

#391A77 is a dark, vivid violet. Relative luminance 0.029; OKLCH L 32.6% C 0.146 H 291.2°. Best body text is #FFFFFF at 13.22:1 contrast (WCAG AA passes).

Color values

HEX#391A77
RGBrgb(57, 26, 119)
HSLhsl(260, 64%, 28%)
HSVhsv(260, 78%, 47%)
CMYKcmyk(52.1%, 78.2%, 0%, 53.3%)
CIE-LABlab(19.80, 37.72, -47.49)
CIE-LCHlch(19.80, 60.65, 308.46°)
OKLaboklab(32.56% 0.053 -0.1364)
OKLCHoklch(32.56% 0.146 291.2)
XYZxyz(5.3856, 2.9403, 17.7330)
Luminance0.0294 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#391A77 #58771A
analogous
#1A2977 #391A77 #671A77
triadic
#391A77 #77391A #1A7739
tetradic
#391A77 #771A29 #58771A #1A7767
square
#391A77 #771A29 #58771A #1A7767
split-complementary
#391A77 #77671A #29771A
monochromatic
#0C0519 #210F45 #391A77 #5125A9 #6C38D3

Accessibility & contrast

On white

13.22
#391A77 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #391A77
13.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##391A77#FFFFFF#000000##FFFFFF
##391A771.0013.221.5913.22
#FFFFFF13.221.0021.001.00
#0000001.5921.001.0021.00
##FFFFFF13.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00317A
Deuteranopia (green-blind)
#002E75
Tritanopia (blue-blind)
#243347
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #391a77;
/* rgb */ color: rgb(57, 26, 119);
/* oklch */ color: oklch(32.6% 0.146 291.2);
Tailwind
colors: {
  custom: {
    50: '#775a9f',
    500: '#391a77',
    950: '#000000',
  },
}
SCSS
$custom: #391a77;
$custom-light: #775a9f;
$custom-dark: #000000;
JSON
{
  "hex": "#391a77",
  "rgb": {
    "r": 57,
    "g": 26,
    "b": 119
  },
  "hsl": {
    "h": 260,
    "s": 64.138,
    "l": 28.431
  },
  "oklch": {
    "l": 0.32558,
    "c": 0.14629,
    "h": 291.2
  },
  "luminance": 0.02941
}

Semantic roles & 50–950 ramp

primary
#391A77
secondary
#88AC41
accent
#E741B0
background
#F7F5F9
surface
#EEE9F2
border
#C9C5CC
text
#09040F
muted
#7B797E

Preview Lab

Preview with #391A77

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

Preview Lab → · Contrast checker → · Palette generator →

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