#4A20CA#4A20CA

#4A20CA is a dark, highly saturated violet. Relative luminance 0.068; OKLCH L 43.5% C 0.234 H 282.0°. Best body text is #FFFFFF at 8.93:1 contrast (WCAG AA passes).

Color values

HEX#4A20CA
RGBrgb(74, 32, 202)
HSLhsl(255, 73%, 46%)
HSVhsv(255, 84%, 79%)
CMYKcmyk(63.4%, 84.2%, 0%, 20.8%)
CIE-LABlab(31.24, 60.44, -79.21)
CIE-LCHlch(31.24, 99.64, 307.35°)
OKLaboklab(43.49% 0.0485 -0.2285)
OKLCHoklch(43.49% 0.234 282)
XYZxyz(13.9979, 6.7521, 56.4313)
Luminance0.0675 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A20CA #A0CA20
analogous
#204BCA #4A20CA #9F20CA
triadic
#4A20CA #CA4A20 #20CA4A
tetradic
#4A20CA #CA204B #A0CA20 #20CA9F
square
#4A20CA #CA204B #A0CA20 #20CA9F
split-complementary
#4A20CA #CA9F20 #4BCA20
monochromatic
#230F60 #371895 #4A20CA #6C46E2 #967AEA

Accessibility & contrast

On white

8.93
#4A20CA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.35
#4A20CA on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4A20CA
8.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A20CA#FFFFFF#000000##FFFFFF
##4A20CA1.008.932.358.93
#FFFFFF8.931.0021.001.00
#0000002.3521.001.0021.00
##FFFFFF8.931.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #4a20ca;
/* rgb */ color: rgb(74, 32, 202);
/* oklch */ color: oklch(43.5% 0.234 282.0);
Tailwind
colors: {
  custom: {
    50: '#8e64dc',
    500: '#4a20ca',
    950: '#000000',
  },
}
SCSS
$custom: #4a20ca;
$custom-light: #8e64dc;
$custom-dark: #000000;
JSON
{
  "hex": "#4a20ca",
  "rgb": {
    "r": 74,
    "g": 32,
    "b": 202
  },
  "hsl": {
    "h": 254.824,
    "s": 72.65,
    "l": 45.882
  },
  "oklch": {
    "l": 0.43494,
    "c": 0.23359,
    "h": 282
  },
  "luminance": 0.06753
}

Semantic roles & 50–950 ramp

primary
#4A20CA
secondary
#BBD274
accent
#EF38C2
background
#F9F6FD
surface
#F2EBFB
border
#CCC6D4
text
#0E0615
muted
#7E7A83

Preview Lab

Preview with #4A20CA

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

Preview Lab → · Contrast checker → · Palette generator →

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