#4917B4#4917B4

#4917B4 is a dark, highly saturated violet. Relative luminance 0.053; OKLCH L 40.3% C 0.216 H 285.8°. Best body text is #FFFFFF at 10.17:1 contrast (WCAG AA passes).

Color values

HEX#4917B4
RGBrgb(73, 23, 180)
HSLhsl(259, 77%, 40%)
HSVhsv(259, 87%, 71%)
CMYKcmyk(59.4%, 87.2%, 0%, 29.4%)
CIE-LABlab(27.64, 57.69, -72.18)
CIE-LCHlch(27.64, 92.40, 308.63°)
OKLaboklab(40.3% 0.059 -0.2079)
OKLCHoklch(40.3% 0.216 285.8)
XYZxyz(11.2898, 5.3239, 43.6039)
Luminance0.0532 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4917B4 #82B417
analogous
#1734B4 #4917B4 #9717B4
triadic
#4917B4 #B44917 #17B449
tetradic
#4917B4 #B41734 #82B417 #17B497
square
#4917B4 #B41734 #82B417 #17B497
split-complementary
#4917B4 #B49717 #34B417
monochromatic
#1D0947 #33107E #4917B4 #6225E3 #895BEA

Accessibility & contrast

On white

10.17
#4917B4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.07
#4917B4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4917B4
10.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4917B4#FFFFFF#000000##FFFFFF
##4917B41.0010.172.0710.17
#FFFFFF10.171.0021.001.00
#0000002.0721.001.0021.00
##FFFFFF10.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0045B8
Deuteranopia (green-blind)
#003DB1
Tritanopia (blue-blind)
#054B6A
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #4917b4;
/* rgb */ color: rgb(73, 23, 180);
/* oklch */ color: oklch(40.3% 0.216 285.8);
Tailwind
colors: {
  custom: {
    50: '#8a5fcc',
    500: '#4917b4',
    950: '#000000',
  },
}
SCSS
$custom: #4917b4;
$custom-light: #8a5fcc;
$custom-dark: #000000;
JSON
{
  "hex": "#4917b4",
  "rgb": {
    "r": 73,
    "g": 23,
    "b": 180
  },
  "hsl": {
    "h": 259.108,
    "s": 77.34,
    "l": 39.804
  },
  "oklch": {
    "l": 0.40304,
    "c": 0.21614,
    "h": 285.8
  },
  "luminance": 0.05325
}

Semantic roles & 50–950 ramp

primary
#4917B4
secondary
#A9CE59
accent
#F434B7
background
#F9F5FC
surface
#F1EAF9
border
#CBC6D2
text
#0D0514
muted
#7E7982

Preview Lab

Preview with #4917B4

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

Preview Lab → · Contrast checker → · Palette generator →

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