#491874#491874

#491874 is a dark, vivid violet. Relative luminance 0.033; OKLCH L 34.0% C 0.147 H 303.5°. Best body text is #FFFFFF at 12.60:1 contrast (WCAG AA passes).

Color values

HEX#491874
RGBrgb(73, 24, 116)
HSLhsl(272, 66%, 27%)
HSVhsv(272, 79%, 45%)
CMYKcmyk(37.1%, 79.3%, 0%, 54.5%)
CIE-LABlab(21.32, 40.68, -42.99)
CIE-LCHlch(21.32, 59.19, 313.42°)
OKLaboklab(34.01% 0.0811 -0.1226)
OKLCHoklch(34.01% 0.147 303.5)
XYZxyz(6.2259, 3.3307, 16.8345)
Luminance0.0333 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#491874 #437418
analogous
#1B1874 #491874 #741871
triadic
#491874 #744918 #187449
tetradic
#491874 #741B18 #437418 #187174
square
#491874 #741B18 #437418 #187174
split-complementary
#491874 #717418 #18741B
monochromatic
#100519 #290E41 #491874 #6922A7 #8932D5

Accessibility & contrast

On white

12.60
#491874 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #491874
12.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##491874#FFFFFF#000000##FFFFFF
##4918741.0012.601.6712.60
#FFFFFF12.601.0021.001.00
#0000001.6721.001.0021.00
##FFFFFF12.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003277
Deuteranopia (green-blind)
#003372
Tritanopia (blue-blind)
#403045
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #491874;
/* rgb */ color: rgb(73, 24, 116);
/* oklch */ color: oklch(34.0% 0.147 303.5);
Tailwind
colors: {
  custom: {
    50: '#805b9d',
    500: '#491874',
    950: '#000000',
  },
}
SCSS
$custom: #491874;
$custom-light: #805b9d;
$custom-dark: #000000;
JSON
{
  "hex": "#491874",
  "rgb": {
    "r": 73,
    "g": 24,
    "b": 116
  },
  "hsl": {
    "h": 271.957,
    "s": 65.714,
    "l": 27.451
  },
  "oklch": {
    "l": 0.34012,
    "c": 0.14694,
    "h": 303.5
  },
  "luminance": 0.03331
}

Semantic roles & 50–950 ramp

primary
#491874
secondary
#70A93F
accent
#E93F8E
background
#F8F5F9
surface
#EFE9F2
border
#CAC5CC
text
#0B040E
muted
#7C797E

Preview Lab

Preview with #491874

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

Preview Lab → · Contrast checker → · Palette generator →

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