#391C8E#391C8E

#391C8E is a dark, vivid violet. Relative luminance 0.037; OKLCH L 35.1% C 0.172 H 285.0°. Best body text is #FFFFFF at 12.13:1 contrast (WCAG AA passes).

Color values

HEX#391C8E
RGBrgb(57, 28, 142)
HSLhsl(255, 67%, 33%)
HSVhsv(255, 80%, 56%)
CMYKcmyk(59.9%, 80.3%, 0%, 44.3%)
CIE-LABlab(22.49, 43.52, -57.60)
CIE-LCHlch(22.49, 72.19, 307.07°)
OKLaboklab(35.14% 0.0445 -0.166)
OKLCHoklch(35.14% 0.172 285)
XYZxyz(6.9836, 3.6529, 25.9230)
Luminance0.0365 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#391C8E #718E1C
analogous
#1C388E #391C8E #721C8E
triadic
#391C8E #8E391C #1C8E39
tetradic
#391C8E #8E1C38 #718E1C #1C8E72
square
#391C8E #8E1C38 #718E1C #1C8E72
split-complementary
#391C8E #8E721C #388E1C
monochromatic
#100828 #24125B #391C8E #4E26C1 #6E49DB

Accessibility & contrast

On white

12.13
#391C8E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.73
#391C8E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #391C8E
12.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##391C8E#FFFFFF#000000##FFFFFF
##391C8E1.0012.131.7312.13
#FFFFFF12.131.0021.001.00
#0000001.7321.001.0021.00
##FFFFFF12.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003991
Deuteranopia (green-blind)
#00328C
Tritanopia (blue-blind)
#073E55
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #391c8e;
/* rgb */ color: rgb(57, 28, 142);
/* oklch */ color: oklch(35.1% 0.172 285.0);
Tailwind
colors: {
  custom: {
    50: '#7b5db0',
    500: '#391c8e',
    950: '#000000',
  },
}
SCSS
$custom: #391c8e;
$custom-light: #7b5db0;
$custom-dark: #000000;
JSON
{
  "hex": "#391c8e",
  "rgb": {
    "r": 57,
    "g": 28,
    "b": 142
  },
  "hsl": {
    "h": 255.263,
    "s": 67.059,
    "l": 33.333
  },
  "oklch": {
    "l": 0.35143,
    "c": 0.17182,
    "h": 285
  },
  "luminance": 0.03653
}

Semantic roles & 50–950 ramp

primary
#391C8E
secondary
#A0BD49
accent
#EA3EBE
background
#F8F5FB
surface
#EFE9F6
border
#CAC5D0
text
#0A0411
muted
#7C7980

Preview Lab

Preview with #391C8E

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

Preview Lab → · Contrast checker → · Palette generator →

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