#391B7A#391B7A

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

Color values

HEX#391B7A
RGBrgb(57, 27, 122)
HSLhsl(259, 64%, 29%)
HSVhsv(259, 78%, 48%)
CMYKcmyk(53.3%, 77.9%, 0%, 52.2%)
CIE-LABlab(20.28, 38.09, -48.63)
CIE-LCHlch(20.28, 61.77, 308.07°)
OKLaboklab(32.98% 0.0513 -0.1397)
OKLCHoklch(32.98% 0.149 290.1)
XYZxyz(5.5911, 3.0586, 18.7044)
Luminance0.0306 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#391B7A #5C7A1B
analogous
#1B2D7A #391B7A #691B7A
triadic
#391B7A #7A391B #1B7A39
tetradic
#391B7A #7A1B2D #5C7A1B #1B7A69
square
#391B7A #7A1B2D #5C7A1B #1B7A69
split-complementary
#391B7A #7A691B #2D7A1B
monochromatic
#0C0619 #221048 #391B7A #5026AC #6C3CD4

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##391B7A#FFFFFF#000000##FFFFFF
##391B7A1.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)
#00337D
Deuteranopia (green-blind)
#002F78
Tritanopia (blue-blind)
#223549
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #391b7a;
/* rgb */ color: rgb(57, 27, 122);
/* oklch */ color: oklch(33.0% 0.149 290.1);
Tailwind
colors: {
  custom: {
    50: '#775ba1',
    500: '#391b7a',
    950: '#000000',
  },
}
SCSS
$custom: #391b7a;
$custom-light: #775ba1;
$custom-dark: #000000;
JSON
{
  "hex": "#391b7a",
  "rgb": {
    "r": 57,
    "g": 27,
    "b": 122
  },
  "hsl": {
    "h": 258.947,
    "s": 63.758,
    "l": 29.216
  },
  "oklch": {
    "l": 0.32981,
    "c": 0.14883,
    "h": 290.1
  },
  "luminance": 0.03059
}

Semantic roles & 50–950 ramp

primary
#391B7A
secondary
#8CAE43
accent
#E741B2
background
#F7F5FA
surface
#EEE9F3
border
#C9C5CD
text
#09040F
muted
#7B797F

Preview Lab

Preview with #391B7A

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

Preview Lab → · Contrast checker → · Palette generator →

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