#391E71#391E71

#391E71 is a dark, vivid violet. Relative luminance 0.030; OKLCH L 32.5% C 0.134 H 292.2°. Best body text is #FFFFFF at 13.14:1 contrast (WCAG AA passes).

Color values

HEX#391E71
RGBrgb(57, 30, 113)
HSLhsl(260, 58%, 28%)
HSVhsv(260, 73%, 44%)
CMYKcmyk(49.6%, 73.5%, 0%, 55.7%)
CIE-LABlab(20.01, 33.78, -43.30)
CIE-LCHlch(20.01, 54.91, 307.96°)
OKLaboklab(32.53% 0.0506 -0.1241)
OKLCHoklch(32.53% 0.134 292.2)
XYZxyz(5.1314, 2.9905, 15.9264)
Luminance0.0299 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#391E71 #56711E
analogous
#1E2C71 #391E71 #621E71
triadic
#391E71 #71391E #1E7139
tetradic
#391E71 #711E2C #56711E #1E7162
square
#391E71 #711E2C #56711E #1E7162
split-complementary
#391E71 #71621E #2C711E
monochromatic
#0C0618 #211141 #391E71 #512BA1 #6C3ECC

Accessibility & contrast

On white

13.14
#391E71 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.60
#391E71 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #391E71
13.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##391E71#FFFFFF#000000##FFFFFF
##391E711.0013.141.6013.14
#FFFFFF13.141.0021.001.00
#0000001.6021.001.0021.00
##FFFFFF13.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003173
Deuteranopia (green-blind)
#002F6F
Tritanopia (blue-blind)
#283345
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #391e71;
/* rgb */ color: rgb(57, 30, 113);
/* oklch */ color: oklch(32.5% 0.134 292.2);
Tailwind
colors: {
  custom: {
    50: '#755c9b',
    500: '#391e71',
    950: '#000000',
  },
}
SCSS
$custom: #391e71;
$custom-light: #755c9b;
$custom-dark: #000000;
JSON
{
  "hex": "#391e71",
  "rgb": {
    "r": 57,
    "g": 30,
    "b": 113
  },
  "hsl": {
    "h": 259.518,
    "s": 58.042,
    "l": 28.039
  },
  "oklch": {
    "l": 0.32528,
    "c": 0.13402,
    "h": 292.2
  },
  "luminance": 0.02991
}

Semantic roles & 50–950 ramp

primary
#391E71
secondary
#86A546
accent
#E147AF
background
#F7F5F9
surface
#EDE9F2
border
#C8C5CC
text
#09040E
muted
#7B797E

Preview Lab

Preview with #391E71

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

Preview Lab → · Contrast checker → · Palette generator →

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