#391979#391979

#391979 is a dark, vivid violet. Relative luminance 0.029; OKLCH L 32.6% C 0.150 H 290.8°. Best body text is #FFFFFF at 13.21:1 contrast (WCAG AA passes).

Color values

HEX#391979
RGBrgb(57, 25, 121)
HSLhsl(260, 66%, 29%)
HSVhsv(260, 79%, 47%)
CMYKcmyk(52.9%, 79.3%, 0%, 52.5%)
CIE-LABlab(19.82, 38.81, -48.74)
CIE-LCHlch(19.82, 62.30, 308.53°)
OKLaboklab(32.63% 0.0532 -0.14)
OKLCHoklch(32.63% 0.15 290.8)
XYZxyz(5.4852, 2.9454, 18.3649)
Luminance0.0295 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#391979 #597919
analogous
#192979 #391979 #691979
triadic
#391979 #793919 #197939
tetradic
#391979 #791929 #597919 #197969
square
#391979 #791929 #597919 #197969
split-complementary
#391979 #796919 #297919
monochromatic
#0C0519 #210F46 #391979 #5123AC #6C37D6

Accessibility & contrast

On white

13.21
#391979 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.59
#391979 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #391979
13.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##391979#FFFFFF#000000##FFFFFF
##3919791.0013.211.5913.21
#FFFFFF13.211.0021.001.00
#0000001.5921.001.0021.00
##FFFFFF13.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00317C
Deuteranopia (green-blind)
#002E77
Tritanopia (blue-blind)
#233448
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #391979;
/* rgb */ color: rgb(57, 25, 121);
/* oklch */ color: oklch(32.6% 0.150 290.8);
Tailwind
colors: {
  custom: {
    50: '#775aa1',
    500: '#391979',
    950: '#000000',
  },
}
SCSS
$custom: #391979;
$custom-light: #775aa1;
$custom-dark: #000000;
JSON
{
  "hex": "#391979",
  "rgb": {
    "r": 57,
    "g": 25,
    "b": 121
  },
  "hsl": {
    "h": 260,
    "s": 65.753,
    "l": 28.627
  },
  "oklch": {
    "l": 0.32632,
    "c": 0.1498,
    "h": 290.8
  },
  "luminance": 0.02946
}

Semantic roles & 50–950 ramp

primary
#391979
secondary
#89AE40
accent
#E93FB0
background
#F7F5FA
surface
#EEE9F3
border
#C9C5CD
text
#09040F
muted
#7B797F

Preview Lab

Preview with #391979

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

Preview Lab → · Contrast checker → · Palette generator →

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