#4B22B3#4B22B3

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

Color values

HEX#4B22B3
RGBrgb(75, 34, 179)
HSLhsl(257, 68%, 42%)
HSVhsv(257, 81%, 70%)
CMYKcmyk(58.1%, 81%, 0%, 29.8%)
CIE-LABlab(29.14, 53.49, -69.09)
CIE-LCHlch(29.14, 87.37, 307.75°)
OKLaboklab(41.35% 0.057 -0.199)
OKLCHoklch(41.35% 0.207 286)
XYZxyz(11.6079, 5.8939, 43.1651)
Luminance0.0590 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4B22B3 #8AB322
analogous
#2241B3 #4B22B3 #9422B3
triadic
#4B22B3 #B34B22 #22B34B
tetradic
#4B22B3 #B32241 #8AB322 #22B394
square
#4B22B3 #B32241 #8AB322 #22B394
split-complementary
#4B22B3 #B39422 #41B322
monochromatic
#200E4C #351880 #4B22B3 #6639D9 #8E6CE3

Accessibility & contrast

On white

9.64
#4B22B3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.18
#4B22B3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4B22B3
9.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4B22B3#FFFFFF#000000##FFFFFF
##4B22B31.009.642.189.64
#FFFFFF9.641.0021.001.00
#0000002.1821.001.0021.00
##FFFFFF9.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0048B7
Deuteranopia (green-blind)
#0040B0
Tritanopia (blue-blind)
#134E6B
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #4b22b3;
/* rgb */ color: rgb(75, 34, 179);
/* oklch */ color: oklch(41.4% 0.207 286.0);
Tailwind
colors: {
  custom: {
    50: '#8a64cb',
    500: '#4b22b3',
    950: '#000000',
  },
}
SCSS
$custom: #4b22b3;
$custom-light: #8a64cb;
$custom-dark: #000000;
JSON
{
  "hex": "#4b22b3",
  "rgb": {
    "r": 75,
    "g": 34,
    "b": 179
  },
  "hsl": {
    "h": 256.966,
    "s": 68.075,
    "l": 41.765
  },
  "oklch": {
    "l": 0.41354,
    "c": 0.20701,
    "h": 286
  },
  "luminance": 0.05895
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #4B22B3

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

Preview Lab → · Contrast checker → · Palette generator →

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