#4915B4#4915B4

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

Color values

HEX#4915B4
RGBrgb(73, 21, 180)
HSLhsl(260, 79%, 39%)
HSVhsv(260, 88%, 71%)
CMYKcmyk(59.4%, 88.3%, 0%, 29.4%)
CIE-LABlab(27.43, 58.31, -72.53)
CIE-LCHlch(27.43, 93.06, 308.80°)
OKLaboklab(40.16% 0.0598 -0.2089)
OKLCHoklch(40.16% 0.217 286)
XYZxyz(11.2515, 5.2474, 43.5911)
Luminance0.0525 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4915B4 #80B415
analogous
#1530B4 #4915B4 #9915B4
triadic
#4915B4 #B44915 #15B449
tetradic
#4915B4 #B41530 #80B415 #15B499
square
#4915B4 #B41530 #80B415 #15B499
split-complementary
#4915B4 #B49915 #30B415
monochromatic
#1D0846 #330F7D #4915B4 #6121E5 #8858EC

Accessibility & contrast

On white

10.25
#4915B4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.05
#4915B4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4915B4
10.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4915B4#FFFFFF#000000##FFFFFF
##4915B41.0010.252.0510.25
#FFFFFF10.251.0021.001.00
#0000002.0521.001.0021.00
##FFFFFF10.251.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #4915b4;
/* rgb */ color: rgb(73, 21, 180);
/* oklch */ color: oklch(40.2% 0.217 286.0);
Tailwind
colors: {
  custom: {
    50: '#8a5ecc',
    500: '#4915b4',
    950: '#000000',
  },
}
SCSS
$custom: #4915b4;
$custom-light: #8a5ecc;
$custom-dark: #000000;
JSON
{
  "hex": "#4915b4",
  "rgb": {
    "r": 73,
    "g": 21,
    "b": 180
  },
  "hsl": {
    "h": 259.623,
    "s": 79.104,
    "l": 39.412
  },
  "oklch": {
    "l": 0.40161,
    "c": 0.2173,
    "h": 286
  },
  "luminance": 0.05248
}

Semantic roles & 50–950 ramp

primary
#4915B4
secondary
#A7CF56
accent
#F632B6
background
#F9F5FC
surface
#F1EAF9
border
#CBC6D2
text
#0D0514
muted
#7E7982

Preview Lab

Preview with #4915B4

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

Preview Lab → · Contrast checker → · Palette generator →

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