#391371#391371

#391371 is a dark, vivid violet. Relative luminance 0.025; OKLCH L 31.1% C 0.147 H 294.4°. Best body text is #FFFFFF at 13.95:1 contrast (WCAG AA passes).

Color values

HEX#391371
RGBrgb(57, 19, 113)
HSLhsl(264, 71%, 26%)
HSVhsv(264, 83%, 44%)
CMYKcmyk(49.6%, 83.2%, 0%, 55.7%)
CIE-LABlab(18.04, 39.35, -46.51)
CIE-LCHlch(18.04, 60.92, 310.23°)
OKLaboklab(31.15% 0.0607 -0.1334)
OKLCHoklch(31.15% 0.147 294.4)
XYZxyz(4.9000, 2.5277, 15.8493)
Luminance0.0253 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#391371 #4B7113
analogous
#131C71 #391371 #681371
triadic
#391371 #713913 #137139
tetradic
#391371 #71131C #4B7113 #137168
square
#391371 #71131C #4B7113 #137168
split-complementary
#391371 #716813 #1C7113
monochromatic
#0D041A #1F0A3D #391371 #531CA5 #6E25DA

Accessibility & contrast

On white

13.95
#391371 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.51
#391371 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #391371
13.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##391371#FFFFFF#000000##FFFFFF
##3913711.0013.951.5113.95
#FFFFFF13.951.0021.001.00
#0000001.5121.001.0021.00
##FFFFFF13.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002D74
Deuteranopia (green-blind)
#002B6F
Tritanopia (blue-blind)
#282E42
Achromatopsia (no color)
#2C2C2C

Design tokens & code

CSS
--color: #391371;
/* rgb */ color: rgb(57, 19, 113);
/* oklch */ color: oklch(31.1% 0.147 294.4);
Tailwind
colors: {
  custom: {
    50: '#76569b',
    500: '#391371',
    950: '#000000',
  },
}
SCSS
$custom: #391371;
$custom-light: #76569b;
$custom-dark: #000000;
JSON
{
  "hex": "#391371",
  "rgb": {
    "r": 57,
    "g": 19,
    "b": 113
  },
  "hsl": {
    "h": 264.255,
    "s": 71.212,
    "l": 25.882
  },
  "oklch": {
    "l": 0.31147,
    "c": 0.14658,
    "h": 294.4
  },
  "luminance": 0.02528
}

Semantic roles & 50–950 ramp

primary
#391371
secondary
#7BA838
accent
#EE3AA5
background
#F7F5F9
surface
#EEE9F2
border
#C9C5CC
text
#09030E
muted
#7B787E

Preview Lab

Preview with #391371

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

Preview Lab → · Contrast checker → · Palette generator →

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