#391B80#391B80

#391B80 is a dark, vivid violet. Relative luminance 0.032; OKLCH L 33.6% C 0.156 H 288.5°. Best body text is #FFFFFF at 12.79:1 contrast (WCAG AA passes).

Color values

HEX#391B80
RGBrgb(57, 27, 128)
HSLhsl(258, 65%, 30%)
HSVhsv(258, 79%, 50%)
CMYKcmyk(55.5%, 78.9%, 0%, 49.8%)
CIE-LABlab(20.87, 39.87, -51.47)
CIE-LCHlch(20.87, 65.10, 307.76°)
OKLaboklab(33.58% 0.0495 -0.148)
OKLCHoklch(33.58% 0.156 288.5)
XYZxyz(5.9744, 3.2119, 20.7231)
Luminance0.0321 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#391B80 #62801B
analogous
#1B2F80 #391B80 #6B1B80
triadic
#391B80 #80391B #1B8039
tetradic
#391B80 #801B2F #62801B #1B806B
square
#391B80 #801B2F #62801B #1B806B
split-complementary
#391B80 #806B1B #2F801B
monochromatic
#0C061B #22104D #391B80 #5026B3 #6C3FD6

Accessibility & contrast

On white

12.79
#391B80 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.64
#391B80 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #391B80
12.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##391B80#FFFFFF#000000##FFFFFF
##391B801.0012.791.6412.79
#FFFFFF12.791.0021.001.00
#0000001.6421.001.0021.00
##FFFFFF12.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003483
Deuteranopia (green-blind)
#00307E
Tritanopia (blue-blind)
#1C374D
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #391b80;
/* rgb */ color: rgb(57, 27, 128);
/* oklch */ color: oklch(33.6% 0.156 288.5);
Tailwind
colors: {
  custom: {
    50: '#785ba6',
    500: '#391b80',
    950: '#000000',
  },
}
SCSS
$custom: #391b80;
$custom-light: #785ba6;
$custom-dark: #000000;
JSON
{
  "hex": "#391b80",
  "rgb": {
    "r": 57,
    "g": 27,
    "b": 128
  },
  "hsl": {
    "h": 257.822,
    "s": 65.161,
    "l": 30.392
  },
  "oklch": {
    "l": 0.3358,
    "c": 0.15609,
    "h": 288.5
  },
  "luminance": 0.03212
}

Semantic roles & 50–950 ramp

primary
#391B80
secondary
#92B443
accent
#E840B6
background
#F7F5FA
surface
#EEE9F4
border
#C9C5CE
text
#0A040F
muted
#7C797F

Preview Lab

Preview with #391B80

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

Preview Lab → · Contrast checker → · Palette generator →

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