#491876#491876

#491876 is a dark, vivid violet. Relative luminance 0.034; OKLCH L 34.2% C 0.149 H 302.7°. Best body text is #FFFFFF at 12.53:1 contrast (WCAG AA passes).

Color values

HEX#491876
RGBrgb(73, 24, 118)
HSLhsl(271, 66%, 28%)
HSVhsv(271, 80%, 46%)
CMYKcmyk(38.1%, 79.7%, 0%, 53.7%)
CIE-LABlab(21.50, 41.19, -43.99)
CIE-LCHlch(21.50, 60.27, 313.11°)
OKLaboklab(34.19% 0.0805 -0.1255)
OKLCHoklch(34.19% 0.149 302.7)
XYZxyz(6.3435, 3.3777, 17.4538)
Luminance0.0338 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#491876 #457618
analogous
#1A1876 #491876 #761874
triadic
#491876 #764918 #187649
tetradic
#491876 #761A18 #457618 #187476
square
#491876 #761A18 #457618 #187476
split-complementary
#491876 #747618 #18761A
monochromatic
#100519 #2A0E43 #491876 #6822A9 #8833D5

Accessibility & contrast

On white

12.53
#491876 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.68
#491876 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #491876
12.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##491876#FFFFFF#000000##FFFFFF
##4918761.0012.531.6812.53
#FFFFFF12.531.0021.001.00
#0000001.6821.001.0021.00
##FFFFFF12.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003379
Deuteranopia (green-blind)
#003374
Tritanopia (blue-blind)
#403046
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #491876;
/* rgb */ color: rgb(73, 24, 118);
/* oklch */ color: oklch(34.2% 0.149 302.7);
Tailwind
colors: {
  custom: {
    50: '#815b9e',
    500: '#491876',
    950: '#000000',
  },
}
SCSS
$custom: #491876;
$custom-light: #815b9e;
$custom-dark: #000000;
JSON
{
  "hex": "#491876",
  "rgb": {
    "r": 73,
    "g": 24,
    "b": 118
  },
  "hsl": {
    "h": 271.277,
    "s": 66.197,
    "l": 27.843
  },
  "oklch": {
    "l": 0.34189,
    "c": 0.14912,
    "h": 302.7
  },
  "luminance": 0.03378
}

Semantic roles & 50–950 ramp

primary
#491876
secondary
#73AB3F
accent
#E93F90
background
#F8F5F9
surface
#EFE9F2
border
#CAC5CC
text
#0B040E
muted
#7C797E

Preview Lab

Preview with #491876

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

Preview Lab → · Contrast checker → · Palette generator →

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