#4D22BC#4D22BC

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

Color values

HEX#4D22BC
RGBrgb(77, 34, 188)
HSLhsl(257, 69%, 44%)
HSVhsv(257, 82%, 74%)
CMYKcmyk(59%, 81.9%, 0%, 26.3%)
CIE-LABlab(30.28, 56.17, -72.55)
CIE-LCHlch(30.28, 91.75, 307.75°)
OKLaboklab(42.47% 0.057 -0.209)
OKLCHoklch(42.47% 0.217 285.3)
XYZxyz(12.7069, 6.3519, 48.1237)
Luminance0.0635 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D22BC #91BC22
analogous
#2244BC #4D22BC #9A22BC
triadic
#4D22BC #BC4D22 #22BC4D
tetradic
#4D22BC #BC2244 #91BC22 #22BC9A
square
#4D22BC #BC2244 #91BC22 #22BC9A
split-complementary
#4D22BC #BC9A22 #44BC22
monochromatic
#230F54 #381988 #4D22BC #6B3FDC #9373E6

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##4D22BC#FFFFFF#000000##FFFFFF
##4D22BC1.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)
#004BC0
Deuteranopia (green-blind)
#0043B9
Tritanopia (blue-blind)
#075171
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #4d22bc;
/* rgb */ color: rgb(77, 34, 188);
/* oklch */ color: oklch(42.5% 0.217 285.3);
Tailwind
colors: {
  custom: {
    50: '#8d64d2',
    500: '#4d22bc',
    950: '#000000',
  },
}
SCSS
$custom: #4d22bc;
$custom-light: #8d64d2;
$custom-dark: #000000;
JSON
{
  "hex": "#4d22bc",
  "rgb": {
    "r": 77,
    "g": 34,
    "b": 188
  },
  "hsl": {
    "h": 256.753,
    "s": 69.369,
    "l": 43.529
  },
  "oklch": {
    "l": 0.42467,
    "c": 0.21669,
    "h": 285.3
  },
  "luminance": 0.06353
}

Semantic roles & 50–950 ramp

primary
#4D22BC
secondary
#B2CD6D
accent
#EC3CBB
background
#F9F6FD
surface
#F2EBFA
border
#CCC6D3
text
#0E0614
muted
#7E7A83

Preview Lab

Preview with #4D22BC

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

Preview Lab → · Contrast checker → · Palette generator →

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