#4C22AE#4C22AE

#4C22AE is a dark, highly saturated violet. Relative luminance 0.057; OKLCH L 40.9% C 0.201 H 287.4°. Best body text is #FFFFFF at 9.78:1 contrast (WCAG AA passes).

Color values

HEX#4C22AE
RGBrgb(76, 34, 174)
HSLhsl(258, 67%, 41%)
HSVhsv(258, 80%, 68%)
CMYKcmyk(56.3%, 80.5%, 0%, 31.8%)
CIE-LABlab(28.74, 52.23, -66.77)
CIE-LCHlch(28.74, 84.77, 308.04°)
OKLaboklab(40.94% 0.0602 -0.1922)
OKLCHoklch(40.94% 0.201 287.4)
XYZxyz(11.1902, 5.7359, 40.5537)
Luminance0.0574 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C22AE #84AE22
analogous
#223EAE #4C22AE #9222AE
triadic
#4C22AE #AE4C22 #22AE4C
tetradic
#4C22AE #AE223E #84AE22 #22AE92
square
#4C22AE #AE223E #84AE22 #22AE92
split-complementary
#4C22AE #AE9222 #3EAE22
monochromatic
#1F0E48 #36187B #4C22AE #6636D8 #8D69E2

Accessibility & contrast

On white

9.78
#4C22AE on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.15
#4C22AE on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4C22AE
9.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C22AE#FFFFFF#000000##FFFFFF
##4C22AE1.009.782.159.78
#FFFFFF9.781.0021.001.00
#0000002.1521.001.0021.00
##FFFFFF9.781.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #4c22ae;
/* rgb */ color: rgb(76, 34, 174);
/* oklch */ color: oklch(40.9% 0.201 287.4);
Tailwind
colors: {
  custom: {
    50: '#8a63c7',
    500: '#4c22ae',
    950: '#000000',
  },
}
SCSS
$custom: #4c22ae;
$custom-light: #8a63c7;
$custom-dark: #000000;
JSON
{
  "hex": "#4c22ae",
  "rgb": {
    "r": 76,
    "g": 34,
    "b": 174
  },
  "hsl": {
    "h": 258,
    "s": 67.308,
    "l": 40.784
  },
  "oklch": {
    "l": 0.40944,
    "c": 0.2014,
    "h": 287.4
  },
  "luminance": 0.05737
}

Semantic roles & 50–950 ramp

primary
#4C22AE
secondary
#AAC764
accent
#EA3EB6
background
#F9F6FC
surface
#F1EBF8
border
#CBC6D1
text
#0D0613
muted
#7E7A82

Preview Lab

Preview with #4C22AE

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

Preview Lab → · Contrast checker → · Palette generator →

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