#491A78#491A78

#491A78 is a dark, vivid violet. Relative luminance 0.035; OKLCH L 34.6% C 0.149 H 301.6°. Best body text is #FFFFFF at 12.34:1 contrast (WCAG AA passes).

Color values

HEX#491A78
RGBrgb(73, 26, 120)
HSLhsl(270, 64%, 29%)
HSVhsv(270, 78%, 47%)
CMYKcmyk(39.2%, 78.3%, 0%, 52.9%)
CIE-LABlab(21.99, 40.81, -44.48)
CIE-LCHlch(21.99, 60.36, 312.54°)
OKLaboklab(34.59% 0.0781 -0.1269)
OKLCHoklch(34.59% 0.149 301.6)
XYZxyz(6.5064, 3.5113, 18.1006)
Luminance0.0351 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#491A78 #49781A
analogous
#1A1A78 #491A78 #781A78
triadic
#491A78 #78491A #1A7849
tetradic
#491A78 #781A1A #49781A #1A7878
square
#491A78 #781A1A #49781A #1A7878
split-complementary
#491A78 #78781A #1A781A
monochromatic
#0F0519 #2A0F46 #491A78 #6825AA #8638D4

Accessibility & contrast

On white

12.34
#491A78 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.70
#491A78 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #491A78
12.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##491A78#FFFFFF#000000##FFFFFF
##491A781.0012.341.7012.34
#FFFFFF12.341.0021.001.00
#0000001.7021.001.0021.00
##FFFFFF12.341.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #491a78;
/* rgb */ color: rgb(73, 26, 120);
/* oklch */ color: oklch(34.6% 0.149 301.6);
Tailwind
colors: {
  custom: {
    50: '#815ca0',
    500: '#491a78',
    950: '#000000',
  },
}
SCSS
$custom: #491a78;
$custom-light: #815ca0;
$custom-dark: #000000;
JSON
{
  "hex": "#491a78",
  "rgb": {
    "r": 73,
    "g": 26,
    "b": 120
  },
  "hsl": {
    "h": 270,
    "s": 64.384,
    "l": 28.627
  },
  "oklch": {
    "l": 0.34586,
    "c": 0.14906,
    "h": 301.6
  },
  "luminance": 0.03511
}

Semantic roles & 50–950 ramp

primary
#491A78
secondary
#77AC41
accent
#E74094
background
#F8F5F9
surface
#EFE9F2
border
#CAC5CC
text
#0B040F
muted
#7C797E

Preview Lab

Preview with #491A78

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

Preview Lab → · Contrast checker → · Palette generator →

#491A78 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva