#491B74#491B74

#491B74 is a dark, vivid violet. Relative luminance 0.035; OKLCH L 34.4% C 0.143 H 303.0°. Best body text is #FFFFFF at 12.41:1 contrast (WCAG AA passes).

Color values

HEX#491B74
RGBrgb(73, 27, 116)
HSLhsl(271, 62%, 28%)
HSVhsv(271, 77%, 45%)
CMYKcmyk(37.1%, 76.7%, 0%, 54.5%)
CIE-LABlab(21.80, 39.31, -42.21)
CIE-LCHlch(21.80, 57.68, 312.96°)
OKLaboklab(34.35% 0.0781 -0.1203)
OKLCHoklch(34.35% 0.143 303)
XYZxyz(6.2912, 3.4613, 16.8563)
Luminance0.0346 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#491B74 #46741B
analogous
#1C1B74 #491B74 #741B72
triadic
#491B74 #74491B #1B7449
tetradic
#491B74 #741C1B #46741B #1B7274
square
#491B74 #741C1B #46741B #1B7274
split-complementary
#491B74 #72741B #1B741C
monochromatic
#100619 #2A0F42 #491B74 #6827A6 #8739D1

Accessibility & contrast

On white

12.41
#491B74 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.69
#491B74 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #491B74
12.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##491B74#FFFFFF#000000##FFFFFF
##491B741.0012.411.6912.41
#FFFFFF12.411.0021.001.00
#0000001.6921.001.0021.00
##FFFFFF12.411.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #491b74;
/* rgb */ color: rgb(73, 27, 116);
/* oklch */ color: oklch(34.4% 0.143 303.0);
Tailwind
colors: {
  custom: {
    50: '#805c9d',
    500: '#491b74',
    950: '#000000',
  },
}
SCSS
$custom: #491b74;
$custom-light: #805c9d;
$custom-dark: #000000;
JSON
{
  "hex": "#491b74",
  "rgb": {
    "r": 73,
    "g": 27,
    "b": 116
  },
  "hsl": {
    "h": 271.011,
    "s": 62.238,
    "l": 28.039
  },
  "oklch": {
    "l": 0.34351,
    "c": 0.14341,
    "h": 303
  },
  "luminance": 0.03461
}

Semantic roles & 50–950 ramp

primary
#491B74
secondary
#74A942
accent
#E54291
background
#F8F5F9
surface
#EFE9F2
border
#CAC5CC
text
#0B040E
muted
#7C797E

Preview Lab

Preview with #491B74

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

Preview Lab → · Contrast checker → · Palette generator →

#491B74 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva