#4D22CA#4D22CA

#4D22CA is a dark, highly saturated violet. Relative luminance 0.070; OKLCH L 43.9% C 0.232 H 283.0°. Best body text is #FFFFFF at 8.76:1 contrast (WCAG AA passes).

Color values

HEX#4D22CA
RGBrgb(77, 34, 202)
HSLhsl(255, 71%, 46%)
HSVhsv(255, 83%, 79%)
CMYKcmyk(61.9%, 83.2%, 0%, 20.8%)
CIE-LABlab(31.77, 59.95, -78.31)
CIE-LCHlch(31.77, 98.63, 307.44°)
OKLaboklab(43.93% 0.0522 -0.2258)
OKLCHoklch(43.93% 0.232 283)
XYZxyz(14.2900, 6.9851, 56.4609)
Luminance0.0699 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D22CA #9FCA22
analogous
#224BCA #4D22CA #A122CA
triadic
#4D22CA #CA4D22 #22CA4D
tetradic
#4D22CA #CA224B #9FCA22 #22CAA1
square
#4D22CA #CA224B #9FCA22 #22CAA1
split-complementary
#4D22CA #CAA122 #4BCA22
monochromatic
#251061 #391996 #4D22CA #7049E0 #997DE9

Accessibility & contrast

On white

8.76
#4D22CA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.40
#4D22CA on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4D22CA
8.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D22CA#FFFFFF#000000##FFFFFF
##4D22CA1.008.762.408.76
#FFFFFF8.761.0021.001.00
#0000002.4021.001.0021.00
##FFFFFF8.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0050CE
Deuteranopia (green-blind)
#0045C7
Tritanopia (blue-blind)
#005779
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #4d22ca;
/* rgb */ color: rgb(77, 34, 202);
/* oklch */ color: oklch(43.9% 0.232 283.0);
Tailwind
colors: {
  custom: {
    50: '#8f65dc',
    500: '#4d22ca',
    950: '#000000',
  },
}
SCSS
$custom: #4d22ca;
$custom-light: #8f65dc;
$custom-dark: #000000;
JSON
{
  "hex": "#4d22ca",
  "rgb": {
    "r": 77,
    "g": 34,
    "b": 202
  },
  "hsl": {
    "h": 255.357,
    "s": 71.186,
    "l": 46.275
  },
  "oklch": {
    "l": 0.43931,
    "c": 0.23179,
    "h": 283
  },
  "luminance": 0.06986
}

Semantic roles & 50–950 ramp

primary
#4D22CA
secondary
#BAD177
accent
#EE3AC0
background
#F9F6FD
surface
#F2EBFB
border
#CCC6D4
text
#0E0615
muted
#7E7A83

Preview Lab

Preview with #4D22CA

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

Preview Lab → · Contrast checker → · Palette generator →

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