#391C7D#391C7D

#391C7D is a dark, vivid violet. Relative luminance 0.032; OKLCH L 33.4% C 0.151 H 289.1°. Best body text is #FFFFFF at 12.83:1 contrast (WCAG AA passes).

Color values

HEX#391C7D
RGBrgb(57, 28, 125)
HSLhsl(258, 63%, 30%)
HSVhsv(258, 78%, 49%)
CMYKcmyk(54.4%, 77.6%, 0%, 51%)
CIE-LABlab(20.75, 38.46, -49.76)
CIE-LCHlch(20.75, 62.89, 307.70°)
OKLaboklab(33.41% 0.0496 -0.143)
OKLCHoklch(33.41% 0.151 289.1)
XYZxyz(5.8032, 3.1808, 19.7062)
Luminance0.0318 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#391C7D #607D1C
analogous
#1C307D #391C7D #691C7D
triadic
#391C7D #7D391C #1C7D39
tetradic
#391C7D #7D1C30 #607D1C #1C7D69
square
#391C7D #7D1C30 #607D1C #1C7D69
split-complementary
#391C7D #7D691C #307D1C
monochromatic
#0B0619 #22114B #391C7D #5027AF #6C3FD4

Accessibility & contrast

On white

12.83
#391C7D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.64
#391C7D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #391C7D
12.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##391C7D#FFFFFF#000000##FFFFFF
##391C7D1.0012.831.6412.83
#FFFFFF12.831.0021.001.00
#0000001.6421.001.0021.00
##FFFFFF12.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003480
Deuteranopia (green-blind)
#00307B
Tritanopia (blue-blind)
#1F374B
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #391c7d;
/* rgb */ color: rgb(57, 28, 125);
/* oklch */ color: oklch(33.4% 0.151 289.1);
Tailwind
colors: {
  custom: {
    50: '#775ca4',
    500: '#391c7d',
    950: '#000000',
  },
}
SCSS
$custom: #391c7d;
$custom-light: #775ca4;
$custom-dark: #000000;
JSON
{
  "hex": "#391c7d",
  "rgb": {
    "r": 57,
    "g": 28,
    "b": 125
  },
  "hsl": {
    "h": 257.938,
    "s": 63.399,
    "l": 30
  },
  "oklch": {
    "l": 0.33405,
    "c": 0.15138,
    "h": 289.1
  },
  "luminance": 0.03181
}

Semantic roles & 50–950 ramp

primary
#391C7D
secondary
#90B144
accent
#E641B5
background
#F7F5FA
surface
#EEE9F4
border
#C9C5CE
text
#0A040F
muted
#7C797F

Preview Lab

Preview with #391C7D

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

Preview Lab → · Contrast checker → · Palette generator →

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