#491976#491976

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

Color values

HEX#491976
RGBrgb(73, 25, 118)
HSLhsl(271, 65%, 28%)
HSVhsv(271, 79%, 46%)
CMYKcmyk(38.1%, 78.8%, 0%, 53.7%)
CIE-LABlab(21.65, 40.75, -43.74)
CIE-LCHlch(21.65, 59.78, 312.97°)
OKLaboklab(34.3% 0.0796 -0.1248)
OKLCHoklch(34.3% 0.148 302.5)
XYZxyz(6.3645, 3.4197, 17.4608)
Luminance0.0342 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#491976 #467619
analogous
#1B1976 #491976 #761974
triadic
#491976 #764919 #197649
tetradic
#491976 #761B19 #467619 #197476
square
#491976 #761B19 #467619 #197476
split-complementary
#491976 #747619 #19761B
monochromatic
#100519 #2A0E43 #491976 #6824A8 #8735D4

Accessibility & contrast

On white

12.47
#491976 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #491976
12.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##491976#FFFFFF#000000##FFFFFF
##4919761.0012.471.6812.47
#FFFFFF12.471.0021.001.00
#0000001.6821.001.0021.00
##FFFFFF12.471.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #491976;
/* rgb */ color: rgb(73, 25, 118);
/* oklch */ color: oklch(34.3% 0.148 302.5);
Tailwind
colors: {
  custom: {
    50: '#815b9e',
    500: '#491976',
    950: '#000000',
  },
}
SCSS
$custom: #491976;
$custom-light: #815b9e;
$custom-dark: #000000;
JSON
{
  "hex": "#491976",
  "rgb": {
    "r": 73,
    "g": 25,
    "b": 118
  },
  "hsl": {
    "h": 270.968,
    "s": 65.035,
    "l": 28.039
  },
  "oklch": {
    "l": 0.34298,
    "c": 0.14799,
    "h": 302.5
  },
  "luminance": 0.0342
}

Semantic roles & 50–950 ramp

primary
#491976
secondary
#74AB40
accent
#E84091
background
#F8F5F9
surface
#EFE9F2
border
#CAC5CC
text
#0B040E
muted
#7C797E

Preview Lab

Preview with #491976

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

Preview Lab → · Contrast checker → · Palette generator →

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