#391A7B#391A7B

#391A7B is a dark, vivid violet. Relative luminance 0.030; OKLCH L 33.0% C 0.151 H 290.0°. Best body text is #FFFFFF at 13.06:1 contrast (WCAG AA passes).

Color values

HEX#391A7B
RGBrgb(57, 26, 123)
HSLhsl(259, 65%, 29%)
HSVhsv(259, 79%, 48%)
CMYKcmyk(53.7%, 78.9%, 0%, 51.8%)
CIE-LABlab(20.20, 38.89, -49.40)
CIE-LCHlch(20.20, 62.87, 308.21°)
OKLaboklab(32.96% 0.0518 -0.142)
OKLCHoklch(32.96% 0.151 290)
XYZxyz(5.6309, 3.0385, 19.0248)
Luminance0.0304 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#391A7B #5C7B1A
analogous
#1A2C7B #391A7B #6A1A7B
triadic
#391A7B #7B391A #1A7B39
tetradic
#391A7B #7B1A2C #5C7B1A #1A7B6A
square
#391A7B #7B1A2C #5C7B1A #1A7B6A
split-complementary
#391A7B #7B6A1A #2C7B1A
monochromatic
#0C0519 #220F48 #391A7B #5025AE #6C3AD5

Accessibility & contrast

On white

13.06
#391A7B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #391A7B
13.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##391A7B#FFFFFF#000000##FFFFFF
##391A7B1.0013.061.6113.06
#FFFFFF13.061.0021.001.00
#0000001.6121.001.0021.00
##FFFFFF13.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00327E
Deuteranopia (green-blind)
#002E79
Tritanopia (blue-blind)
#213549
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #391a7b;
/* rgb */ color: rgb(57, 26, 123);
/* oklch */ color: oklch(33.0% 0.151 290.0);
Tailwind
colors: {
  custom: {
    50: '#775aa2',
    500: '#391a7b',
    950: '#000000',
  },
}
SCSS
$custom: #391a7b;
$custom-light: #775aa2;
$custom-dark: #000000;
JSON
{
  "hex": "#391a7b",
  "rgb": {
    "r": 57,
    "g": 26,
    "b": 123
  },
  "hsl": {
    "h": 259.175,
    "s": 65.101,
    "l": 29.216
  },
  "oklch": {
    "l": 0.32955,
    "c": 0.15112,
    "h": 290
  },
  "luminance": 0.03039
}

Semantic roles & 50–950 ramp

primary
#391A7B
secondary
#8CAF42
accent
#E840B2
background
#F7F5FA
surface
#EEE9F4
border
#C9C5CE
text
#09040F
muted
#7B797F

Preview Lab

Preview with #391A7B

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

Preview Lab → · Contrast checker → · Palette generator →

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