#4D22A9#4D22A9

#4D22A9 is a dark, vivid violet. Relative luminance 0.056; OKLCH L 40.5% C 0.196 H 288.9°. Best body text is #FFFFFF at 9.92:1 contrast (WCAG AA passes).

Color values

HEX#4D22A9
RGBrgb(77, 34, 169)
HSLhsl(259, 67%, 40%)
HSVhsv(259, 80%, 66%)
CMYKcmyk(54.4%, 79.9%, 0%, 33.7%)
CIE-LABlab(28.34, 50.98, -64.41)
CIE-LCHlch(28.34, 82.14, 308.37°)
OKLaboklab(40.55% 0.0633 -0.1853)
OKLCHoklch(40.55% 0.196 288.9)
XYZxyz(10.7919, 5.5859, 38.0380)
Luminance0.0559 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D22A9 #7EA922
analogous
#223BA9 #4D22A9 #9022A9
triadic
#4D22A9 #A94D22 #22A94D
tetradic
#4D22A9 #A9223B #7EA922 #22A990
square
#4D22A9 #A9223B #7EA922 #22A990
split-complementary
#4D22A9 #A99022 #3BA922
monochromatic
#1F0D43 #361876 #4D22A9 #6632D6 #8C65E0

Accessibility & contrast

On white

9.92
#4D22A9 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.12
#4D22A9 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4D22A9
9.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D22A9#FFFFFF#000000##FFFFFF
##4D22A91.009.922.129.92
#FFFFFF9.921.0021.001.00
#0000002.1221.001.0021.00
##FFFFFF9.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0046AD
Deuteranopia (green-blind)
#003FA7
Tritanopia (blue-blind)
#284A66
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #4d22a9;
/* rgb */ color: rgb(77, 34, 169);
/* oklch */ color: oklch(40.5% 0.196 288.9);
Tailwind
colors: {
  custom: {
    50: '#8963c4',
    500: '#4d22a9',
    950: '#000000',
  },
}
SCSS
$custom: #4d22a9;
$custom-light: #8963c4;
$custom-dark: #000000;
JSON
{
  "hex": "#4d22a9",
  "rgb": {
    "r": 77,
    "g": 34,
    "b": 169
  },
  "hsl": {
    "h": 259.111,
    "s": 66.502,
    "l": 39.804
  },
  "oklch": {
    "l": 0.40546,
    "c": 0.19581,
    "h": 288.9
  },
  "luminance": 0.05586
}

Semantic roles & 50–950 ramp

primary
#4D22A9
secondary
#A6C561
accent
#E93EB3
background
#F9F6FC
surface
#F1EBF8
border
#CBC6D1
text
#0D0613
muted
#7E7A82

Preview Lab

Preview with #4D22A9

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

Preview Lab → · Contrast checker → · Palette generator →

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