#391E72#391E72

#391E72 is a dark, vivid violet. Relative luminance 0.030; OKLCH L 32.6% C 0.135 H 291.9°. Best body text is #FFFFFF at 13.10:1 contrast (WCAG AA passes).

Color values

HEX#391E72
RGBrgb(57, 30, 114)
HSLhsl(259, 58%, 28%)
HSVhsv(259, 74%, 45%)
CMYKcmyk(50%, 73.7%, 0%, 55.3%)
CIE-LABlab(20.10, 34.08, -43.80)
CIE-LCHlch(20.10, 55.49, 307.89°)
OKLaboklab(32.62% 0.0504 -0.1256)
OKLCHoklch(32.62% 0.135 291.9)
XYZxyz(5.1880, 3.0131, 16.2246)
Luminance0.0301 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#391E72 #57721E
analogous
#1E2D72 #391E72 #631E72
triadic
#391E72 #72391E #1E7239
tetradic
#391E72 #721E2D #57721E #1E7263
square
#391E72 #721E2D #57721E #1E7263
split-complementary
#391E72 #72631E #2D721E
monochromatic
#0C0618 #211142 #391E72 #512BA2 #6C3ECC

Accessibility & contrast

On white

13.10
#391E72 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #391E72
13.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##391E72#FFFFFF#000000##FFFFFF
##391E721.0013.101.6013.10
#FFFFFF13.101.0021.001.00
#0000001.6021.001.0021.00
##FFFFFF13.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003274
Deuteranopia (green-blind)
#002F70
Tritanopia (blue-blind)
#273345
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #391e72;
/* rgb */ color: rgb(57, 30, 114);
/* oklch */ color: oklch(32.6% 0.135 291.9);
Tailwind
colors: {
  custom: {
    50: '#765c9b',
    500: '#391e72',
    950: '#000000',
  },
}
SCSS
$custom: #391e72;
$custom-light: #765c9b;
$custom-dark: #000000;
JSON
{
  "hex": "#391e72",
  "rgb": {
    "r": 57,
    "g": 30,
    "b": 114
  },
  "hsl": {
    "h": 259.286,
    "s": 58.333,
    "l": 28.235
  },
  "oklch": {
    "l": 0.3262,
    "c": 0.13529,
    "h": 291.9
  },
  "luminance": 0.03013
}

Semantic roles & 50–950 ramp

primary
#391E72
secondary
#87A646
accent
#E246B0
background
#F7F5F9
surface
#EDE9F2
border
#C8C5CC
text
#09040E
muted
#7B797E

Preview Lab

Preview with #391E72

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

Preview Lab → · Contrast checker → · Palette generator →

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