#4B22AE#4B22AE

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

Color values

HEX#4B22AE
RGBrgb(75, 34, 174)
HSLhsl(258, 67%, 41%)
HSVhsv(258, 80%, 68%)
CMYKcmyk(56.9%, 80.5%, 0%, 31.8%)
CIE-LABlab(28.63, 52.11, -66.94)
CIE-LCHlch(28.63, 84.83, 307.90°)
OKLaboklab(40.85% 0.0586 -0.1928)
OKLCHoklch(40.85% 0.201 286.9)
XYZxyz(11.1114, 5.6953, 40.5500)
Luminance0.0570 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4B22AE #85AE22
analogous
#223FAE #4B22AE #9122AE
triadic
#4B22AE #AE4B22 #22AE4B
tetradic
#4B22AE #AE223F #85AE22 #22AE91
square
#4B22AE #AE223F #85AE22 #22AE91
split-complementary
#4B22AE #AE9122 #3FAE22
monochromatic
#1F0E48 #35187B #4B22AE #6536D8 #8C69E2

Accessibility & contrast

On white

9.82
#4B22AE on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.14
#4B22AE on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4B22AE
9.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4B22AE#FFFFFF#000000##FFFFFF
##4B22AE1.009.822.149.82
#FFFFFF9.821.0021.001.00
#0000002.1421.001.0021.00
##FFFFFF9.821.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #4b22ae;
/* rgb */ color: rgb(75, 34, 174);
/* oklch */ color: oklch(40.8% 0.201 286.9);
Tailwind
colors: {
  custom: {
    50: '#8963c7',
    500: '#4b22ae',
    950: '#000000',
  },
}
SCSS
$custom: #4b22ae;
$custom-light: #8963c7;
$custom-dark: #000000;
JSON
{
  "hex": "#4b22ae",
  "rgb": {
    "r": 75,
    "g": 34,
    "b": 174
  },
  "hsl": {
    "h": 257.571,
    "s": 67.308,
    "l": 40.784
  },
  "oklch": {
    "l": 0.40846,
    "c": 0.20147,
    "h": 286.9
  },
  "luminance": 0.05696
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #4B22AE

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

Preview Lab → · Contrast checker → · Palette generator →

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