#4C20CA#4C20CA

#4C20CA is a dark, highly saturated violet. Relative luminance 0.068; OKLCH L 43.7% C 0.233 H 282.8°. Best body text is #FFFFFF at 8.87:1 contrast (WCAG AA passes).

Color values

HEX#4C20CA
RGBrgb(76, 32, 202)
HSLhsl(256, 73%, 46%)
HSVhsv(256, 84%, 79%)
CMYKcmyk(62.4%, 84.2%, 0%, 20.8%)
CIE-LABlab(31.42, 60.62, -78.89)
CIE-LCHlch(31.42, 99.49, 307.54°)
OKLaboklab(43.67% 0.0516 -0.2275)
OKLCHoklch(43.67% 0.233 282.8)
XYZxyz(14.1544, 6.8328, 56.4386)
Luminance0.0683 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C20CA #9ECA20
analogous
#2049CA #4C20CA #A120CA
triadic
#4C20CA #CA4C20 #20CA4C
tetradic
#4C20CA #CA2049 #9ECA20 #20CAA1
square
#4C20CA #CA2049 #9ECA20 #20CAA1
split-complementary
#4C20CA #CAA120 #49CA20
monochromatic
#240F60 #381895 #4C20CA #6E46E2 #977AEA

Accessibility & contrast

On white

8.87
#4C20CA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.37
#4C20CA on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4C20CA
8.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C20CA#FFFFFF#000000##FFFFFF
##4C20CA1.008.872.378.87
#FFFFFF8.871.0021.001.00
#0000002.3721.001.0021.00
##FFFFFF8.871.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #4c20ca;
/* rgb */ color: rgb(76, 32, 202);
/* oklch */ color: oklch(43.7% 0.233 282.8);
Tailwind
colors: {
  custom: {
    50: '#8f64dc',
    500: '#4c20ca',
    950: '#000000',
  },
}
SCSS
$custom: #4c20ca;
$custom-light: #8f64dc;
$custom-dark: #000000;
JSON
{
  "hex": "#4c20ca",
  "rgb": {
    "r": 76,
    "g": 32,
    "b": 202
  },
  "hsl": {
    "h": 255.529,
    "s": 72.65,
    "l": 45.882
  },
  "oklch": {
    "l": 0.43668,
    "c": 0.2333,
    "h": 282.8
  },
  "luminance": 0.06834
}

Semantic roles & 50–950 ramp

primary
#4C20CA
secondary
#B9D274
accent
#EF38C0
background
#F9F6FD
surface
#F2EBFB
border
#CCC6D4
text
#0E0615
muted
#7E7A83

Preview Lab

Preview with #4C20CA

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

Preview Lab → · Contrast checker → · Palette generator →

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