#391D77#391D77

#391D77 is a dark, vivid violet. Relative luminance 0.031; OKLCH L 33.0% C 0.143 H 290.6°. Best body text is #FFFFFF at 13.00:1 contrast (WCAG AA passes).

Color values

HEX#391D77
RGBrgb(57, 29, 119)
HSLhsl(259, 61%, 29%)
HSVhsv(259, 76%, 47%)
CMYKcmyk(52.1%, 75.6%, 0%, 53.3%)
CIE-LABlab(20.36, 36.14, -46.57)
CIE-LCHlch(20.36, 58.95, 307.81°)
OKLaboklab(32.95% 0.0502 -0.1337)
OKLCHoklch(32.95% 0.143 290.6)
XYZxyz(5.4555, 3.0803, 17.7563)
Luminance0.0308 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#391D77 #5B771D
analogous
#1D2E77 #391D77 #661D77
triadic
#391D77 #77391D #1D7739
tetradic
#391D77 #771D2E #5B771D #1D7766
square
#391D77 #771D2E #5B771D #1D7766
split-complementary
#391D77 #77661D #2E771D
monochromatic
#0C0619 #211146 #391D77 #5129A8 #6C3ED0

Accessibility & contrast

On white

13.00
#391D77 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.62
#391D77 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #391D77
13.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##391D77#FFFFFF#000000##FFFFFF
##391D771.0013.001.6213.00
#FFFFFF13.001.0021.001.00
#0000001.6221.001.0021.00
##FFFFFF13.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00337A
Deuteranopia (green-blind)
#002F75
Tritanopia (blue-blind)
#243548
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #391d77;
/* rgb */ color: rgb(57, 29, 119);
/* oklch */ color: oklch(33.0% 0.143 290.6);
Tailwind
colors: {
  custom: {
    50: '#765c9f',
    500: '#391d77',
    950: '#000000',
  },
}
SCSS
$custom: #391d77;
$custom-light: #765c9f;
$custom-dark: #000000;
JSON
{
  "hex": "#391d77",
  "rgb": {
    "r": 57,
    "g": 29,
    "b": 119
  },
  "hsl": {
    "h": 258.667,
    "s": 60.811,
    "l": 29.02
  },
  "oklch": {
    "l": 0.32952,
    "c": 0.14284,
    "h": 290.6
  },
  "luminance": 0.0308
}

Semantic roles & 50–950 ramp

primary
#391D77
secondary
#8BAB45
accent
#E444B2
background
#F7F5F9
surface
#EEE9F2
border
#C9C5CC
text
#09040F
muted
#7B797E

Preview Lab

Preview with #391D77

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

Preview Lab → · Contrast checker → · Palette generator →

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