#391980#391980

#391980 is a dark, vivid violet. Relative luminance 0.031; OKLCH L 33.3% C 0.158 H 288.8°. Best body text is #FFFFFF at 12.92:1 contrast (WCAG AA passes).

Color values

HEX#391980
RGBrgb(57, 25, 128)
HSLhsl(259, 67%, 30%)
HSVhsv(259, 80%, 50%)
CMYKcmyk(55.5%, 80.5%, 0%, 49.8%)
CIE-LABlab(20.53, 40.85, -52.03)
CIE-LCHlch(20.53, 66.15, 308.13°)
OKLaboklab(33.34% 0.0511 -0.1497)
OKLCHoklch(33.34% 0.158 288.8)
XYZxyz(5.9301, 3.1233, 20.7083)
Luminance0.0312 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#391980 #608019
analogous
#192C80 #391980 #6D1980
triadic
#391980 #803919 #198039
tetradic
#391980 #80192C #608019 #19806D
square
#391980 #80192C #608019 #19806D
split-complementary
#391980 #806D19 #2C8019
monochromatic
#0B051A #220F4D #391980 #5023B3 #6C3BD9

Accessibility & contrast

On white

12.92
#391980 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.62
#391980 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #391980
12.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##391980#FFFFFF#000000##FFFFFF
##3919801.0012.921.6212.92
#FFFFFF12.921.0021.001.00
#0000001.6221.001.0021.00
##FFFFFF12.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003483
Deuteranopia (green-blind)
#002F7E
Tritanopia (blue-blind)
#1D374C
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #391980;
/* rgb */ color: rgb(57, 25, 128);
/* oklch */ color: oklch(33.3% 0.158 288.8);
Tailwind
colors: {
  custom: {
    50: '#785aa6',
    500: '#391980',
    950: '#000000',
  },
}
SCSS
$custom: #391980;
$custom-light: #785aa6;
$custom-dark: #000000;
JSON
{
  "hex": "#391980",
  "rgb": {
    "r": 57,
    "g": 25,
    "b": 128
  },
  "hsl": {
    "h": 258.641,
    "s": 67.32,
    "l": 30
  },
  "oklch": {
    "l": 0.33341,
    "c": 0.15813,
    "h": 288.8
  },
  "luminance": 0.03124
}

Semantic roles & 50–950 ramp

primary
#391980
secondary
#90B441
accent
#EA3EB5
background
#F7F5FA
surface
#EEE9F4
border
#C9C5CE
text
#0A040F
muted
#7C797F

Preview Lab

Preview with #391980

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

Preview Lab → · Contrast checker → · Palette generator →

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