#491978#491978

#491978 is a dark, vivid violet. Relative luminance 0.035; OKLCH L 34.5% C 0.150 H 301.8°. Best body text is #FFFFFF at 12.40:1 contrast (WCAG AA passes).

Color values

HEX#491978
RGBrgb(73, 25, 120)
HSLhsl(270, 66%, 28%)
HSVhsv(270, 79%, 47%)
CMYKcmyk(39.2%, 79.2%, 0%, 52.9%)
CIE-LABlab(21.83, 41.26, -44.74)
CIE-LCHlch(21.83, 60.86, 312.68°)
OKLaboklab(34.48% 0.0791 -0.1277)
OKLCHoklch(34.48% 0.15 301.8)
XYZxyz(6.4846, 3.4678, 18.0934)
Luminance0.0347 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#491978 #487819
analogous
#1A1978 #491978 #781977
triadic
#491978 #784919 #197849
tetradic
#491978 #781A19 #487819 #197778
square
#491978 #781A19 #487819 #197778
split-complementary
#491978 #777819 #19781A
monochromatic
#0F0519 #2A0E45 #491978 #6824AB #8736D5

Accessibility & contrast

On white

12.40
#491978 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.69
#491978 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #491978
12.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##491978#FFFFFF#000000##FFFFFF
##4919781.0012.401.6912.40
#FFFFFF12.401.0021.001.00
#0000001.6921.001.0021.00
##FFFFFF12.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00347B
Deuteranopia (green-blind)
#003476
Tritanopia (blue-blind)
#3F3248
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #491978;
/* rgb */ color: rgb(73, 25, 120);
/* oklch */ color: oklch(34.5% 0.150 301.8);
Tailwind
colors: {
  custom: {
    50: '#815ba0',
    500: '#491978',
    950: '#000000',
  },
}
SCSS
$custom: #491978;
$custom-light: #815ba0;
$custom-dark: #000000;
JSON
{
  "hex": "#491978",
  "rgb": {
    "r": 73,
    "g": 25,
    "b": 120
  },
  "hsl": {
    "h": 270.316,
    "s": 65.517,
    "l": 28.431
  },
  "oklch": {
    "l": 0.34475,
    "c": 0.15019,
    "h": 301.8
  },
  "luminance": 0.03468
}

Semantic roles & 50–950 ramp

primary
#491978
secondary
#76AD40
accent
#E83F93
background
#F8F5F9
surface
#EFE9F2
border
#CAC5CC
text
#0B040F
muted
#7C797E

Preview Lab

Preview with #491978

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

Preview Lab → · Contrast checker → · Palette generator →

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