#4D22AF#4D22AF

#4D22AF is a dark, highly saturated violet. Relative luminance 0.058; OKLCH L 41.1% C 0.202 H 287.7°. Best body text is #FFFFFF at 9.71:1 contrast (WCAG AA passes).

Color values

HEX#4D22AF
RGBrgb(77, 34, 175)
HSLhsl(258, 67%, 41%)
HSVhsv(258, 81%, 69%)
CMYKcmyk(56%, 80.6%, 0%, 31.4%)
CIE-LABlab(28.94, 52.63, -67.02)
CIE-LCHlch(28.94, 85.21, 308.14°)
OKLaboklab(41.14% 0.0614 -0.1929)
OKLCHoklch(41.14% 0.202 287.7)
XYZxyz(11.3682, 5.8164, 41.0728)
Luminance0.0582 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D22AF #84AF22
analogous
#223DAF #4D22AF #9322AF
triadic
#4D22AF #AF4D22 #22AF4D
tetradic
#4D22AF #AF223D #84AF22 #22AF93
square
#4D22AF #AF223D #84AF22 #22AF93
split-complementary
#4D22AF #AF9322 #3DAF22
monochromatic
#200E49 #36187C #4D22AF #6836D8 #8E69E2

Accessibility & contrast

On white

9.71
#4D22AF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4D22AF
9.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D22AF#FFFFFF#000000##FFFFFF
##4D22AF1.009.712.169.71
#FFFFFF9.711.0021.001.00
#0000002.1621.001.0021.00
##FFFFFF9.711.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #4d22af;
/* rgb */ color: rgb(77, 34, 175);
/* oklch */ color: oklch(41.1% 0.202 287.7);
Tailwind
colors: {
  custom: {
    50: '#8a64c8',
    500: '#4d22af',
    950: '#000000',
  },
}
SCSS
$custom: #4d22af;
$custom-light: #8a64c8;
$custom-dark: #000000;
JSON
{
  "hex": "#4d22af",
  "rgb": {
    "r": 77,
    "g": 34,
    "b": 175
  },
  "hsl": {
    "h": 258.298,
    "s": 67.464,
    "l": 40.98
  },
  "oklch": {
    "l": 0.41144,
    "c": 0.20244,
    "h": 287.7
  },
  "luminance": 0.05817
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #4D22AF

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

Preview Lab → · Contrast checker → · Palette generator →

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