#4715CA#4715CA

#4715CA is a dark, highly saturated violet. Relative luminance 0.061; OKLCH L 42.4% C 0.240 H 281.4°. Best body text is #FFFFFF at 9.43:1 contrast (WCAG AA passes).

Color values

HEX#4715CA
RGBrgb(71, 21, 202)
HSLhsl(257, 81%, 44%)
HSVhsv(257, 90%, 79%)
CMYKcmyk(64.9%, 89.6%, 0%, 20.8%)
CIE-LABlab(29.76, 63.79, -81.66)
CIE-LCHlch(29.76, 103.62, 307.99°)
OKLaboklab(42.42% 0.0477 -0.2355)
OKLCHoklch(42.42% 0.24 281.4)
XYZxyz(13.5240, 6.1391, 56.3380)
Luminance0.0614 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4715CA #98CA15
analogous
#153DCA #4715CA #A115CA
triadic
#4715CA #CA4715 #15CA47
tetradic
#4715CA #CA153D #98CA15 #15CAA1
square
#4715CA #CA153D #98CA15 #15CAA1
split-complementary
#4715CA #CAA115 #3DCA15
monochromatic
#20095B #340F93 #4715CA #6532EA #8F6AEF

Accessibility & contrast

On white

9.43
#4715CA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.23
#4715CA on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4715CA
9.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4715CA#FFFFFF#000000##FFFFFF
##4715CA1.009.432.239.43
#FFFFFF9.431.0021.001.00
#0000002.2321.001.0021.00
##FFFFFF9.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004CCF
Deuteranopia (green-blind)
#0040C7
Tritanopia (blue-blind)
#005477
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #4715ca;
/* rgb */ color: rgb(71, 21, 202);
/* oklch */ color: oklch(42.4% 0.240 281.4);
Tailwind
colors: {
  custom: {
    50: '#8d60dc',
    500: '#4715ca',
    950: '#000000',
  },
}
SCSS
$custom: #4715ca;
$custom-light: #8d60dc;
$custom-dark: #000000;
JSON
{
  "hex": "#4715ca",
  "rgb": {
    "r": 71,
    "g": 21,
    "b": 202
  },
  "hsl": {
    "h": 256.575,
    "s": 81.166,
    "l": 43.725
  },
  "oklch": {
    "l": 0.42424,
    "c": 0.24031,
    "h": 281.4
  },
  "luminance": 0.0614
}

Semantic roles & 50–950 ramp

primary
#4715CA
secondary
#B6D566
accent
#F830C0
background
#F9F6FD
surface
#F2EBFB
border
#CCC6D4
text
#0E0515
muted
#7E7A83

Preview Lab

Preview with #4715CA

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

Preview Lab → · Contrast checker → · Palette generator →

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