#4B22A9#4B22A9

#4B22A9 is a dark, vivid violet. Relative luminance 0.055; OKLCH L 40.3% C 0.196 H 287.9°. Best body text is #FFFFFF at 10.00:1 contrast (WCAG AA passes).

Color values

HEX#4B22A9
RGBrgb(75, 34, 169)
HSLhsl(258, 67%, 40%)
HSVhsv(258, 80%, 66%)
CMYKcmyk(55.6%, 79.9%, 0%, 33.7%)
CIE-LABlab(28.12, 50.73, -64.77)
CIE-LCHlch(28.12, 82.27, 308.07°)
OKLaboklab(40.34% 0.0602 -0.1864)
OKLCHoklch(40.34% 0.196 287.9)
XYZxyz(10.6330, 5.5039, 38.0305)
Luminance0.0550 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4B22A9 #80A922
analogous
#223DA9 #4B22A9 #8E22A9
triadic
#4B22A9 #A94B22 #22A94B
tetradic
#4B22A9 #A9223D #80A922 #22A98E
square
#4B22A9 #A9223D #80A922 #22A98E
split-complementary
#4B22A9 #A98E22 #3DA922
monochromatic
#1E0D43 #341876 #4B22A9 #6432D6 #8B65E0

Accessibility & contrast

On white

10.00
#4B22A9 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.10
#4B22A9 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4B22A9
10.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4B22A9#FFFFFF#000000##FFFFFF
##4B22A91.0010.002.1010.00
#FFFFFF10.001.0021.001.00
#0000002.1021.001.0021.00
##FFFFFF10.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0045AD
Deuteranopia (green-blind)
#003FA7
Tritanopia (blue-blind)
#224A66
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #4b22a9;
/* rgb */ color: rgb(75, 34, 169);
/* oklch */ color: oklch(40.3% 0.196 287.9);
Tailwind
colors: {
  custom: {
    50: '#8863c4',
    500: '#4b22a9',
    950: '#000000',
  },
}
SCSS
$custom: #4b22a9;
$custom-light: #8863c4;
$custom-dark: #000000;
JSON
{
  "hex": "#4b22a9",
  "rgb": {
    "r": 75,
    "g": 34,
    "b": 169
  },
  "hsl": {
    "h": 258.222,
    "s": 66.502,
    "l": 39.804
  },
  "oklch": {
    "l": 0.40344,
    "c": 0.1959,
    "h": 287.9
  },
  "luminance": 0.05504
}

Semantic roles & 50–950 ramp

primary
#4B22A9
secondary
#A7C561
accent
#E93EB5
background
#F8F6FC
surface
#F0EBF8
border
#CBC6D1
text
#0D0613
muted
#7D7A82

Preview Lab

Preview with #4B22A9

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

Preview Lab → · Contrast checker → · Palette generator →

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