#4A22BD#4A22BD

#4A22BD is a dark, highly saturated violet. Relative luminance 0.063; OKLCH L 42.3% C 0.218 H 283.8°. Best body text is #FFFFFF at 9.31:1 contrast (WCAG AA passes).

Color values

HEX#4A22BD
RGBrgb(74, 34, 189)
HSLhsl(255, 70%, 44%)
HSVhsv(255, 82%, 74%)
CMYKcmyk(60.8%, 82%, 0%, 25.9%)
CIE-LABlab(30.09, 56.13, -73.46)
CIE-LCHlch(30.09, 92.45, 307.38°)
OKLaboklab(42.3% 0.0521 -0.2118)
OKLCHoklch(42.3% 0.218 283.8)
XYZxyz(12.5785, 6.2732, 48.6823)
Luminance0.0627 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A22BD #95BD22
analogous
#2247BD #4A22BD #9722BD
triadic
#4A22BD #BD4A22 #22BD4A
tetradic
#4A22BD #BD2247 #95BD22 #22BD97
square
#4A22BD #BD2247 #95BD22 #22BD97
split-complementary
#4A22BD #BD9722 #47BD22
monochromatic
#210F55 #361989 #4A22BD #6840DD #9173E6

Accessibility & contrast

On white

9.31
#4A22BD on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.25
#4A22BD on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4A22BD
9.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A22BD#FFFFFF#000000##FFFFFF
##4A22BD1.009.312.259.31
#FFFFFF9.311.0021.001.00
#0000002.2521.001.0021.00
##FFFFFF9.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004BC1
Deuteranopia (green-blind)
#0042BA
Tritanopia (blue-blind)
#005271
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #4a22bd;
/* rgb */ color: rgb(74, 34, 189);
/* oklch */ color: oklch(42.3% 0.218 283.8);
Tailwind
colors: {
  custom: {
    50: '#8b64d2',
    500: '#4a22bd',
    950: '#000000',
  },
}
SCSS
$custom: #4a22bd;
$custom-light: #8b64d2;
$custom-dark: #000000;
JSON
{
  "hex": "#4a22bd",
  "rgb": {
    "r": 74,
    "g": 34,
    "b": 189
  },
  "hsl": {
    "h": 255.484,
    "s": 69.507,
    "l": 43.725
  },
  "oklch": {
    "l": 0.42295,
    "c": 0.21812,
    "h": 283.8
  },
  "luminance": 0.06274
}

Semantic roles & 50–950 ramp

primary
#4A22BD
secondary
#B4CD6E
accent
#EC3BBF
background
#F9F6FD
surface
#F2EBFA
border
#CCC6D3
text
#0D0614
muted
#7E7A83

Preview Lab

Preview with #4A22BD

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

Preview Lab → · Contrast checker → · Palette generator →

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