#391D7D#391D7D

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

Color values

HEX#391D7D
RGBrgb(57, 29, 125)
HSLhsl(258, 62%, 30%)
HSVhsv(258, 77%, 49%)
CMYKcmyk(54.4%, 76.8%, 0%, 51%)
CIE-LABlab(20.94, 37.94, -49.46)
CIE-LCHlch(20.94, 62.33, 307.49°)
OKLaboklab(33.53% 0.0487 -0.1422)
OKLCHoklch(33.53% 0.15 288.9)
XYZxyz(5.8273, 3.2290, 19.7143)
Luminance0.0323 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#391D7D #617D1D
analogous
#1D317D #391D7D #691D7D
triadic
#391D7D #7D391D #1D7D39
tetradic
#391D7D #7D1D31 #617D1D #1D7D69
square
#391D7D #7D1D31 #617D1D #1D7D69
split-complementary
#391D7D #7D691D #317D1D
monochromatic
#0C061A #22114B #391D7D #5029AF #6C41D3

Accessibility & contrast

On white

12.76
#391D7D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.65
#391D7D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #391D7D
12.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##391D7D#FFFFFF#000000##FFFFFF
##391D7D1.0012.761.6512.76
#FFFFFF12.761.0021.001.00
#0000001.6521.001.0021.00
##FFFFFF12.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003480
Deuteranopia (green-blind)
#00307B
Tritanopia (blue-blind)
#1F374B
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #391d7d;
/* rgb */ color: rgb(57, 29, 125);
/* oklch */ color: oklch(33.5% 0.150 288.9);
Tailwind
colors: {
  custom: {
    50: '#775ca4',
    500: '#391d7d',
    950: '#000000',
  },
}
SCSS
$custom: #391d7d;
$custom-light: #775ca4;
$custom-dark: #000000;
JSON
{
  "hex": "#391d7d",
  "rgb": {
    "r": 57,
    "g": 29,
    "b": 125
  },
  "hsl": {
    "h": 257.5,
    "s": 62.338,
    "l": 30.196
  },
  "oklch": {
    "l": 0.33535,
    "c": 0.15027,
    "h": 288.9
  },
  "luminance": 0.03229
}

Semantic roles & 50–950 ramp

primary
#391D7D
secondary
#91B145
accent
#E542B6
background
#F7F5FA
surface
#EEE9F4
border
#C9C5CE
text
#09040F
muted
#7B797F

Preview Lab

Preview with #391D7D

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

Preview Lab → · Contrast checker → · Palette generator →

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