#391C7A#391C7A

#391C7A is a dark, vivid violet. Relative luminance 0.031; OKLCH L 33.1% C 0.148 H 289.9°. Best body text is #FFFFFF at 12.95:1 contrast (WCAG AA passes).

Color values

HEX#391C7A
RGBrgb(57, 28, 122)
HSLhsl(259, 63%, 29%)
HSVhsv(259, 77%, 48%)
CMYKcmyk(53.3%, 77%, 0%, 52.2%)
CIE-LABlab(20.46, 37.57, -48.33)
CIE-LCHlch(20.46, 61.21, 307.86°)
OKLaboklab(33.11% 0.0504 -0.1388)
OKLCHoklch(33.11% 0.148 289.9)
XYZxyz(5.6144, 3.1053, 18.7121)
Luminance0.0311 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#391C7A #5D7A1C
analogous
#1C2E7A #391C7A #681C7A
triadic
#391C7A #7A391C #1C7A39
tetradic
#391C7A #7A1C2E #5D7A1C #1C7A68
square
#391C7A #7A1C2E #5D7A1C #1C7A68
split-complementary
#391C7A #7A681C #2E7A1C
monochromatic
#0C0619 #221148 #391C7A #5027AC #6C3ED3

Accessibility & contrast

On white

12.95
#391C7A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.62
#391C7A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #391C7A
12.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##391C7A#FFFFFF#000000##FFFFFF
##391C7A1.0012.951.6212.95
#FFFFFF12.951.0021.001.00
#0000001.6221.001.0021.00
##FFFFFF12.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00337D
Deuteranopia (green-blind)
#002F78
Tritanopia (blue-blind)
#223649
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #391c7a;
/* rgb */ color: rgb(57, 28, 122);
/* oklch */ color: oklch(33.1% 0.148 289.9);
Tailwind
colors: {
  custom: {
    50: '#775ba1',
    500: '#391c7a',
    950: '#000000',
  },
}
SCSS
$custom: #391c7a;
$custom-light: #775ba1;
$custom-dark: #000000;
JSON
{
  "hex": "#391c7a",
  "rgb": {
    "r": 57,
    "g": 28,
    "b": 122
  },
  "hsl": {
    "h": 258.511,
    "s": 62.667,
    "l": 29.412
  },
  "oklch": {
    "l": 0.3311,
    "c": 0.14771,
    "h": 289.9
  },
  "luminance": 0.03106
}

Semantic roles & 50–950 ramp

primary
#391C7A
secondary
#8DAE44
accent
#E642B3
background
#F7F5FA
surface
#EEE9F3
border
#C9C5CD
text
#09040F
muted
#7B797F

Preview Lab

Preview with #391C7A

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

Preview Lab → · Contrast checker → · Palette generator →

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