#4715B4#4715B4

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

Color values

HEX#4715B4
RGBrgb(71, 21, 180)
HSLhsl(259, 79%, 39%)
HSVhsv(259, 88%, 71%)
CMYKcmyk(60.6%, 88.3%, 0%, 29.4%)
CIE-LABlab(27.22, 58.14, -72.89)
CIE-LCHlch(27.22, 93.24, 308.58°)
OKLaboklab(39.97% 0.0565 -0.21)
OKLCHoklch(39.97% 0.218 285.1)
XYZxyz(11.1024, 5.1705, 43.5841)
Luminance0.0517 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4715B4 #82B415
analogous
#1533B4 #4715B4 #9715B4
triadic
#4715B4 #B44715 #15B447
tetradic
#4715B4 #B41533 #82B415 #15B497
square
#4715B4 #B41533 #82B415 #15B497
split-complementary
#4715B4 #B49715 #33B415
monochromatic
#1C0846 #310F7D #4715B4 #5F21E5 #8658EC

Accessibility & contrast

On white

10.32
#4715B4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.03
#4715B4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4715B4
10.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4715B4#FFFFFF#000000##FFFFFF
##4715B41.0010.322.0310.32
#FFFFFF10.321.0021.001.00
#0000002.0321.001.0021.00
##FFFFFF10.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0044B8
Deuteranopia (green-blind)
#003BB1
Tritanopia (blue-blind)
#004A6A
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #4715b4;
/* rgb */ color: rgb(71, 21, 180);
/* oklch */ color: oklch(40.0% 0.217 285.1);
Tailwind
colors: {
  custom: {
    50: '#895ecc',
    500: '#4715b4',
    950: '#000000',
  },
}
SCSS
$custom: #4715b4;
$custom-light: #895ecc;
$custom-dark: #000000;
JSON
{
  "hex": "#4715b4",
  "rgb": {
    "r": 71,
    "g": 21,
    "b": 180
  },
  "hsl": {
    "h": 258.868,
    "s": 79.104,
    "l": 39.412
  },
  "oklch": {
    "l": 0.39967,
    "c": 0.2175,
    "h": 285.1
  },
  "luminance": 0.05171
}

Semantic roles & 50–950 ramp

primary
#4715B4
secondary
#A9CF56
accent
#F632B8
background
#F9F5FC
surface
#F1EAF9
border
#CBC6D2
text
#0D0514
muted
#7E7982

Preview Lab

Preview with #4715B4

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

Preview Lab → · Contrast checker → · Palette generator →

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