#391B77#391B77

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

Color values

HEX#391B77
RGBrgb(57, 27, 119)
HSLhsl(260, 63%, 29%)
HSVhsv(260, 77%, 47%)
CMYKcmyk(52.1%, 77.3%, 0%, 53.3%)
CIE-LABlab(19.99, 37.20, -47.19)
CIE-LCHlch(19.99, 60.09, 308.25°)
OKLaboklab(32.69% 0.0521 -0.1355)
OKLCHoklch(32.69% 0.145 291)
XYZxyz(5.4081, 2.9854, 17.7405)
Luminance0.0299 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#391B77 #59771B
analogous
#1B2B77 #391B77 #671B77
triadic
#391B77 #77391B #1B7739
tetradic
#391B77 #771B2B #59771B #1B7767
square
#391B77 #771B2B #59771B #1B7767
split-complementary
#391B77 #77671B #2B771B
monochromatic
#0C0619 #211045 #391B77 #5126A9 #6C3AD2

Accessibility & contrast

On white

13.15
#391B77 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.60
#391B77 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #391B77
13.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##391B77#FFFFFF#000000##FFFFFF
##391B771.0013.151.6013.15
#FFFFFF13.151.0021.001.00
#0000001.6021.001.0021.00
##FFFFFF13.151.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #391b77;
/* rgb */ color: rgb(57, 27, 119);
/* oklch */ color: oklch(32.7% 0.145 291.0);
Tailwind
colors: {
  custom: {
    50: '#775b9f',
    500: '#391b77',
    950: '#000000',
  },
}
SCSS
$custom: #391b77;
$custom-light: #775b9f;
$custom-dark: #000000;
JSON
{
  "hex": "#391b77",
  "rgb": {
    "r": 57,
    "g": 27,
    "b": 119
  },
  "hsl": {
    "h": 259.565,
    "s": 63.014,
    "l": 28.627
  },
  "oklch": {
    "l": 0.32686,
    "c": 0.14517,
    "h": 291
  },
  "luminance": 0.02986
}

Semantic roles & 50–950 ramp

primary
#391B77
secondary
#89AB42
accent
#E642B0
background
#F7F5F9
surface
#EEE9F2
border
#C9C5CC
text
#09040F
muted
#7B797E

Preview Lab

Preview with #391B77

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

Preview Lab → · Contrast checker → · Palette generator →

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