#391973#391973

#391973 is a dark, vivid violet. Relative luminance 0.028; OKLCH L 32.0% C 0.143 H 292.7°. Best body text is #FFFFFF at 13.46:1 contrast (WCAG AA passes).

Color values

HEX#391973
RGBrgb(57, 25, 115)
HSLhsl(261, 64%, 27%)
HSVhsv(261, 78%, 45%)
CMYKcmyk(50.4%, 78.3%, 0%, 54.9%)
CIE-LABlab(19.24, 37.06, -45.85)
CIE-LCHlch(19.24, 58.95, 308.95°)
OKLaboklab(32.04% 0.055 -0.1315)
OKLCHoklch(32.04% 0.143 292.7)
XYZxyz(5.1286, 2.8027, 16.4871)
Luminance0.0280 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#391973 #537319
analogous
#192673 #391973 #661973
triadic
#391973 #733919 #197339
tetradic
#391973 #731926 #537319 #197366
square
#391973 #731926 #537319 #197366
split-complementary
#391973 #736619 #267319
monochromatic
#0C0519 #200E41 #391973 #5224A5 #6C34D3

Accessibility & contrast

On white

13.46
#391973 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #391973
13.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##391973#FFFFFF#000000##FFFFFF
##3919731.0013.461.5613.46
#FFFFFF13.461.0021.001.00
#0000001.5621.001.0021.00
##FFFFFF13.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003076
Deuteranopia (green-blind)
#002D71
Tritanopia (blue-blind)
#273145
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #391973;
/* rgb */ color: rgb(57, 25, 115);
/* oklch */ color: oklch(32.0% 0.143 292.7);
Tailwind
colors: {
  custom: {
    50: '#76599c',
    500: '#391973',
    950: '#000000',
  },
}
SCSS
$custom: #391973;
$custom-light: #76599c;
$custom-dark: #000000;
JSON
{
  "hex": "#391973",
  "rgb": {
    "r": 57,
    "g": 25,
    "b": 115
  },
  "hsl": {
    "h": 261.333,
    "s": 64.286,
    "l": 27.451
  },
  "oklch": {
    "l": 0.32041,
    "c": 0.14257,
    "h": 292.7
  },
  "luminance": 0.02803
}

Semantic roles & 50–950 ramp

primary
#391973
secondary
#83A840
accent
#E741AC
background
#F7F5F9
surface
#EDE9F2
border
#C8C5CC
text
#09040E
muted
#7B797E

Preview Lab

Preview with #391973

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

Preview Lab → · Contrast checker → · Palette generator →

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