#391E6A#391E6A

#391E6A is a dark, vivid violet. Relative luminance 0.028; OKLCH L 31.9% C 0.125 H 294.5°. Best body text is #FFFFFF at 13.39:1 contrast (WCAG AA passes).

Color values

HEX#391E6A
RGBrgb(57, 30, 106)
HSLhsl(261, 56%, 27%)
HSVhsv(261, 72%, 42%)
CMYKcmyk(46.2%, 71.7%, 0%, 58.4%)
CIE-LABlab(19.39, 31.67, -39.77)
CIE-LCHlch(19.39, 50.84, 308.54°)
OKLaboklab(31.89% 0.0519 -0.1137)
OKLCHoklch(31.89% 0.125 294.5)
XYZxyz(4.7524, 2.8389, 13.9304)
Luminance0.0284 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#391E6A #4F6A1E
analogous
#1E296A #391E6A #5F1E6A
triadic
#391E6A #6A391E #1E6A39
tetradic
#391E6A #6A1E29 #4F6A1E #1E6A5F
square
#391E6A #6A1E29 #4F6A1E #1E6A5F
split-complementary
#391E6A #6A5F1E #296A1E
monochromatic
#0D0718 #1F113A #391E6A #532C9A #6D3BC7

Accessibility & contrast

On white

13.39
#391E6A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.57
#391E6A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #391E6A
13.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##391E6A#FFFFFF#000000##FFFFFF
##391E6A1.0013.391.5713.39
#FFFFFF13.391.0021.001.00
#0000001.5721.001.0021.00
##FFFFFF13.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00306C
Deuteranopia (green-blind)
#002E68
Tritanopia (blue-blind)
#2B3141
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #391e6a;
/* rgb */ color: rgb(57, 30, 106);
/* oklch */ color: oklch(31.9% 0.125 294.5);
Tailwind
colors: {
  custom: {
    50: '#745c95',
    500: '#391e6a',
    950: '#000000',
  },
}
SCSS
$custom: #391e6a;
$custom-light: #745c95;
$custom-dark: #000000;
JSON
{
  "hex": "#391e6a",
  "rgb": {
    "r": 57,
    "g": 30,
    "b": 106
  },
  "hsl": {
    "h": 261.316,
    "s": 55.882,
    "l": 26.667
  },
  "oklch": {
    "l": 0.31893,
    "c": 0.12501,
    "h": 294.5
  },
  "luminance": 0.02839
}

Semantic roles & 50–950 ramp

primary
#391E6A
secondary
#7F9E45
accent
#DF49AA
background
#F7F5F9
surface
#EDE9F2
border
#C8C5CC
text
#09040D
muted
#7B797E

Preview Lab

Preview with #391E6A

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

Preview Lab → · Contrast checker → · Palette generator →

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