#4C22CA#4C22CA

#4C22CA is a dark, highly saturated violet. Relative luminance 0.069; OKLCH L 43.8% C 0.232 H 282.6°. Best body text is #FFFFFF at 8.79:1 contrast (WCAG AA passes).

Color values

HEX#4C22CA
RGBrgb(76, 34, 202)
HSLhsl(255, 71%, 46%)
HSVhsv(255, 83%, 79%)
CMYKcmyk(62.4%, 83.2%, 0%, 20.8%)
CIE-LABlab(31.68, 59.86, -78.47)
CIE-LCHlch(31.68, 98.70, 307.34°)
OKLaboklab(43.84% 0.0507 -0.2263)
OKLCHoklch(43.84% 0.232 282.6)
XYZxyz(14.2099, 6.9438, 56.4571)
Luminance0.0694 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C22CA #A0CA22
analogous
#224CCA #4C22CA #A022CA
triadic
#4C22CA #CA4C22 #22CA4C
tetradic
#4C22CA #CA224C #A0CA22 #22CAA0
square
#4C22CA #CA224C #A0CA22 #22CAA0
split-complementary
#4C22CA #CAA022 #4CCA22
monochromatic
#251061 #381996 #4C22CA #6F49E0 #987DE9

Accessibility & contrast

On white

8.79
#4C22CA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.39
#4C22CA on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4C22CA
8.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C22CA#FFFFFF#000000##FFFFFF
##4C22CA1.008.792.398.79
#FFFFFF8.791.0021.001.00
#0000002.3921.001.0021.00
##FFFFFF8.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0050CE
Deuteranopia (green-blind)
#0045C7
Tritanopia (blue-blind)
#005779
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #4c22ca;
/* rgb */ color: rgb(76, 34, 202);
/* oklch */ color: oklch(43.8% 0.232 282.6);
Tailwind
colors: {
  custom: {
    50: '#8e65dc',
    500: '#4c22ca',
    950: '#000000',
  },
}
SCSS
$custom: #4c22ca;
$custom-light: #8e65dc;
$custom-dark: #000000;
JSON
{
  "hex": "#4c22ca",
  "rgb": {
    "r": 76,
    "g": 34,
    "b": 202
  },
  "hsl": {
    "h": 255,
    "s": 71.186,
    "l": 46.275
  },
  "oklch": {
    "l": 0.43843,
    "c": 0.23193,
    "h": 282.6
  },
  "luminance": 0.06945
}

Semantic roles & 50–950 ramp

primary
#4C22CA
secondary
#BBD177
accent
#EE3AC1
background
#F9F6FD
surface
#F2EBFB
border
#CCC6D4
text
#0E0615
muted
#7E7A83

Preview Lab

Preview with #4C22CA

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

Preview Lab → · Contrast checker → · Palette generator →

#4C22CA Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva