#491774#491774

#491774 is a dark, vivid violet. Relative luminance 0.033; OKLCH L 33.9% C 0.148 H 303.6°. Best body text is #FFFFFF at 12.67:1 contrast (WCAG AA passes).

Color values

HEX#491774
RGBrgb(73, 23, 116)
HSLhsl(272, 67%, 27%)
HSVhsv(272, 80%, 45%)
CMYKcmyk(37.1%, 80.2%, 0%, 54.5%)
CIE-LABlab(21.17, 41.12, -43.24)
CIE-LCHlch(21.17, 59.67, 313.56°)
OKLaboklab(33.91% 0.082 -0.1233)
OKLCHoklch(33.91% 0.148 303.6)
XYZxyz(6.2057, 3.2902, 16.8278)
Luminance0.0329 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#491774 #427417
analogous
#1B1774 #491774 #741771
triadic
#491774 #744917 #177449
tetradic
#491774 #741B17 #427417 #177174
square
#491774 #741B17 #427417 #177174
split-complementary
#491774 #717417 #17741B
monochromatic
#10051A #290D41 #491774 #6921A7 #8930D6

Accessibility & contrast

On white

12.67
#491774 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.66
#491774 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #491774
12.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##491774#FFFFFF#000000##FFFFFF
##4917741.0012.671.6612.67
#FFFFFF12.671.0021.001.00
#0000001.6621.001.0021.00
##FFFFFF12.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003277
Deuteranopia (green-blind)
#003372
Tritanopia (blue-blind)
#402F45
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #491774;
/* rgb */ color: rgb(73, 23, 116);
/* oklch */ color: oklch(33.9% 0.148 303.6);
Tailwind
colors: {
  custom: {
    50: '#815a9d',
    500: '#491774',
    950: '#000000',
  },
}
SCSS
$custom: #491774;
$custom-light: #815a9d;
$custom-dark: #000000;
JSON
{
  "hex": "#491774",
  "rgb": {
    "r": 73,
    "g": 23,
    "b": 116
  },
  "hsl": {
    "h": 272.258,
    "s": 66.906,
    "l": 27.255
  },
  "oklch": {
    "l": 0.33905,
    "c": 0.14806,
    "h": 303.6
  },
  "luminance": 0.0329
}

Semantic roles & 50–950 ramp

primary
#491774
secondary
#6FA93D
accent
#EA3E8D
background
#F8F5F9
surface
#EFE9F2
border
#CAC5CC
text
#0B040E
muted
#7C797E

Preview Lab

Preview with #491774

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

Preview Lab → · Contrast checker → · Palette generator →

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