#391677#391677

#391677 is a dark, vivid violet. Relative luminance 0.028; OKLCH L 32.1% C 0.151 H 292.0°. Best body text is #FFFFFF at 13.50:1 contrast (WCAG AA passes).

Color values

HEX#391677
RGBrgb(57, 22, 119)
HSLhsl(262, 69%, 28%)
HSVhsv(262, 82%, 47%)
CMYKcmyk(52.1%, 81.5%, 0%, 53.3%)
CIE-LABlab(19.12, 39.68, -48.61)
CIE-LCHlch(19.12, 62.75, 309.22°)
OKLaboklab(32.08% 0.0563 -0.1396)
OKLCHoklch(32.08% 0.151 292)
XYZxyz(5.3031, 2.7754, 17.7055)
Luminance0.0278 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#391677 #547716
analogous
#162477 #391677 #691677
triadic
#391677 #773916 #167739
tetradic
#391677 #771624 #547716 #167769
square
#391677 #771624 #547716 #167769
split-complementary
#391677 #776916 #247716
monochromatic
#0C051A #200C43 #391677 #5220AB #6C2FD9

Accessibility & contrast

On white

13.50
#391677 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #391677
13.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##391677#FFFFFF#000000##FFFFFF
##3916771.0013.501.5613.50
#FFFFFF13.501.0021.001.00
#0000001.5621.001.0021.00
##FFFFFF13.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00307A
Deuteranopia (green-blind)
#002C75
Tritanopia (blue-blind)
#243246
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #391677;
/* rgb */ color: rgb(57, 22, 119);
/* oklch */ color: oklch(32.1% 0.151 292.0);
Tailwind
colors: {
  custom: {
    50: '#77589f',
    500: '#391677',
    950: '#000000',
  },
}
SCSS
$custom: #391677;
$custom-light: #77589f;
$custom-dark: #000000;
JSON
{
  "hex": "#391677",
  "rgb": {
    "r": 57,
    "g": 22,
    "b": 119
  },
  "hsl": {
    "h": 261.649,
    "s": 68.794,
    "l": 27.647
  },
  "oklch": {
    "l": 0.32081,
    "c": 0.15054,
    "h": 292
  },
  "luminance": 0.02776
}

Semantic roles & 50–950 ramp

primary
#391677
secondary
#84AC3C
accent
#EC3CAC
background
#F7F5F9
surface
#EEE9F2
border
#C9C5CC
text
#09030F
muted
#7B787E

Preview Lab

Preview with #391677

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

Preview Lab → · Contrast checker → · Palette generator →

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