#391C8F#391C8F

#391C8F is a dark, vivid violet. Relative luminance 0.037; OKLCH L 35.2% C 0.173 H 284.8°. Best body text is #FFFFFF at 12.09:1 contrast (WCAG AA passes).

Color values

HEX#391C8F
RGBrgb(57, 28, 143)
HSLhsl(255, 67%, 34%)
HSVhsv(255, 80%, 56%)
CMYKcmyk(60.1%, 80.4%, 0%, 43.9%)
CIE-LABlab(22.59, 43.81, -58.04)
CIE-LCHlch(22.59, 72.72, 307.05°)
OKLaboklab(35.25% 0.0442 -0.1673)
OKLCHoklch(35.25% 0.173 284.8)
XYZxyz(7.0590, 3.6831, 26.3202)
Luminance0.0368 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#391C8F #728F1C
analogous
#1C398F #391C8F #721C8F
triadic
#391C8F #8F391C #1C8F39
tetradic
#391C8F #8F1C39 #728F1C #1C8F72
square
#391C8F #8F1C39 #728F1C #1C8F72
split-complementary
#391C8F #8F721C #398F1C
monochromatic
#100829 #25125C #391C8F #4D26C2 #6F4ADC

Accessibility & contrast

On white

12.09
#391C8F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.74
#391C8F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #391C8F
12.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##391C8F#FFFFFF#000000##FFFFFF
##391C8F1.0012.091.7412.09
#FFFFFF12.091.0021.001.00
#0000001.7421.001.0021.00
##FFFFFF12.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003992
Deuteranopia (green-blind)
#00328D
Tritanopia (blue-blind)
#053E55
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #391c8f;
/* rgb */ color: rgb(57, 28, 143);
/* oklch */ color: oklch(35.2% 0.173 284.8);
Tailwind
colors: {
  custom: {
    50: '#7b5db1',
    500: '#391c8f',
    950: '#000000',
  },
}
SCSS
$custom: #391c8f;
$custom-light: #7b5db1;
$custom-dark: #000000;
JSON
{
  "hex": "#391c8f",
  "rgb": {
    "r": 57,
    "g": 28,
    "b": 143
  },
  "hsl": {
    "h": 255.13,
    "s": 67.251,
    "l": 33.529
  },
  "oklch": {
    "l": 0.35248,
    "c": 0.173,
    "h": 284.8
  },
  "luminance": 0.03684
}

Semantic roles & 50–950 ramp

primary
#391C8F
secondary
#A0BE49
accent
#EA3EBF
background
#F8F5FB
surface
#EFE9F6
border
#CAC5D0
text
#0A0411
muted
#7C7980

Preview Lab

Preview with #391C8F

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

Preview Lab → · Contrast checker → · Palette generator →

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