#4921CA#4921CA

#4921CA is a dark, highly saturated violet. Relative luminance 0.068; OKLCH L 43.5% C 0.233 H 281.5°. Best body text is #FFFFFF at 8.92:1 contrast (WCAG AA passes).

Color values

HEX#4921CA
RGBrgb(73, 33, 202)
HSLhsl(254, 72%, 46%)
HSVhsv(254, 84%, 79%)
CMYKcmyk(63.9%, 83.7%, 0%, 20.8%)
CIE-LABlab(31.27, 59.98, -79.15)
CIE-LCHlch(31.27, 99.31, 307.15°)
OKLaboklab(43.5% 0.0466 -0.2284)
OKLCHoklch(43.5% 0.233 281.5)
XYZxyz(13.9488, 6.7674, 56.4368)
Luminance0.0677 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4921CA #A2CA21
analogous
#214DCA #4921CA #9D21CA
triadic
#4921CA #CA4921 #21CA49
tetradic
#4921CA #CA214D #A2CA21 #21CA9D
square
#4921CA #CA214D #A2CA21 #21CA9D
split-complementary
#4921CA #CA9D21 #4DCA21
monochromatic
#231061 #361895 #4921CA #6C47E1 #967CEA

Accessibility & contrast

On white

8.92
#4921CA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.35
#4921CA on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4921CA
8.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4921CA#FFFFFF#000000##FFFFFF
##4921CA1.008.922.358.92
#FFFFFF8.921.0021.001.00
#0000002.3521.001.0021.00
##FFFFFF8.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004FCE
Deuteranopia (green-blind)
#0043C7
Tritanopia (blue-blind)
#005779
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #4921ca;
/* rgb */ color: rgb(73, 33, 202);
/* oklch */ color: oklch(43.5% 0.233 281.5);
Tailwind
colors: {
  custom: {
    50: '#8d65dc',
    500: '#4921ca',
    950: '#000000',
  },
}
SCSS
$custom: #4921ca;
$custom-light: #8d65dc;
$custom-dark: #000000;
JSON
{
  "hex": "#4921ca",
  "rgb": {
    "r": 73,
    "g": 33,
    "b": 202
  },
  "hsl": {
    "h": 254.201,
    "s": 71.915,
    "l": 46.078
  },
  "oklch": {
    "l": 0.43496,
    "c": 0.23308,
    "h": 281.5
  },
  "luminance": 0.06768
}

Semantic roles & 50–950 ramp

primary
#4921CA
secondary
#BCD275
accent
#EF39C4
background
#F9F6FD
surface
#F2EBFB
border
#CCC6D4
text
#0E0615
muted
#7E7A83

Preview Lab

Preview with #4921CA

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

Preview Lab → · Contrast checker → · Palette generator →

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