#391C7C#391C7C

#391C7C is a dark, vivid violet. Relative luminance 0.032; OKLCH L 33.3% C 0.150 H 289.4°. Best body text is #FFFFFF at 12.87:1 contrast (WCAG AA passes).

Color values

HEX#391C7C
RGBrgb(57, 28, 124)
HSLhsl(258, 63%, 30%)
HSVhsv(258, 77%, 49%)
CMYKcmyk(54%, 77.4%, 0%, 51.4%)
CIE-LABlab(20.66, 38.17, -49.29)
CIE-LCHlch(20.66, 62.34, 307.75°)
OKLaboklab(33.31% 0.0498 -0.1416)
OKLCHoklch(33.31% 0.15 289.4)
XYZxyz(5.7396, 3.1553, 19.3715)
Luminance0.0316 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#391C7C #5F7C1C
analogous
#1C2F7C #391C7C #691C7C
triadic
#391C7C #7C391C #1C7C39
tetradic
#391C7C #7C1C2F #5F7C1C #1C7C69
square
#391C7C #7C1C2F #5F7C1C #1C7C69
split-complementary
#391C7C #7C691C #2F7C1C
monochromatic
#0B0619 #22114A #391C7C #5027AE #6C3FD4

Accessibility & contrast

On white

12.87
#391C7C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.63
#391C7C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #391C7C
12.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##391C7C#FFFFFF#000000##FFFFFF
##391C7C1.0012.871.6312.87
#FFFFFF12.871.0021.001.00
#0000001.6321.001.0021.00
##FFFFFF12.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00347F
Deuteranopia (green-blind)
#002F7A
Tritanopia (blue-blind)
#20364B
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #391c7c;
/* rgb */ color: rgb(57, 28, 124);
/* oklch */ color: oklch(33.3% 0.150 289.4);
Tailwind
colors: {
  custom: {
    50: '#775ca3',
    500: '#391c7c',
    950: '#000000',
  },
}
SCSS
$custom: #391c7c;
$custom-light: #775ca3;
$custom-dark: #000000;
JSON
{
  "hex": "#391c7c",
  "rgb": {
    "r": 57,
    "g": 28,
    "b": 124
  },
  "hsl": {
    "h": 258.125,
    "s": 63.158,
    "l": 29.804
  },
  "oklch": {
    "l": 0.33306,
    "c": 0.15016,
    "h": 289.4
  },
  "luminance": 0.03156
}

Semantic roles & 50–950 ramp

primary
#391C7C
secondary
#8FB044
accent
#E642B4
background
#F7F5FA
surface
#EEE9F4
border
#C9C5CE
text
#09040F
muted
#7B797F

Preview Lab

Preview with #391C7C

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

Preview Lab → · Contrast checker → · Palette generator →

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