#391D85#391D85

#391D85 is a dark, vivid violet. Relative luminance 0.034; OKLCH L 34.3% C 0.160 H 286.9°. Best body text is #FFFFFF at 12.44:1 contrast (WCAG AA passes).

Color values

HEX#391D85
RGBrgb(57, 29, 133)
HSLhsl(256, 64%, 32%)
HSVhsv(256, 78%, 52%)
CMYKcmyk(57.1%, 78.2%, 0%, 47.8%)
CIE-LABlab(21.73, 40.34, -53.21)
CIE-LCHlch(21.73, 66.78, 307.17°)
OKLaboklab(34.34% 0.0465 -0.1531)
OKLCHoklch(34.34% 0.16 286.9)
XYZxyz(6.3591, 3.4417, 22.5150)
Luminance0.0344 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#391D85 #69851D
analogous
#1D3585 #391D85 #6D1D85
triadic
#391D85 #85391D #1D8539
tetradic
#391D85 #851D35 #69851D #1D856D
square
#391D85 #851D35 #69851D #1D856D
split-complementary
#391D85 #856D1D #35851D
monochromatic
#0E0721 #231253 #391D85 #4F28B7 #6D46D7

Accessibility & contrast

On white

12.44
#391D85 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.69
#391D85 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #391D85
12.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##391D85#FFFFFF#000000##FFFFFF
##391D851.0012.441.6912.44
#FFFFFF12.441.0021.001.00
#0000001.6921.001.0021.00
##FFFFFF12.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003788
Deuteranopia (green-blind)
#003183
Tritanopia (blue-blind)
#173A50
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #391d85;
/* rgb */ color: rgb(57, 29, 133);
/* oklch */ color: oklch(34.3% 0.160 286.9);
Tailwind
colors: {
  custom: {
    50: '#795daa',
    500: '#391d85',
    950: '#000000',
  },
}
SCSS
$custom: #391d85;
$custom-light: #795daa;
$custom-dark: #000000;
JSON
{
  "hex": "#391d85",
  "rgb": {
    "r": 57,
    "g": 29,
    "b": 133
  },
  "hsl": {
    "h": 256.154,
    "s": 64.198,
    "l": 31.765
  },
  "oklch": {
    "l": 0.34335,
    "c": 0.16005,
    "h": 286.9
  },
  "luminance": 0.03442
}

Semantic roles & 50–950 ramp

primary
#391D85
secondary
#99B846
accent
#E741BA
background
#F7F5FA
surface
#EEE9F4
border
#C9C5CE
text
#0A0410
muted
#7C797F

Preview Lab

Preview with #391D85

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

Preview Lab → · Contrast checker → · Palette generator →

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