#491878#491878

#491878 is a dark, vivid violet. Relative luminance 0.034; OKLCH L 34.4% C 0.151 H 301.9°. Best body text is #FFFFFF at 12.46:1 contrast (WCAG AA passes).

Color values

HEX#491878
RGBrgb(73, 24, 120)
HSLhsl(271, 67%, 28%)
HSVhsv(271, 80%, 47%)
CMYKcmyk(39.2%, 80%, 0%, 52.9%)
CIE-LABlab(21.67, 41.70, -44.99)
CIE-LCHlch(21.67, 61.34, 312.83°)
OKLaboklab(34.37% 0.08 -0.1284)
OKLCHoklch(34.37% 0.151 301.9)
XYZxyz(6.4636, 3.4258, 18.0864)
Luminance0.0343 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#491878 #477818
analogous
#191878 #491878 #781877
triadic
#491878 #784918 #187849
tetradic
#491878 #781918 #477818 #187778
square
#491878 #781918 #477818 #187778
split-complementary
#491878 #777818 #187819
monochromatic
#10051A #2A0E45 #491878 #6822AB #8734D6

Accessibility & contrast

On white

12.46
#491878 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.69
#491878 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #491878
12.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##491878#FFFFFF#000000##FFFFFF
##4918781.0012.461.6912.46
#FFFFFF12.461.0021.001.00
#0000001.6921.001.0021.00
##FFFFFF12.461.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #491878;
/* rgb */ color: rgb(73, 24, 120);
/* oklch */ color: oklch(34.4% 0.151 301.9);
Tailwind
colors: {
  custom: {
    50: '#815ba0',
    500: '#491878',
    950: '#000000',
  },
}
SCSS
$custom: #491878;
$custom-light: #815ba0;
$custom-dark: #000000;
JSON
{
  "hex": "#491878",
  "rgb": {
    "r": 73,
    "g": 24,
    "b": 120
  },
  "hsl": {
    "h": 270.625,
    "s": 66.667,
    "l": 28.235
  },
  "oklch": {
    "l": 0.34368,
    "c": 0.15129,
    "h": 301.9
  },
  "luminance": 0.03426
}

Semantic roles & 50–950 ramp

primary
#491878
secondary
#75AD3F
accent
#EA3E92
background
#F8F5F9
surface
#EFE9F2
border
#CAC5CC
text
#0B040F
muted
#7C797E

Preview Lab

Preview with #491878

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

Preview Lab → · Contrast checker → · Palette generator →

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