#391A80#391A80

#391A80 is a dark, vivid violet. Relative luminance 0.032; OKLCH L 33.5% C 0.157 H 288.7°. Best body text is #FFFFFF at 12.86:1 contrast (WCAG AA passes).

Color values

HEX#391A80
RGBrgb(57, 26, 128)
HSLhsl(258, 66%, 30%)
HSVhsv(258, 80%, 50%)
CMYKcmyk(55.5%, 79.7%, 0%, 49.8%)
CIE-LABlab(20.70, 40.36, -51.75)
CIE-LCHlch(20.70, 65.63, 307.95°)
OKLaboklab(33.46% 0.0503 -0.1489)
OKLCHoklch(33.46% 0.157 288.7)
XYZxyz(5.9519, 3.1669, 20.7155)
Luminance0.0317 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#391A80 #61801A
analogous
#1A2E80 #391A80 #6C1A80
triadic
#391A80 #80391A #1A8039
tetradic
#391A80 #801A2E #61801A #1A806C
square
#391A80 #801A2E #61801A #1A806C
split-complementary
#391A80 #806C1A #2E801A
monochromatic
#0C051A #22104D #391A80 #5024B3 #6C3DD8

Accessibility & contrast

On white

12.86
#391A80 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.63
#391A80 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #391A80
12.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##391A80#FFFFFF#000000##FFFFFF
##391A801.0012.861.6312.86
#FFFFFF12.861.0021.001.00
#0000001.6321.001.0021.00
##FFFFFF12.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003483
Deuteranopia (green-blind)
#002F7E
Tritanopia (blue-blind)
#1D374C
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #391a80;
/* rgb */ color: rgb(57, 26, 128);
/* oklch */ color: oklch(33.5% 0.157 288.7);
Tailwind
colors: {
  custom: {
    50: '#785ba6',
    500: '#391a80',
    950: '#000000',
  },
}
SCSS
$custom: #391a80;
$custom-light: #785ba6;
$custom-dark: #000000;
JSON
{
  "hex": "#391a80",
  "rgb": {
    "r": 57,
    "g": 26,
    "b": 128
  },
  "hsl": {
    "h": 258.235,
    "s": 66.234,
    "l": 30.196
  },
  "oklch": {
    "l": 0.33459,
    "c": 0.15713,
    "h": 288.7
  },
  "luminance": 0.03167
}

Semantic roles & 50–950 ramp

primary
#391A80
secondary
#91B442
accent
#E93FB5
background
#F7F5FA
surface
#EEE9F4
border
#C9C5CE
text
#0A040F
muted
#7C797F

Preview Lab

Preview with #391A80

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

Preview Lab → · Contrast checker → · Palette generator →

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