#391E7E#391E7E

#391E7E is a dark, vivid violet. Relative luminance 0.033; OKLCH L 33.8% C 0.150 H 288.4°. Best body text is #FFFFFF at 12.64:1 contrast (WCAG AA passes).

Color values

HEX#391E7E
RGBrgb(57, 30, 126)
HSLhsl(257, 62%, 31%)
HSVhsv(257, 76%, 49%)
CMYKcmyk(54.8%, 76.2%, 0%, 50.6%)
CIE-LABlab(21.22, 37.71, -49.62)
CIE-LCHlch(21.22, 62.33, 307.23°)
OKLaboklab(33.77% 0.0476 -0.1427)
OKLCHoklch(33.77% 0.15 288.4)
XYZxyz(5.9164, 3.3045, 20.0607)
Luminance0.0331 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#391E7E #637E1E
analogous
#1E337E #391E7E #691E7E
triadic
#391E7E #7E391E #1E7E39
tetradic
#391E7E #7E1E33 #637E1E #1E7E69
square
#391E7E #7E1E33 #637E1E #1E7E69
split-complementary
#391E7E #7E691E #337E1E
monochromatic
#0C061B #23124D #391E7E #4F2AAF #6C44D2

Accessibility & contrast

On white

12.64
#391E7E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #391E7E
12.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##391E7E#FFFFFF#000000##FFFFFF
##391E7E1.0012.641.6612.64
#FFFFFF12.641.0021.001.00
#0000001.6621.001.0021.00
##FFFFFF12.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003581
Deuteranopia (green-blind)
#00307C
Tritanopia (blue-blind)
#1E384C
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #391e7e;
/* rgb */ color: rgb(57, 30, 126);
/* oklch */ color: oklch(33.8% 0.150 288.4);
Tailwind
colors: {
  custom: {
    50: '#785da4',
    500: '#391e7e',
    950: '#000000',
  },
}
SCSS
$custom: #391e7e;
$custom-light: #785da4;
$custom-dark: #000000;
JSON
{
  "hex": "#391e7e",
  "rgb": {
    "r": 57,
    "g": 30,
    "b": 126
  },
  "hsl": {
    "h": 256.875,
    "s": 61.538,
    "l": 30.588
  },
  "oklch": {
    "l": 0.33767,
    "c": 0.15039,
    "h": 288.4
  },
  "luminance": 0.03305
}

Semantic roles & 50–950 ramp

primary
#391E7E
secondary
#93B147
accent
#E543B7
background
#F7F5FA
surface
#EEE9F4
border
#C9C5CE
text
#09040F
muted
#7B797F

Preview Lab

Preview with #391E7E

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

Preview Lab → · Contrast checker → · Palette generator →

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