#4B22BD#4B22BD

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

Color values

HEX#4B22BD
RGBrgb(75, 34, 189)
HSLhsl(256, 70%, 44%)
HSVhsv(256, 82%, 74%)
CMYKcmyk(60.3%, 82%, 0%, 25.9%)
CIE-LABlab(30.19, 56.23, -73.30)
CIE-LCHlch(30.19, 92.38, 307.49°)
OKLaboklab(42.39% 0.0536 -0.2113)
OKLCHoklch(42.39% 0.218 284.2)
XYZxyz(12.6562, 6.3132, 48.6859)
Luminance0.0631 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4B22BD #94BD22
analogous
#2246BD #4B22BD #9822BD
triadic
#4B22BD #BD4B22 #22BD4B
tetradic
#4B22BD #BD2246 #94BD22 #22BD98
square
#4B22BD #BD2246 #94BD22 #22BD98
split-complementary
#4B22BD #BD9822 #46BD22
monochromatic
#220F55 #361989 #4B22BD #6940DD #9273E6

Accessibility & contrast

On white

9.28
#4B22BD on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.26
#4B22BD on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4B22BD
9.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4B22BD#FFFFFF#000000##FFFFFF
##4B22BD1.009.282.269.28
#FFFFFF9.281.0021.001.00
#0000002.2621.001.0021.00
##FFFFFF9.281.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: #4b22bd;
/* rgb */ color: rgb(75, 34, 189);
/* oklch */ color: oklch(42.4% 0.218 284.2);
Tailwind
colors: {
  custom: {
    50: '#8c64d2',
    500: '#4b22bd',
    950: '#000000',
  },
}
SCSS
$custom: #4b22bd;
$custom-light: #8c64d2;
$custom-dark: #000000;
JSON
{
  "hex": "#4b22bd",
  "rgb": {
    "r": 75,
    "g": 34,
    "b": 189
  },
  "hsl": {
    "h": 255.871,
    "s": 69.507,
    "l": 43.725
  },
  "oklch": {
    "l": 0.42386,
    "c": 0.21799,
    "h": 284.2
  },
  "luminance": 0.06314
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #4B22BD

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

Preview Lab → · Contrast checker → · Palette generator →

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