#4716B4#4716B4

#4716B4 is a dark, highly saturated violet. Relative luminance 0.052; OKLCH L 40.0% C 0.217 H 285.0°. Best body text is #FFFFFF at 10.29:1 contrast (WCAG AA passes).

Color values

HEX#4716B4
RGBrgb(71, 22, 180)
HSLhsl(259, 78%, 40%)
HSVhsv(259, 88%, 71%)
CMYKcmyk(60.6%, 87.8%, 0%, 29.4%)
CIE-LABlab(27.32, 57.83, -72.71)
CIE-LCHlch(27.32, 92.91, 308.50°)
OKLaboklab(40.04% 0.0562 -0.2095)
OKLCHoklch(40.04% 0.217 285)
XYZxyz(11.1211, 5.2080, 43.5904)
Luminance0.0521 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4716B4 #83B416
analogous
#1634B4 #4716B4 #9616B4
triadic
#4716B4 #B44716 #16B447
tetradic
#4716B4 #B41634 #83B416 #16B496
square
#4716B4 #B41634 #83B416 #16B496
split-complementary
#4716B4 #B49616 #34B416
monochromatic
#1C0947 #310F7D #4716B4 #5F23E4 #875AEB

Accessibility & contrast

On white

10.29
#4716B4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.04
#4716B4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4716B4
10.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4716B4#FFFFFF#000000##FFFFFF
##4716B41.0010.292.0410.29
#FFFFFF10.291.0021.001.00
#0000002.0421.001.0021.00
##FFFFFF10.291.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #4716b4;
/* rgb */ color: rgb(71, 22, 180);
/* oklch */ color: oklch(40.0% 0.217 285.0);
Tailwind
colors: {
  custom: {
    50: '#895ecc',
    500: '#4716b4',
    950: '#000000',
  },
}
SCSS
$custom: #4716b4;
$custom-light: #895ecc;
$custom-dark: #000000;
JSON
{
  "hex": "#4716b4",
  "rgb": {
    "r": 71,
    "g": 22,
    "b": 180
  },
  "hsl": {
    "h": 258.608,
    "s": 78.218,
    "l": 39.608
  },
  "oklch": {
    "l": 0.40037,
    "c": 0.21692,
    "h": 285
  },
  "luminance": 0.05209
}

Semantic roles & 50–950 ramp

primary
#4716B4
secondary
#A9CE58
accent
#F533B9
background
#F9F5FC
surface
#F1EAF9
border
#CBC6D2
text
#0D0514
muted
#7E7982

Preview Lab

Preview with #4716B4

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

Preview Lab → · Contrast checker → · Palette generator →

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