#491772#491772

#491772 is a dark, vivid violet. Relative luminance 0.032; OKLCH L 33.7% C 0.146 H 304.4°. Best body text is #FFFFFF at 12.74:1 contrast (WCAG AA passes).

Color values

HEX#491772
RGBrgb(73, 23, 114)
HSLhsl(273, 66%, 27%)
HSVhsv(273, 80%, 45%)
CMYKcmyk(36%, 79.8%, 0%, 55.3%)
CIE-LABlab(21.00, 40.62, -42.24)
CIE-LCHlch(21.00, 58.60, 313.88°)
OKLaboklab(33.73% 0.0825 -0.1203)
OKLCHoklch(33.73% 0.146 304.4)
XYZxyz(6.0906, 3.2442, 16.2216)
Luminance0.0324 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#491772 #407217
analogous
#1C1772 #491772 #72176E
triadic
#491772 #724917 #177249
tetradic
#491772 #721C17 #407217 #176E72
square
#491772 #721C17 #407217 #176E72
split-complementary
#491772 #6E7217 #17721C
monochromatic
#100519 #280D3F #491772 #6A21A5 #8A2ED5

Accessibility & contrast

On white

12.74
#491772 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.65
#491772 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #491772
12.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##491772#FFFFFF#000000##FFFFFF
##4917721.0012.741.6512.74
#FFFFFF12.741.0021.001.00
#0000001.6521.001.0021.00
##FFFFFF12.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003175
Deuteranopia (green-blind)
#003270
Tritanopia (blue-blind)
#412E44
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #491772;
/* rgb */ color: rgb(73, 23, 114);
/* oklch */ color: oklch(33.7% 0.146 304.4);
Tailwind
colors: {
  custom: {
    50: '#805a9b',
    500: '#491772',
    950: '#000000',
  },
}
SCSS
$custom: #491772;
$custom-light: #805a9b;
$custom-dark: #000000;
JSON
{
  "hex": "#491772",
  "rgb": {
    "r": 73,
    "g": 23,
    "b": 114
  },
  "hsl": {
    "h": 272.967,
    "s": 66.423,
    "l": 26.863
  },
  "oklch": {
    "l": 0.33729,
    "c": 0.1459,
    "h": 304.4
  },
  "luminance": 0.03244
}

Semantic roles & 50–950 ramp

primary
#491772
secondary
#6DA83D
accent
#E93E8B
background
#F8F5F9
surface
#EFE9F2
border
#CAC5CC
text
#0B040E
muted
#7C797E

Preview Lab

Preview with #491772

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

Preview Lab → · Contrast checker → · Palette generator →

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