#391E7D#391E7D

#391E7D is a dark, vivid violet. Relative luminance 0.033; OKLCH L 33.7% C 0.149 H 288.7°. Best body text is #FFFFFF at 12.68:1 contrast (WCAG AA passes).

Color values

HEX#391E7D
RGBrgb(57, 30, 125)
HSLhsl(257, 61%, 30%)
HSVhsv(257, 76%, 49%)
CMYKcmyk(54.4%, 76%, 0%, 51%)
CIE-LABlab(21.13, 37.41, -49.15)
CIE-LCHlch(21.13, 61.76, 307.27°)
OKLaboklab(33.67% 0.0478 -0.1413)
OKLCHoklch(33.67% 0.149 288.7)
XYZxyz(5.8522, 3.2788, 19.7226)
Luminance0.0328 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#391E7D #627D1E
analogous
#1E327D #391E7D #681E7D
triadic
#391E7D #7D391E #1E7D39
tetradic
#391E7D #7D1E32 #627D1E #1E7D68
square
#391E7D #7D1E32 #627D1E #1E7D68
split-complementary
#391E7D #7D681E #327D1E
monochromatic
#0C061A #22124C #391E7D #502AAE #6C43D2

Accessibility & contrast

On white

12.68
#391E7D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.66
#391E7D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #391E7D
12.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##391E7D#FFFFFF#000000##FFFFFF
##391E7D1.0012.681.6612.68
#FFFFFF12.681.0021.001.00
#0000001.6621.001.0021.00
##FFFFFF12.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003580
Deuteranopia (green-blind)
#00307B
Tritanopia (blue-blind)
#1F384C
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #391e7d;
/* rgb */ color: rgb(57, 30, 125);
/* oklch */ color: oklch(33.7% 0.149 288.7);
Tailwind
colors: {
  custom: {
    50: '#775da4',
    500: '#391e7d',
    950: '#000000',
  },
}
SCSS
$custom: #391e7d;
$custom-light: #775da4;
$custom-dark: #000000;
JSON
{
  "hex": "#391e7d",
  "rgb": {
    "r": 57,
    "g": 30,
    "b": 125
  },
  "hsl": {
    "h": 257.053,
    "s": 61.29,
    "l": 30.392
  },
  "oklch": {
    "l": 0.33669,
    "c": 0.14914,
    "h": 288.7
  },
  "luminance": 0.03279
}

Semantic roles & 50–950 ramp

primary
#391E7D
secondary
#92B046
accent
#E443B7
background
#F7F5FA
surface
#EEE9F4
border
#C9C5CE
text
#09040F
muted
#7B797F

Preview Lab

Preview with #391E7D

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

Preview Lab → · Contrast checker → · Palette generator →

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