#491778#491778

#491778 is a dark, vivid violet. Relative luminance 0.034; OKLCH L 34.3% C 0.152 H 302.1°. Best body text is #FFFFFF at 12.52:1 contrast (WCAG AA passes).

Color values

HEX#491778
RGBrgb(73, 23, 120)
HSLhsl(271, 68%, 28%)
HSVhsv(271, 81%, 47%)
CMYKcmyk(39.2%, 80.8%, 0%, 52.9%)
CIE-LABlab(21.53, 42.13, -45.23)
CIE-LCHlch(21.53, 61.81, 312.97°)
OKLaboklab(34.26% 0.0809 -0.1291)
OKLCHoklch(34.26% 0.152 302.1)
XYZxyz(6.4434, 3.3853, 18.0796)
Luminance0.0338 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#491778 #467817
analogous
#191778 #491778 #781776
triadic
#491778 #784917 #177849
tetradic
#491778 #781917 #467817 #177678
square
#491778 #781917 #467817 #177678
split-complementary
#491778 #767817 #177819
monochromatic
#10051A #2A0D45 #491778 #6821AB #8732D8

Accessibility & contrast

On white

12.52
#491778 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.68
#491778 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #491778
12.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##491778#FFFFFF#000000##FFFFFF
##4917781.0012.521.6812.52
#FFFFFF12.521.0021.001.00
#0000001.6821.001.0021.00
##FFFFFF12.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00337B
Deuteranopia (green-blind)
#003376
Tritanopia (blue-blind)
#3F3147
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #491778;
/* rgb */ color: rgb(73, 23, 120);
/* oklch */ color: oklch(34.3% 0.152 302.1);
Tailwind
colors: {
  custom: {
    50: '#815aa0',
    500: '#491778',
    950: '#000000',
  },
}
SCSS
$custom: #491778;
$custom-light: #815aa0;
$custom-dark: #000000;
JSON
{
  "hex": "#491778",
  "rgb": {
    "r": 73,
    "g": 23,
    "b": 120
  },
  "hsl": {
    "h": 270.928,
    "s": 67.832,
    "l": 28.039
  },
  "oklch": {
    "l": 0.34264,
    "c": 0.15237,
    "h": 302.1
  },
  "luminance": 0.03385
}

Semantic roles & 50–950 ramp

primary
#491778
secondary
#74AD3E
accent
#EB3D91
background
#F8F5F9
surface
#EFE9F2
border
#CAC5CC
text
#0B040F
muted
#7C797E

Preview Lab

Preview with #491778

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

Preview Lab → · Contrast checker → · Palette generator →

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