#391160#391160

#391160 is a dark, vivid violet. Relative luminance 0.021; OKLCH L 29.3% C 0.129 H 301.6°. Best body text is #FFFFFF at 14.76:1 contrast (WCAG AA passes).

Color values

HEX#391160
RGBrgb(57, 17, 96)
HSLhsl(270, 70%, 22%)
HSVhsv(270, 82%, 38%)
CMYKcmyk(40.6%, 82.3%, 0%, 62.4%)
CIE-LABlab(16.08, 35.62, -38.57)
CIE-LCHlch(16.08, 52.50, 312.72°)
OKLaboklab(29.27% 0.0678 -0.1101)
OKLCHoklch(29.27% 0.129 301.6)
XYZxyz(3.9986, 2.1153, 11.2617)
Luminance0.0211 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#391160 #386011
analogous
#121160 #391160 #601160
triadic
#391160 #603911 #116039
tetradic
#391160 #601211 #386011 #116060
square
#391160 #601211 #386011 #116060
split-complementary
#391160 #606011 #116012
monochromatic
#0F051A #1A082C #391160 #581A94 #7723C8

Accessibility & contrast

On white

14.76
#391160 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.42
#391160 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #391160
14.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##391160#FFFFFF#000000##FFFFFF
##3911601.0014.761.4214.76
#FFFFFF14.761.0021.001.00
#0000001.4221.001.0021.00
##FFFFFF14.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002762
Deuteranopia (green-blind)
#00285E
Tritanopia (blue-blind)
#302638
Achromatopsia (no color)
#282828

Design tokens & code

CSS
--color: #391160;
/* rgb */ color: rgb(57, 17, 96);
/* oklch */ color: oklch(29.3% 0.129 301.6);
Tailwind
colors: {
  custom: {
    50: '#74548e',
    500: '#391160',
    950: '#000000',
  },
}
SCSS
$custom: #391160;
$custom-light: #74548e;
$custom-dark: #000000;
JSON
{
  "hex": "#391160",
  "rgb": {
    "r": 57,
    "g": 17,
    "b": 96
  },
  "hsl": {
    "h": 270.38,
    "s": 69.912,
    "l": 22.157
  },
  "oklch": {
    "l": 0.29272,
    "c": 0.12933,
    "h": 301.6
  },
  "luminance": 0.02115
}

Semantic roles & 50–950 ramp

primary
#391160
secondary
#669934
accent
#ED3B93
background
#F7F5F8
surface
#EDE9F0
border
#C8C5CB
text
#09030C
muted
#7B787D

Preview Lab

Preview with #391160

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

Preview Lab → · Contrast checker → · Palette generator →

#391160 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva