#391977#391977

#391977 is a dark, vivid violet. Relative luminance 0.029; OKLCH L 32.4% C 0.147 H 291.4°. Best body text is #FFFFFF at 13.30:1 contrast (WCAG AA passes).

Color values

HEX#391977
RGBrgb(57, 25, 119)
HSLhsl(260, 65%, 28%)
HSVhsv(260, 79%, 47%)
CMYKcmyk(52.1%, 79%, 0%, 53.3%)
CIE-LABlab(19.63, 38.23, -47.78)
CIE-LCHlch(19.63, 61.19, 308.66°)
OKLaboklab(32.43% 0.0538 -0.1372)
OKLCHoklch(32.43% 0.147 291.4)
XYZxyz(5.3638, 2.8968, 17.7257)
Luminance0.0290 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#391977 #577719
analogous
#192877 #391977 #681977
triadic
#391977 #773919 #197739
tetradic
#391977 #771928 #577719 #197768
square
#391977 #771928 #577719 #197768
split-complementary
#391977 #776819 #287719
monochromatic
#0C0519 #210E44 #391977 #5124AA #6C36D5

Accessibility & contrast

On white

13.30
#391977 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.58
#391977 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #391977
13.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##391977#FFFFFF#000000##FFFFFF
##3919771.0013.301.5813.30
#FFFFFF13.301.0021.001.00
#0000001.5821.001.0021.00
##FFFFFF13.301.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #391977;
/* rgb */ color: rgb(57, 25, 119);
/* oklch */ color: oklch(32.4% 0.147 291.4);
Tailwind
colors: {
  custom: {
    50: '#775a9f',
    500: '#391977',
    950: '#000000',
  },
}
SCSS
$custom: #391977;
$custom-light: #775a9f;
$custom-dark: #000000;
JSON
{
  "hex": "#391977",
  "rgb": {
    "r": 57,
    "g": 25,
    "b": 119
  },
  "hsl": {
    "h": 260.426,
    "s": 65.278,
    "l": 28.235
  },
  "oklch": {
    "l": 0.32434,
    "c": 0.1474,
    "h": 291.4
  },
  "luminance": 0.02897
}

Semantic roles & 50–950 ramp

primary
#391977
secondary
#87AC40
accent
#E840AF
background
#F7F5F9
surface
#EEE9F2
border
#C9C5CC
text
#09040F
muted
#7B797E

Preview Lab

Preview with #391977

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

Preview Lab → · Contrast checker → · Palette generator →

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