#4C22BD#4C22BD

#4C22BD is a dark, highly saturated violet. Relative luminance 0.064; OKLCH L 42.5% C 0.218 H 284.7°. Best body text is #FFFFFF at 9.25:1 contrast (WCAG AA passes).

Color values

HEX#4C22BD
RGBrgb(76, 34, 189)
HSLhsl(256, 70%, 44%)
HSVhsv(256, 82%, 74%)
CMYKcmyk(59.8%, 82%, 0%, 25.9%)
CIE-LABlab(30.29, 56.33, -73.13)
CIE-LCHlch(30.29, 92.31, 307.61°)
OKLaboklab(42.48% 0.0551 -0.2108)
OKLCHoklch(42.48% 0.218 284.7)
XYZxyz(12.7350, 6.3539, 48.6896)
Luminance0.0635 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C22BD #93BD22
analogous
#2245BD #4C22BD #9922BD
triadic
#4C22BD #BD4C22 #22BD4C
tetradic
#4C22BD #BD2245 #93BD22 #22BD99
square
#4C22BD #BD2245 #93BD22 #22BD99
split-complementary
#4C22BD #BD9922 #45BD22
monochromatic
#220F55 #371989 #4C22BD #6A40DD #9273E6

Accessibility & contrast

On white

9.25
#4C22BD on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.27
#4C22BD on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4C22BD
9.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C22BD#FFFFFF#000000##FFFFFF
##4C22BD1.009.252.279.25
#FFFFFF9.251.0021.001.00
#0000002.2721.001.0021.00
##FFFFFF9.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004CC1
Deuteranopia (green-blind)
#0042BA
Tritanopia (blue-blind)
#005271
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #4c22bd;
/* rgb */ color: rgb(76, 34, 189);
/* oklch */ color: oklch(42.5% 0.218 284.7);
Tailwind
colors: {
  custom: {
    50: '#8c64d2',
    500: '#4c22bd',
    950: '#000000',
  },
}
SCSS
$custom: #4c22bd;
$custom-light: #8c64d2;
$custom-dark: #000000;
JSON
{
  "hex": "#4c22bd",
  "rgb": {
    "r": 76,
    "g": 34,
    "b": 189
  },
  "hsl": {
    "h": 256.258,
    "s": 69.507,
    "l": 43.725
  },
  "oklch": {
    "l": 0.42478,
    "c": 0.21787,
    "h": 284.7
  },
  "luminance": 0.06355
}

Semantic roles & 50–950 ramp

primary
#4C22BD
secondary
#B3CD6E
accent
#EC3BBC
background
#F9F6FD
surface
#F2EBFA
border
#CCC6D3
text
#0E0614
muted
#7E7A83

Preview Lab

Preview with #4C22BD

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

Preview Lab → · Contrast checker → · Palette generator →

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