#4A22CA#4A22CA

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

Color values

HEX#4A22CA
RGBrgb(74, 34, 202)
HSLhsl(254, 71%, 46%)
HSVhsv(254, 83%, 79%)
CMYKcmyk(63.4%, 83.2%, 0%, 20.8%)
CIE-LABlab(31.49, 59.68, -78.78)
CIE-LCHlch(31.49, 98.84, 307.15°)
OKLaboklab(43.67% 0.0477 -0.2273)
OKLCHoklch(43.67% 0.232 281.8)
XYZxyz(14.0534, 6.8631, 56.4498)
Luminance0.0686 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A22CA #A2CA22
analogous
#224ECA #4A22CA #9E22CA
triadic
#4A22CA #CA4A22 #22CA4A
tetradic
#4A22CA #CA224E #A2CA22 #22CA9E
square
#4A22CA #CA224E #A2CA22 #22CA9E
split-complementary
#4A22CA #CA9E22 #4ECA22
monochromatic
#241061 #371996 #4A22CA #6D49E0 #977DE9

Accessibility & contrast

On white

8.85
#4A22CA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4A22CA
8.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A22CA#FFFFFF#000000##FFFFFF
##4A22CA1.008.852.378.85
#FFFFFF8.851.0021.001.00
#0000002.3721.001.0021.00
##FFFFFF8.851.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #4a22ca;
/* rgb */ color: rgb(74, 34, 202);
/* oklch */ color: oklch(43.7% 0.232 281.8);
Tailwind
colors: {
  custom: {
    50: '#8e65dc',
    500: '#4a22ca',
    950: '#000000',
  },
}
SCSS
$custom: #4a22ca;
$custom-light: #8e65dc;
$custom-dark: #000000;
JSON
{
  "hex": "#4a22ca",
  "rgb": {
    "r": 74,
    "g": 34,
    "b": 202
  },
  "hsl": {
    "h": 254.286,
    "s": 71.186,
    "l": 46.275
  },
  "oklch": {
    "l": 0.43671,
    "c": 0.23223,
    "h": 281.8
  },
  "luminance": 0.06864
}

Semantic roles & 50–950 ramp

primary
#4A22CA
secondary
#BCD177
accent
#EE3AC3
background
#F9F6FD
surface
#F2EBFB
border
#CCC6D4
text
#0E0615
muted
#7E7A83

Preview Lab

Preview with #4A22CA

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

Preview Lab → · Contrast checker → · Palette generator →

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