#4C22AF#4C22AF

#4C22AF is a dark, highly saturated violet. Relative luminance 0.058; OKLCH L 41.0% C 0.203 H 287.2°. Best body text is #FFFFFF at 9.74:1 contrast (WCAG AA passes).

Color values

HEX#4C22AF
RGBrgb(76, 34, 175)
HSLhsl(258, 67%, 41%)
HSVhsv(258, 81%, 69%)
CMYKcmyk(56.6%, 80.6%, 0%, 31.4%)
CIE-LABlab(28.84, 52.50, -67.20)
CIE-LCHlch(28.84, 85.28, 308.00°)
OKLaboklab(41.05% 0.0598 -0.1935)
OKLCHoklch(41.05% 0.203 287.2)
XYZxyz(11.2881, 5.7751, 41.0690)
Luminance0.0578 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C22AF #85AF22
analogous
#223FAF #4C22AF #9222AF
triadic
#4C22AF #AF4C22 #22AF4C
tetradic
#4C22AF #AF223F #85AF22 #22AF92
square
#4C22AF #AF223F #85AF22 #22AF92
split-complementary
#4C22AF #AF9222 #3FAF22
monochromatic
#1F0E49 #36187C #4C22AF #6636D8 #8D69E2

Accessibility & contrast

On white

9.74
#4C22AF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.16
#4C22AF on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4C22AF
9.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C22AF#FFFFFF#000000##FFFFFF
##4C22AF1.009.742.169.74
#FFFFFF9.741.0021.001.00
#0000002.1621.001.0021.00
##FFFFFF9.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0047B3
Deuteranopia (green-blind)
#0040AC
Tritanopia (blue-blind)
#1E4C69
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #4c22af;
/* rgb */ color: rgb(76, 34, 175);
/* oklch */ color: oklch(41.0% 0.203 287.2);
Tailwind
colors: {
  custom: {
    50: '#8a63c8',
    500: '#4c22af',
    950: '#000000',
  },
}
SCSS
$custom: #4c22af;
$custom-light: #8a63c8;
$custom-dark: #000000;
JSON
{
  "hex": "#4c22af",
  "rgb": {
    "r": 76,
    "g": 34,
    "b": 175
  },
  "hsl": {
    "h": 257.872,
    "s": 67.464,
    "l": 40.98
  },
  "oklch": {
    "l": 0.41045,
    "c": 0.20251,
    "h": 287.2
  },
  "luminance": 0.05776
}

Semantic roles & 50–950 ramp

primary
#4C22AF
secondary
#AAC865
accent
#EA3DB7
background
#F9F6FC
surface
#F1EBF8
border
#CBC6D1
text
#0D0613
muted
#7E7A82

Preview Lab

Preview with #4C22AF

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

Preview Lab → · Contrast checker → · Palette generator →

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