#491871#491871

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

Color values

HEX#491871
RGBrgb(73, 24, 113)
HSLhsl(273, 65%, 27%)
HSVhsv(273, 79%, 44%)
CMYKcmyk(35.4%, 78.8%, 0%, 55.7%)
CIE-LABlab(21.06, 39.92, -41.48)
CIE-LCHlch(21.06, 57.57, 313.90°)
OKLaboklab(33.75% 0.0818 -0.1181)
OKLCHoklch(33.75% 0.144 304.7)
XYZxyz(6.0542, 3.2620, 15.9303)
Luminance0.0326 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#491871 #407118
analogous
#1D1871 #491871 #71186D
triadic
#491871 #714918 #187149
tetradic
#491871 #711D18 #407118 #186D71
square
#491871 #711D18 #407118 #186D71
split-complementary
#491871 #6D7118 #18711D
monochromatic
#100519 #280D3F #491871 #6A23A3 #8A30D3

Accessibility & contrast

On white

12.71
#491871 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #491871
12.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##491871#FFFFFF#000000##FFFFFF
##4918711.0012.711.6512.71
#FFFFFF12.711.0021.001.00
#0000001.6521.001.0021.00
##FFFFFF12.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003173
Deuteranopia (green-blind)
#00336F
Tritanopia (blue-blind)
#412E43
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #491871;
/* rgb */ color: rgb(73, 24, 113);
/* oklch */ color: oklch(33.8% 0.144 304.7);
Tailwind
colors: {
  custom: {
    50: '#805b9a',
    500: '#491871',
    950: '#000000',
  },
}
SCSS
$custom: #491871;
$custom-light: #805b9a;
$custom-dark: #000000;
JSON
{
  "hex": "#491871",
  "rgb": {
    "r": 73,
    "g": 24,
    "b": 113
  },
  "hsl": {
    "h": 273.034,
    "s": 64.964,
    "l": 26.863
  },
  "oklch": {
    "l": 0.3375,
    "c": 0.14368,
    "h": 304.7
  },
  "luminance": 0.03262
}

Semantic roles & 50–950 ramp

primary
#491871
secondary
#6DA63E
accent
#E8408B
background
#F8F5F9
surface
#EFE9F2
border
#CAC5CC
text
#0B040E
muted
#7C797E

Preview Lab

Preview with #491871

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

Preview Lab → · Contrast checker → · Palette generator →

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