#391C9C#391C9C

#391C9C is a dark, vivid violet. Relative luminance 0.041; OKLCH L 36.6% C 0.188 H 282.3°. Best body text is #FFFFFF at 11.54:1 contrast (WCAG AA passes).

Color values

HEX#391C9C
RGBrgb(57, 28, 156)
HSLhsl(254, 70%, 36%)
HSVhsv(254, 82%, 61%)
CMYKcmyk(63.5%, 82.1%, 0%, 38.8%)
CIE-LABlab(24.00, 47.63, -63.74)
CIE-LCHlch(24.00, 79.58, 306.77°)
OKLaboklab(36.64% 0.04 -0.1839)
OKLCHoklch(36.64% 0.188 282.3)
XYZxyz(8.1015, 4.1001, 31.8105)
Luminance0.0410 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#391C9C #7F9C1C
analogous
#1C3F9C #391C9C #791C9C
triadic
#391C9C #9C391C #1C9C39
tetradic
#391C9C #9C1C3F #7F9C1C #1C9C79
square
#391C9C #9C1C3F #7F9C1C #1C9C79
split-complementary
#391C9C #9C791C #3F9C1C
monochromatic
#130934 #261368 #391C9C #4C25D0 #7252E0

Accessibility & contrast

On white

11.54
#391C9C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.82
#391C9C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #391C9C
11.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##391C9C#FFFFFF#000000##FFFFFF
##391C9C1.0011.541.8211.54
#FFFFFF11.541.0021.001.00
#0000001.8221.001.0021.00
##FFFFFF11.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003D9F
Deuteranopia (green-blind)
#00359A
Tritanopia (blue-blind)
#00435D
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #391c9c;
/* rgb */ color: rgb(57, 28, 156);
/* oklch */ color: oklch(36.6% 0.188 282.3);
Tailwind
colors: {
  custom: {
    50: '#7d5eba',
    500: '#391c9c',
    950: '#000000',
  },
}
SCSS
$custom: #391c9c;
$custom-light: #7d5eba;
$custom-dark: #000000;
JSON
{
  "hex": "#391c9c",
  "rgb": {
    "r": 57,
    "g": 28,
    "b": 156
  },
  "hsl": {
    "h": 253.594,
    "s": 69.565,
    "l": 36.078
  },
  "oklch": {
    "l": 0.3664,
    "c": 0.18818,
    "h": 282.3
  },
  "luminance": 0.04101
}

Semantic roles & 50–950 ramp

primary
#391C9C
secondary
#A9C351
accent
#EC3BC4
background
#F8F5FB
surface
#EFE9F6
border
#CAC5D0
text
#0B0512
muted
#7C7981

Preview Lab

Preview with #391C9C

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

Preview Lab → · Contrast checker → · Palette generator →

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