#391E83#391E83

#391E83 is a dark, vivid violet. Relative luminance 0.034; OKLCH L 34.3% C 0.157 H 287.2°. Best body text is #FFFFFF at 12.45:1 contrast (WCAG AA passes).

Color values

HEX#391E83
RGBrgb(57, 30, 131)
HSLhsl(256, 63%, 32%)
HSVhsv(256, 77%, 51%)
CMYKcmyk(56.5%, 77.1%, 0%, 48.6%)
CIE-LABlab(21.71, 39.22, -51.98)
CIE-LCHlch(21.71, 65.12, 307.03°)
OKLaboklab(34.26% 0.0463 -0.1496)
OKLCHoklch(34.26% 0.157 287.2)
XYZxyz(6.2471, 3.4368, 21.8025)
Luminance0.0344 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#391E83 #68831E
analogous
#1E3583 #391E83 #6C1E83
triadic
#391E83 #83391E #1E8339
tetradic
#391E83 #831E35 #68831E #1E836C
square
#391E83 #831E35 #68831E #1E836C
split-complementary
#391E83 #836C1E #35831E
monochromatic
#0E071F #231351 #391E83 #4F29B5 #6D47D5

Accessibility & contrast

On white

12.45
#391E83 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.69
#391E83 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #391E83
12.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##391E83#FFFFFF#000000##FFFFFF
##391E831.0012.451.6912.45
#FFFFFF12.451.0021.001.00
#0000001.6921.001.0021.00
##FFFFFF12.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003686
Deuteranopia (green-blind)
#003181
Tritanopia (blue-blind)
#193A4F
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #391e83;
/* rgb */ color: rgb(57, 30, 131);
/* oklch */ color: oklch(34.3% 0.157 287.2);
Tailwind
colors: {
  custom: {
    50: '#785da8',
    500: '#391e83',
    950: '#000000',
  },
}
SCSS
$custom: #391e83;
$custom-light: #785da8;
$custom-dark: #000000;
JSON
{
  "hex": "#391e83",
  "rgb": {
    "r": 57,
    "g": 30,
    "b": 131
  },
  "hsl": {
    "h": 256.04,
    "s": 62.733,
    "l": 31.569
  },
  "oklch": {
    "l": 0.34261,
    "c": 0.15655,
    "h": 287.2
  },
  "luminance": 0.03437
}

Semantic roles & 50–950 ramp

primary
#391E83
secondary
#98B647
accent
#E642BA
background
#F7F5FA
surface
#EEE9F4
border
#C9C5CE
text
#0A0410
muted
#7C797F

Preview Lab

Preview with #391E83

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

Preview Lab → · Contrast checker → · Palette generator →

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