#4C22B3#4C22B3

#4C22B3 is a dark, highly saturated violet. Relative luminance 0.059; OKLCH L 41.4% C 0.207 H 286.4°. Best body text is #FFFFFF at 9.60:1 contrast (WCAG AA passes).

Color values

HEX#4C22B3
RGBrgb(76, 34, 179)
HSLhsl(257, 68%, 42%)
HSVhsv(257, 81%, 70%)
CMYKcmyk(57.5%, 81%, 0%, 29.8%)
CIE-LABlab(29.25, 53.60, -68.91)
CIE-LCHlch(29.25, 87.31, 307.88°)
OKLaboklab(41.45% 0.0585 -0.1985)
OKLCHoklch(41.45% 0.207 286.4)
XYZxyz(11.6868, 5.9346, 43.1688)
Luminance0.0593 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C22B3 #89B322
analogous
#2241B3 #4C22B3 #9522B3
triadic
#4C22B3 #B34C22 #22B34C
tetradic
#4C22B3 #B32241 #89B322 #22B395
square
#4C22B3 #B32241 #89B322 #22B395
split-complementary
#4C22B3 #B39522 #41B322
monochromatic
#200E4C #361880 #4C22B3 #6739D9 #8F6CE3

Accessibility & contrast

On white

9.60
#4C22B3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.19
#4C22B3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4C22B3
9.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C22B3#FFFFFF#000000##FFFFFF
##4C22B31.009.602.199.60
#FFFFFF9.601.0021.001.00
#0000002.1921.001.0021.00
##FFFFFF9.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0048B7
Deuteranopia (green-blind)
#0041B0
Tritanopia (blue-blind)
#184E6B
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #4c22b3;
/* rgb */ color: rgb(76, 34, 179);
/* oklch */ color: oklch(41.4% 0.207 286.4);
Tailwind
colors: {
  custom: {
    50: '#8a64cb',
    500: '#4c22b3',
    950: '#000000',
  },
}
SCSS
$custom: #4c22b3;
$custom-light: #8a64cb;
$custom-dark: #000000;
JSON
{
  "hex": "#4c22b3",
  "rgb": {
    "r": 76,
    "g": 34,
    "b": 179
  },
  "hsl": {
    "h": 257.379,
    "s": 68.075,
    "l": 41.765
  },
  "oklch": {
    "l": 0.4145,
    "c": 0.20692,
    "h": 286.4
  },
  "luminance": 0.05935
}

Semantic roles & 50–950 ramp

primary
#4C22B3
secondary
#ADC968
accent
#EB3DB9
background
#F9F6FC
surface
#F1EBF9
border
#CBC6D2
text
#0D0613
muted
#7E7A82

Preview Lab

Preview with #4C22B3

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

Preview Lab → · Contrast checker → · Palette generator →

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