#391C72#391C72

#391C72 is a dark, vivid violet. Relative luminance 0.029; OKLCH L 32.3% C 0.138 H 292.3°. Best body text is #FFFFFF at 13.27:1 contrast (WCAG AA passes).

Color values

HEX#391C72
RGBrgb(57, 28, 114)
HSLhsl(260, 61%, 28%)
HSVhsv(260, 75%, 45%)
CMYKcmyk(50%, 75.4%, 0%, 55.3%)
CIE-LABlab(19.70, 35.19, -44.44)
CIE-LCHlch(19.70, 56.69, 308.37°)
OKLaboklab(32.34% 0.0524 -0.1274)
OKLCHoklch(32.34% 0.138 292.3)
XYZxyz(5.1390, 2.9151, 16.2082)
Luminance0.0291 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#391C72 #55721C
analogous
#1C2A72 #391C72 #641C72
triadic
#391C72 #72391C #1C7239
tetradic
#391C72 #721C2A #55721C #1C7264
square
#391C72 #721C2A #55721C #1C7264
split-complementary
#391C72 #72641C #2A721C
monochromatic
#0C0619 #201041 #391C72 #5228A3 #6C3ACF

Accessibility & contrast

On white

13.27
#391C72 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.58
#391C72 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #391C72
13.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##391C72#FFFFFF#000000##FFFFFF
##391C721.0013.271.5813.27
#FFFFFF13.271.0021.001.00
#0000001.5821.001.0021.00
##FFFFFF13.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003175
Deuteranopia (green-blind)
#002E70
Tritanopia (blue-blind)
#273245
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #391c72;
/* rgb */ color: rgb(57, 28, 114);
/* oklch */ color: oklch(32.3% 0.138 292.3);
Tailwind
colors: {
  custom: {
    50: '#765b9b',
    500: '#391c72',
    950: '#000000',
  },
}
SCSS
$custom: #391c72;
$custom-light: #765b9b;
$custom-dark: #000000;
JSON
{
  "hex": "#391c72",
  "rgb": {
    "r": 57,
    "g": 28,
    "b": 114
  },
  "hsl": {
    "h": 260.233,
    "s": 60.563,
    "l": 27.843
  },
  "oklch": {
    "l": 0.32339,
    "c": 0.1378,
    "h": 292.3
  },
  "luminance": 0.02915
}

Semantic roles & 50–950 ramp

primary
#391C72
secondary
#85A643
accent
#E444AE
background
#F7F5F9
surface
#EDE9F2
border
#C8C5CC
text
#09040E
muted
#7B797E

Preview Lab

Preview with #391C72

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

Preview Lab → · Contrast checker → · Palette generator →

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