#491877#491877

#491877 is a dark, vivid violet. Relative luminance 0.034; OKLCH L 34.3% C 0.150 H 302.3°. Best body text is #FFFFFF at 12.50:1 contrast (WCAG AA passes).

Color values

HEX#491877
RGBrgb(73, 24, 119)
HSLhsl(271, 66%, 28%)
HSVhsv(271, 80%, 47%)
CMYKcmyk(38.7%, 79.8%, 0%, 53.3%)
CIE-LABlab(21.59, 41.44, -44.49)
CIE-LCHlch(21.59, 60.80, 312.97°)
OKLaboklab(34.28% 0.0803 -0.127)
OKLCHoklch(34.28% 0.15 302.3)
XYZxyz(6.4033, 3.4016, 17.7684)
Luminance0.0340 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#491877 #467718
analogous
#191877 #491877 #771875
triadic
#491877 #774918 #187749
tetradic
#491877 #771918 #467718 #187577
square
#491877 #771918 #467718 #187577
split-complementary
#491877 #757718 #187719
monochromatic
#100519 #2A0E44 #491877 #6822AA #8733D6

Accessibility & contrast

On white

12.50
#491877 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #491877
12.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##491877#FFFFFF#000000##FFFFFF
##4918771.0012.501.6812.50
#FFFFFF12.501.0021.001.00
#0000001.6821.001.0021.00
##FFFFFF12.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00337A
Deuteranopia (green-blind)
#003375
Tritanopia (blue-blind)
#3F3147
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #491877;
/* rgb */ color: rgb(73, 24, 119);
/* oklch */ color: oklch(34.3% 0.150 302.3);
Tailwind
colors: {
  custom: {
    50: '#815b9f',
    500: '#491877',
    950: '#000000',
  },
}
SCSS
$custom: #491877;
$custom-light: #815b9f;
$custom-dark: #000000;
JSON
{
  "hex": "#491877",
  "rgb": {
    "r": 73,
    "g": 24,
    "b": 119
  },
  "hsl": {
    "h": 270.947,
    "s": 66.434,
    "l": 28.039
  },
  "oklch": {
    "l": 0.34278,
    "c": 0.15021,
    "h": 302.3
  },
  "luminance": 0.03402
}

Semantic roles & 50–950 ramp

primary
#491877
secondary
#74AC3F
accent
#E93E91
background
#F8F5F9
surface
#EFE9F2
border
#CAC5CC
text
#0B040F
muted
#7C797E

Preview Lab

Preview with #491877

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

Preview Lab → · Contrast checker → · Palette generator →

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