#391A76#391A76

#391A76 is a dark, vivid violet. Relative luminance 0.029; OKLCH L 32.5% C 0.145 H 291.5°. Best body text is #FFFFFF at 13.26:1 contrast (WCAG AA passes).

Color values

HEX#391A76
RGBrgb(57, 26, 118)
HSLhsl(260, 64%, 28%)
HSVhsv(260, 78%, 46%)
CMYKcmyk(51.7%, 78%, 0%, 53.7%)
CIE-LABlab(19.71, 37.43, -47.01)
CIE-LCHlch(19.71, 60.09, 308.53°)
OKLaboklab(32.46% 0.0532 -0.135)
OKLCHoklch(32.46% 0.145 291.5)
XYZxyz(5.3258, 2.9164, 17.4183)
Luminance0.0292 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#391A76 #57761A
analogous
#1A2976 #391A76 #671A76
triadic
#391A76 #76391A #1A7639
tetradic
#391A76 #761A29 #57761A #1A7667
square
#391A76 #761A29 #57761A #1A7667
split-complementary
#391A76 #76671A #29761A
monochromatic
#0C0619 #210F44 #391A76 #5125A8 #6C37D3

Accessibility & contrast

On white

13.26
#391A76 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.58
#391A76 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #391A76
13.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##391A76#FFFFFF#000000##FFFFFF
##391A761.0013.261.5813.26
#FFFFFF13.261.0021.001.00
#0000001.5821.001.0021.00
##FFFFFF13.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003179
Deuteranopia (green-blind)
#002E74
Tritanopia (blue-blind)
#253347
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #391a76;
/* rgb */ color: rgb(57, 26, 118);
/* oklch */ color: oklch(32.5% 0.145 291.5);
Tailwind
colors: {
  custom: {
    50: '#765a9e',
    500: '#391a76',
    950: '#000000',
  },
}
SCSS
$custom: #391a76;
$custom-light: #765a9e;
$custom-dark: #000000;
JSON
{
  "hex": "#391a76",
  "rgb": {
    "r": 57,
    "g": 26,
    "b": 118
  },
  "hsl": {
    "h": 260.217,
    "s": 63.889,
    "l": 28.235
  },
  "oklch": {
    "l": 0.3246,
    "c": 0.14508,
    "h": 291.5
  },
  "luminance": 0.02917
}

Semantic roles & 50–950 ramp

primary
#391A76
secondary
#87AB41
accent
#E741AF
background
#F7F5F9
surface
#EEE9F2
border
#C9C5CC
text
#09040E
muted
#7B797E

Preview Lab

Preview with #391A76

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

Preview Lab → · Contrast checker → · Palette generator →

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