#391C7E#391C7E

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

Color values

HEX#391C7E
RGBrgb(57, 28, 126)
HSLhsl(258, 64%, 30%)
HSVhsv(258, 78%, 49%)
CMYKcmyk(54.8%, 77.8%, 0%, 50.6%)
CIE-LABlab(20.85, 38.76, -50.24)
CIE-LCHlch(20.85, 63.45, 307.65°)
OKLaboklab(33.51% 0.0493 -0.1444)
OKLCHoklch(33.51% 0.153 288.8)
XYZxyz(5.8674, 3.2064, 20.0444)
Luminance0.0321 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#391C7E #617E1C
analogous
#1C307E #391C7E #6A1C7E
triadic
#391C7E #7E391C #1C7E39
tetradic
#391C7E #7E1C30 #617E1C #1C7E6A
square
#391C7E #7E1C30 #617E1C #1C7E6A
split-complementary
#391C7E #7E6A1C #307E1C
monochromatic
#0C061A #22114C #391C7E #5027B0 #6C40D5

Accessibility & contrast

On white

12.79
#391C7E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.64
#391C7E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #391C7E
12.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##391C7E#FFFFFF#000000##FFFFFF
##391C7E1.0012.791.6412.79
#FFFFFF12.791.0021.001.00
#0000001.6421.001.0021.00
##FFFFFF12.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003481
Deuteranopia (green-blind)
#00307C
Tritanopia (blue-blind)
#1E374C
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #391c7e;
/* rgb */ color: rgb(57, 28, 126);
/* oklch */ color: oklch(33.5% 0.153 288.8);
Tailwind
colors: {
  custom: {
    50: '#785ca4',
    500: '#391c7e',
    950: '#000000',
  },
}
SCSS
$custom: #391c7e;
$custom-light: #785ca4;
$custom-dark: #000000;
JSON
{
  "hex": "#391c7e",
  "rgb": {
    "r": 57,
    "g": 28,
    "b": 126
  },
  "hsl": {
    "h": 257.755,
    "s": 63.636,
    "l": 30.196
  },
  "oklch": {
    "l": 0.33505,
    "c": 0.15261,
    "h": 288.8
  },
  "luminance": 0.03207
}

Semantic roles & 50–950 ramp

primary
#391C7E
secondary
#91B244
accent
#E741B6
background
#F7F5FA
surface
#EEE9F4
border
#C9C5CE
text
#0A040F
muted
#7C797F

Preview Lab

Preview with #391C7E

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

Preview Lab → · Contrast checker → · Palette generator →

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