#4917A0#4917A0

#4917A0 is a dark, vivid violet. Relative luminance 0.046; OKLCH L 38.2% C 0.195 H 290.1°. Best body text is #FFFFFF at 10.98:1 contrast (WCAG AA passes).

Color values

HEX#4917A0
RGBrgb(73, 23, 160)
HSLhsl(262, 75%, 36%)
HSVhsv(262, 86%, 63%)
CMYKcmyk(54.4%, 85.6%, 0%, 37.3%)
CIE-LABlab(25.46, 52.48, -63.71)
CIE-LCHlch(25.46, 82.55, 309.48°)
OKLaboklab(38.18% 0.0669 -0.1833)
OKLCHoklch(38.18% 0.195 290.1)
XYZxyz(9.3974, 4.5669, 33.6372)
Luminance0.0457 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4917A0 #6EA017
analogous
#1729A0 #4917A0 #8D17A0
triadic
#4917A0 #A04917 #17A049
tetradic
#4917A0 #A01729 #6EA017 #17A08D
square
#4917A0 #A01729 #6EA017 #17A08D
split-complementary
#4917A0 #A08D17 #29A017
monochromatic
#180835 #310F6A #4917A0 #611FD6 #844CE5

Accessibility & contrast

On white

10.98
#4917A0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.91
#4917A0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4917A0
10.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4917A0#FFFFFF#000000##FFFFFF
##4917A01.0010.981.9110.98
#FFFFFF10.981.0021.001.00
#0000001.9121.001.0021.00
##FFFFFF10.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003FA4
Deuteranopia (green-blind)
#00399E
Tritanopia (blue-blind)
#27425E
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #4917a0;
/* rgb */ color: rgb(73, 23, 160);
/* oklch */ color: oklch(38.2% 0.195 290.1);
Tailwind
colors: {
  custom: {
    50: '#865dbd',
    500: '#4917a0',
    950: '#000000',
  },
}
SCSS
$custom: #4917a0;
$custom-light: #865dbd;
$custom-dark: #000000;
JSON
{
  "hex": "#4917a0",
  "rgb": {
    "r": 73,
    "g": 23,
    "b": 160
  },
  "hsl": {
    "h": 261.898,
    "s": 74.863,
    "l": 35.882
  },
  "oklch": {
    "l": 0.38179,
    "c": 0.19509,
    "h": 290.1
  },
  "luminance": 0.04567
}

Semantic roles & 50–950 ramp

primary
#4917A0
secondary
#9AC74C
accent
#F136AD
background
#F8F5FB
surface
#F0E9F7
border
#CBC5D0
text
#0C0512
muted
#7D7981

Preview Lab

Preview with #4917A0

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

Preview Lab → · Contrast checker → · Palette generator →

#4917A0 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva