#491788#491788

#491788 is a dark, vivid violet. Relative luminance 0.038; OKLCH L 35.8% C 0.170 H 296.6°. Best body text is #FFFFFF at 11.92:1 contrast (WCAG AA passes).

Color values

HEX#491788
RGBrgb(73, 23, 136)
HSLhsl(267, 71%, 31%)
HSVhsv(267, 83%, 53%)
CMYKcmyk(46.3%, 83.1%, 0%, 46.7%)
CIE-LABlab(23.02, 46.23, -52.91)
CIE-LCHlch(23.02, 70.26, 311.15°)
OKLaboklab(35.76% 0.0758 -0.1516)
OKLCHoklch(35.76% 0.17 296.6)
XYZxyz(7.4968, 3.8067, 23.6276)
Luminance0.0381 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#491788 #568817
analogous
#171D88 #491788 #811788
triadic
#491788 #884917 #178849
tetradic
#491788 #88171D #568817 #178881
square
#491788 #88171D #568817 #178881
split-complementary
#491788 #888117 #1D8817
monochromatic
#11051F #2D0E54 #491788 #6520BC #833BDE

Accessibility & contrast

On white

11.92
#491788 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.76
#491788 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #491788
11.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##491788#FFFFFF#000000##FFFFFF
##4917881.0011.921.7611.92
#FFFFFF11.921.0021.001.00
#0000001.7621.001.0021.00
##FFFFFF11.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00378B
Deuteranopia (green-blind)
#003586
Tritanopia (blue-blind)
#383850
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #491788;
/* rgb */ color: rgb(73, 23, 136);
/* oklch */ color: oklch(35.8% 0.170 296.6);
Tailwind
colors: {
  custom: {
    50: '#835bac',
    500: '#491788',
    950: '#000000',
  },
}
SCSS
$custom: #491788;
$custom-light: #835bac;
$custom-dark: #000000;
JSON
{
  "hex": "#491788",
  "rgb": {
    "r": 73,
    "g": 23,
    "b": 136
  },
  "hsl": {
    "h": 266.549,
    "s": 71.069,
    "l": 31.176
  },
  "oklch": {
    "l": 0.35764,
    "c": 0.16954,
    "h": 296.6
  },
  "luminance": 0.03807
}

Semantic roles & 50–950 ramp

primary
#491788
secondary
#85BC3F
accent
#EE3A9E
background
#F8F5FA
surface
#F0E9F4
border
#CBC5CE
text
#0B0410
muted
#7C797F

Preview Lab

Preview with #491788

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

Preview Lab → · Contrast checker → · Palette generator →

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