#491872#491872

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

Color values

HEX#491872
RGBrgb(73, 24, 114)
HSLhsl(273, 65%, 27%)
HSVhsv(273, 79%, 45%)
CMYKcmyk(36%, 78.9%, 0%, 55.3%)
CIE-LABlab(21.15, 40.18, -41.99)
CIE-LCHlch(21.15, 58.11, 313.74°)
OKLaboklab(33.84% 0.0816 -0.1196)
OKLCHoklch(33.84% 0.145 304.3)
XYZxyz(6.1109, 3.2847, 16.2284)
Luminance0.0328 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#491872 #417218
analogous
#1C1872 #491872 #72186E
triadic
#491872 #724918 #187249
tetradic
#491872 #721C18 #417218 #186E72
square
#491872 #721C18 #417218 #186E72
split-complementary
#491872 #6E7218 #18721C
monochromatic
#100519 #290D3F #491872 #6923A5 #8931D4

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##491872#FFFFFF#000000##FFFFFF
##4918721.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)
#003275
Deuteranopia (green-blind)
#003370
Tritanopia (blue-blind)
#412F44
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #491872;
/* rgb */ color: rgb(73, 24, 114);
/* oklch */ color: oklch(33.8% 0.145 304.3);
Tailwind
colors: {
  custom: {
    50: '#805b9b',
    500: '#491872',
    950: '#000000',
  },
}
SCSS
$custom: #491872;
$custom-light: #805b9b;
$custom-dark: #000000;
JSON
{
  "hex": "#491872",
  "rgb": {
    "r": 73,
    "g": 24,
    "b": 114
  },
  "hsl": {
    "h": 272.667,
    "s": 65.217,
    "l": 27.059
  },
  "oklch": {
    "l": 0.33837,
    "c": 0.14476,
    "h": 304.3
  },
  "luminance": 0.03285
}

Semantic roles & 50–950 ramp

primary
#491872
secondary
#6EA73E
accent
#E8408C
background
#F8F5F9
surface
#EFE9F2
border
#CAC5CC
text
#0B040E
muted
#7C797E

Preview Lab

Preview with #491872

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

Preview Lab → · Contrast checker → · Palette generator →

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