#4B22CA#4B22CA

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

Color values

HEX#4B22CA
RGBrgb(75, 34, 202)
HSLhsl(255, 71%, 46%)
HSVhsv(255, 83%, 79%)
CMYKcmyk(62.9%, 83.2%, 0%, 20.8%)
CIE-LABlab(31.59, 59.77, -78.63)
CIE-LCHlch(31.59, 98.77, 307.24°)
OKLaboklab(43.76% 0.0492 -0.2268)
OKLCHoklch(43.76% 0.232 282.2)
XYZxyz(14.1310, 6.9031, 56.4534)
Luminance0.0690 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4B22CA #A1CA22
analogous
#224DCA #4B22CA #9F22CA
triadic
#4B22CA #CA4B22 #22CA4B
tetradic
#4B22CA #CA224D #A1CA22 #22CA9F
square
#4B22CA #CA224D #A1CA22 #22CA9F
split-complementary
#4B22CA #CA9F22 #4DCA22
monochromatic
#241061 #381996 #4B22CA #6E49E0 #987DE9

Accessibility & contrast

On white

8.82
#4B22CA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.38
#4B22CA on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4B22CA
8.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4B22CA#FFFFFF#000000##FFFFFF
##4B22CA1.008.822.388.82
#FFFFFF8.821.0021.001.00
#0000002.3821.001.0021.00
##FFFFFF8.821.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #4b22ca;
/* rgb */ color: rgb(75, 34, 202);
/* oklch */ color: oklch(43.8% 0.232 282.2);
Tailwind
colors: {
  custom: {
    50: '#8e65dc',
    500: '#4b22ca',
    950: '#000000',
  },
}
SCSS
$custom: #4b22ca;
$custom-light: #8e65dc;
$custom-dark: #000000;
JSON
{
  "hex": "#4b22ca",
  "rgb": {
    "r": 75,
    "g": 34,
    "b": 202
  },
  "hsl": {
    "h": 254.643,
    "s": 71.186,
    "l": 46.275
  },
  "oklch": {
    "l": 0.43756,
    "c": 0.23208,
    "h": 282.2
  },
  "luminance": 0.06904
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #4B22CA

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

Preview Lab → · Contrast checker → · Palette generator →

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