#4A22B3#4A22B3

#4A22B3 is a dark, highly saturated violet. Relative luminance 0.059; OKLCH L 41.3% C 0.207 H 285.5°. Best body text is #FFFFFF at 9.67:1 contrast (WCAG AA passes).

Color values

HEX#4A22B3
RGBrgb(74, 34, 179)
HSLhsl(257, 68%, 42%)
HSVhsv(257, 81%, 70%)
CMYKcmyk(58.7%, 81%, 0%, 29.8%)
CIE-LABlab(29.04, 53.37, -69.26)
CIE-LCHlch(29.04, 87.44, 307.62°)
OKLaboklab(41.26% 0.0554 -0.1995)
OKLCHoklch(41.26% 0.207 285.5)
XYZxyz(11.5303, 5.8539, 43.1614)
Luminance0.0585 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A22B3 #8BB322
analogous
#2242B3 #4A22B3 #9322B3
triadic
#4A22B3 #B34A22 #22B34A
tetradic
#4A22B3 #B32242 #8BB322 #22B393
square
#4A22B3 #B32242 #8BB322 #22B393
split-complementary
#4A22B3 #B39322 #42B322
monochromatic
#1F0E4C #351880 #4A22B3 #6539D9 #8D6CE3

Accessibility & contrast

On white

9.67
#4A22B3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.17
#4A22B3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4A22B3
9.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A22B3#FFFFFF#000000##FFFFFF
##4A22B31.009.672.179.67
#FFFFFF9.671.0021.001.00
#0000002.1721.001.0021.00
##FFFFFF9.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0048B7
Deuteranopia (green-blind)
#0040B0
Tritanopia (blue-blind)
#0D4E6B
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #4a22b3;
/* rgb */ color: rgb(74, 34, 179);
/* oklch */ color: oklch(41.3% 0.207 285.5);
Tailwind
colors: {
  custom: {
    50: '#8964cb',
    500: '#4a22b3',
    950: '#000000',
  },
}
SCSS
$custom: #4a22b3;
$custom-light: #8964cb;
$custom-dark: #000000;
JSON
{
  "hex": "#4a22b3",
  "rgb": {
    "r": 74,
    "g": 34,
    "b": 179
  },
  "hsl": {
    "h": 256.552,
    "s": 68.075,
    "l": 41.765
  },
  "oklch": {
    "l": 0.41259,
    "c": 0.2071,
    "h": 285.5
  },
  "luminance": 0.05855
}

Semantic roles & 50–950 ramp

primary
#4A22B3
secondary
#AEC968
accent
#EB3DBB
background
#F9F6FC
surface
#F1EBF9
border
#CBC6D2
text
#0D0613
muted
#7E7A82

Preview Lab

Preview with #4A22B3

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

Preview Lab → · Contrast checker → · Palette generator →

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