#4B20CA#4B20CA

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

Color values

HEX#4B20CA
RGBrgb(75, 32, 202)
HSLhsl(255, 73%, 46%)
HSVhsv(255, 84%, 79%)
CMYKcmyk(62.9%, 84.2%, 0%, 20.8%)
CIE-LABlab(31.33, 60.53, -79.05)
CIE-LCHlch(31.33, 99.56, 307.44°)
OKLaboklab(43.58% 0.05 -0.228)
OKLCHoklch(43.58% 0.233 282.4)
XYZxyz(14.0755, 6.7921, 56.4349)
Luminance0.0679 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4B20CA #9FCA20
analogous
#204ACA #4B20CA #A020CA
triadic
#4B20CA #CA4B20 #20CA4B
tetradic
#4B20CA #CA204A #9FCA20 #20CAA0
square
#4B20CA #CA204A #9FCA20 #20CAA0
split-complementary
#4B20CA #CAA020 #4ACA20
monochromatic
#240F60 #371895 #4B20CA #6D46E2 #977AEA

Accessibility & contrast

On white

8.90
#4B20CA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.36
#4B20CA on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4B20CA
8.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4B20CA#FFFFFF#000000##FFFFFF
##4B20CA1.008.902.368.90
#FFFFFF8.901.0021.001.00
#0000002.3621.001.0021.00
##FFFFFF8.901.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: #4b20ca;
/* rgb */ color: rgb(75, 32, 202);
/* oklch */ color: oklch(43.6% 0.233 282.4);
Tailwind
colors: {
  custom: {
    50: '#8e64dc',
    500: '#4b20ca',
    950: '#000000',
  },
}
SCSS
$custom: #4b20ca;
$custom-light: #8e64dc;
$custom-dark: #000000;
JSON
{
  "hex": "#4b20ca",
  "rgb": {
    "r": 75,
    "g": 32,
    "b": 202
  },
  "hsl": {
    "h": 255.176,
    "s": 72.65,
    "l": 45.882
  },
  "oklch": {
    "l": 0.43581,
    "c": 0.23344,
    "h": 282.4
  },
  "luminance": 0.06793
}

Semantic roles & 50–950 ramp

primary
#4B20CA
secondary
#BAD274
accent
#EF38C1
background
#F9F6FD
surface
#F2EBFB
border
#CCC6D4
text
#0E0615
muted
#7E7A83

Preview Lab

Preview with #4B20CA

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

Preview Lab → · Contrast checker → · Palette generator →

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