#491786#491786

#491786 is a dark, vivid violet. Relative luminance 0.037; OKLCH L 35.6% C 0.167 H 297.2°. Best body text is #FFFFFF at 12.00:1 contrast (WCAG AA passes).

Color values

HEX#491786
RGBrgb(73, 23, 134)
HSLhsl(267, 71%, 31%)
HSVhsv(267, 83%, 53%)
CMYKcmyk(45.5%, 82.8%, 0%, 47.5%)
CIE-LABlab(22.83, 45.71, -51.97)
CIE-LCHlch(22.83, 69.21, 311.34°)
OKLaboklab(35.57% 0.0765 -0.1489)
OKLCHoklch(35.57% 0.167 297.2)
XYZxyz(7.3560, 3.7503, 22.8860)
Luminance0.0375 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#491786 #548617
analogous
#171C86 #491786 #801786
triadic
#491786 #864917 #178649
tetradic
#491786 #86171C #548617 #178680
square
#491786 #86171C #548617 #178680
split-complementary
#491786 #868017 #1C8617
monochromatic
#10051E #2D0E52 #491786 #6520BA #843ADD

Accessibility & contrast

On white

12.00
#491786 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.75
#491786 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #491786
12.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##491786#FFFFFF#000000##FFFFFF
##4917861.0012.001.7512.00
#FFFFFF12.001.0021.001.00
#0000001.7521.001.0021.00
##FFFFFF12.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003789
Deuteranopia (green-blind)
#003584
Tritanopia (blue-blind)
#39374F
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #491786;
/* rgb */ color: rgb(73, 23, 134);
/* oklch */ color: oklch(35.6% 0.167 297.2);
Tailwind
colors: {
  custom: {
    50: '#835baa',
    500: '#491786',
    950: '#000000',
  },
}
SCSS
$custom: #491786;
$custom-light: #835baa;
$custom-dark: #000000;
JSON
{
  "hex": "#491786",
  "rgb": {
    "r": 73,
    "g": 23,
    "b": 134
  },
  "hsl": {
    "h": 267.027,
    "s": 70.701,
    "l": 30.784
  },
  "oklch": {
    "l": 0.35571,
    "c": 0.16741,
    "h": 297.2
  },
  "luminance": 0.0375
}

Semantic roles & 50–950 ramp

primary
#491786
secondary
#83BA3F
accent
#ED3A9D
background
#F8F5FA
surface
#F0E9F4
border
#CBC5CE
text
#0B0410
muted
#7C797F

Preview Lab

Preview with #491786

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

Preview Lab → · Contrast checker → · Palette generator →

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