#491678#491678

#491678 is a dark, vivid violet. Relative luminance 0.033; OKLCH L 34.2% C 0.153 H 302.2°. Best body text is #FFFFFF at 12.58:1 contrast (WCAG AA passes).

Color values

HEX#491678
RGBrgb(73, 22, 120)
HSLhsl(271, 69%, 28%)
HSVhsv(271, 82%, 47%)
CMYKcmyk(39.2%, 81.7%, 0%, 52.9%)
CIE-LABlab(21.38, 42.55, -45.47)
CIE-LCHlch(21.38, 62.27, 313.10°)
OKLaboklab(34.16% 0.0818 -0.1298)
OKLCHoklch(34.16% 0.153 302.2)
XYZxyz(6.4239, 3.3463, 18.0731)
Luminance0.0335 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#491678 #457816
analogous
#181678 #491678 #781676
triadic
#491678 #784916 #167849
tetradic
#491678 #781816 #457816 #167678
square
#491678 #781816 #457816 #167678
split-complementary
#491678 #767816 #167818
monochromatic
#10051A #2A0D44 #491678 #681FAC #882FD9

Accessibility & contrast

On white

12.58
#491678 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.67
#491678 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #491678
12.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##491678#FFFFFF#000000##FFFFFF
##4916781.0012.581.6712.58
#FFFFFF12.581.0021.001.00
#0000001.6721.001.0021.00
##FFFFFF12.581.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #491678;
/* rgb */ color: rgb(73, 22, 120);
/* oklch */ color: oklch(34.2% 0.153 302.2);
Tailwind
colors: {
  custom: {
    50: '#815aa0',
    500: '#491678',
    950: '#000000',
  },
}
SCSS
$custom: #491678;
$custom-light: #815aa0;
$custom-dark: #000000;
JSON
{
  "hex": "#491678",
  "rgb": {
    "r": 73,
    "g": 22,
    "b": 120
  },
  "hsl": {
    "h": 271.224,
    "s": 69.014,
    "l": 27.843
  },
  "oklch": {
    "l": 0.34163,
    "c": 0.15341,
    "h": 302.2
  },
  "luminance": 0.03346
}

Semantic roles & 50–950 ramp

primary
#491678
secondary
#73AD3C
accent
#EC3C90
background
#F8F5F9
surface
#EFE9F2
border
#CAC5CC
text
#0B040F
muted
#7C797E

Preview Lab

Preview with #491678

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

Preview Lab → · Contrast checker → · Palette generator →

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