#391777#391777

#391777 is a dark, vivid violet. Relative luminance 0.028; OKLCH L 32.2% C 0.150 H 291.8°. Best body text is #FFFFFF at 13.44:1 contrast (WCAG AA passes).

Color values

HEX#391777
RGBrgb(57, 23, 119)
HSLhsl(261, 68%, 28%)
HSVhsv(261, 81%, 47%)
CMYKcmyk(52.1%, 80.7%, 0%, 53.3%)
CIE-LABlab(19.28, 39.20, -48.34)
CIE-LCHlch(19.28, 62.24, 309.04°)
OKLaboklab(32.2% 0.0555 -0.1388)
OKLCHoklch(32.2% 0.15 291.8)
XYZxyz(5.3226, 2.8144, 17.7120)
Luminance0.0282 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#391777 #557717
analogous
#172577 #391777 #691777
triadic
#391777 #773917 #177739
tetradic
#391777 #771725 #557717 #177769
square
#391777 #771725 #557717 #177769
split-complementary
#391777 #776917 #257717
monochromatic
#0C051A #200D44 #391777 #5221AA #6C31D7

Accessibility & contrast

On white

13.44
#391777 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.56
#391777 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #391777
13.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##391777#FFFFFF#000000##FFFFFF
##3917771.0013.441.5613.44
#FFFFFF13.441.0021.001.00
#0000001.5621.001.0021.00
##FFFFFF13.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00307A
Deuteranopia (green-blind)
#002D75
Tritanopia (blue-blind)
#243247
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #391777;
/* rgb */ color: rgb(57, 23, 119);
/* oklch */ color: oklch(32.2% 0.150 291.8);
Tailwind
colors: {
  custom: {
    50: '#77599f',
    500: '#391777',
    950: '#000000',
  },
}
SCSS
$custom: #391777;
$custom-light: #77599f;
$custom-dark: #000000;
JSON
{
  "hex": "#391777",
  "rgb": {
    "r": 57,
    "g": 23,
    "b": 119
  },
  "hsl": {
    "h": 261.25,
    "s": 67.606,
    "l": 27.843
  },
  "oklch": {
    "l": 0.32195,
    "c": 0.14951,
    "h": 291.8
  },
  "luminance": 0.02815
}

Semantic roles & 50–950 ramp

primary
#391777
secondary
#85AC3E
accent
#EA3DAD
background
#F7F5F9
surface
#EEE9F2
border
#C9C5CC
text
#09040F
muted
#7B797E

Preview Lab

Preview with #391777

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

Preview Lab → · Contrast checker → · Palette generator →

#391777 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva