#391C8C#391C8C

#391C8C is a dark, vivid violet. Relative luminance 0.036; OKLCH L 34.9% C 0.169 H 285.4°. Best body text is #FFFFFF at 12.22:1 contrast (WCAG AA passes).

Color values

HEX#391C8C
RGBrgb(57, 28, 140)
HSLhsl(256, 67%, 33%)
HSVhsv(256, 80%, 55%)
CMYKcmyk(59.3%, 80%, 0%, 45.1%)
CIE-LABlab(22.28, 42.93, -56.70)
CIE-LCHlch(22.28, 71.11, 307.13°)
OKLaboklab(34.93% 0.0451 -0.1633)
OKLCHoklch(34.93% 0.169 285.4)
XYZxyz(6.8348, 3.5934, 25.1393)
Luminance0.0359 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#391C8C #6F8C1C
analogous
#1C378C #391C8C #711C8C
triadic
#391C8C #8C391C #1C8C39
tetradic
#391C8C #8C1C37 #6F8C1C #1C8C71
square
#391C8C #8C1C37 #6F8C1C #1C8C71
split-complementary
#391C8C #8C711C #378C1C
monochromatic
#0F0826 #241259 #391C8C #4E26BF #6E48DA

Accessibility & contrast

On white

12.22
#391C8C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.72
#391C8C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #391C8C
12.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##391C8C#FFFFFF#000000##FFFFFF
##391C8C1.0012.221.7212.22
#FFFFFF12.221.0021.001.00
#0000001.7221.001.0021.00
##FFFFFF12.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00388F
Deuteranopia (green-blind)
#00328A
Tritanopia (blue-blind)
#0C3D54
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #391c8c;
/* rgb */ color: rgb(57, 28, 140);
/* oklch */ color: oklch(34.9% 0.169 285.4);
Tailwind
colors: {
  custom: {
    50: '#7a5caf',
    500: '#391c8c',
    950: '#000000',
  },
}
SCSS
$custom: #391c8c;
$custom-light: #7a5caf;
$custom-dark: #000000;
JSON
{
  "hex": "#391c8c",
  "rgb": {
    "r": 57,
    "g": 28,
    "b": 140
  },
  "hsl": {
    "h": 255.536,
    "s": 66.667,
    "l": 32.941
  },
  "oklch": {
    "l": 0.34934,
    "c": 0.16945,
    "h": 285.4
  },
  "luminance": 0.03594
}

Semantic roles & 50–950 ramp

primary
#391C8C
secondary
#9EBC48
accent
#EA3EBD
background
#F7F5FA
surface
#EEE9F5
border
#C9C5CF
text
#0A0410
muted
#7C797F

Preview Lab

Preview with #391C8C

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

Preview Lab → · Contrast checker → · Palette generator →

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