#4B22B1#4B22B1

#4B22B1 is a dark, highly saturated violet. Relative luminance 0.058; OKLCH L 41.1% C 0.205 H 286.3°. Best body text is #FFFFFF at 9.71:1 contrast (WCAG AA passes).

Color values

HEX#4B22B1
RGBrgb(75, 34, 177)
HSLhsl(257, 68%, 41%)
HSVhsv(257, 81%, 69%)
CMYKcmyk(57.6%, 80.8%, 0%, 30.6%)
CIE-LABlab(28.94, 52.94, -68.23)
CIE-LCHlch(28.94, 86.36, 307.80°)
OKLaboklab(41.15% 0.0576 -0.1965)
OKLCHoklch(41.15% 0.205 286.3)
XYZxyz(11.4071, 5.8136, 42.1075)
Luminance0.0581 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4B22B1 #88B122
analogous
#2240B1 #4B22B1 #9322B1
triadic
#4B22B1 #B14B22 #22B14B
tetradic
#4B22B1 #B12240 #88B122 #22B193
square
#4B22B1 #B12240 #88B122 #22B193
split-complementary
#4B22B1 #B19322 #40B122
monochromatic
#1F0E4A #35187E #4B22B1 #6638D9 #8D6BE3

Accessibility & contrast

On white

9.71
#4B22B1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.16
#4B22B1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4B22B1
9.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4B22B1#FFFFFF#000000##FFFFFF
##4B22B11.009.712.169.71
#FFFFFF9.711.0021.001.00
#0000002.1621.001.0021.00
##FFFFFF9.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0048B5
Deuteranopia (green-blind)
#0040AE
Tritanopia (blue-blind)
#174D6A
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #4b22b1;
/* rgb */ color: rgb(75, 34, 177);
/* oklch */ color: oklch(41.1% 0.205 286.3);
Tailwind
colors: {
  custom: {
    50: '#8a63ca',
    500: '#4b22b1',
    950: '#000000',
  },
}
SCSS
$custom: #4b22b1;
$custom-light: #8a63ca;
$custom-dark: #000000;
JSON
{
  "hex": "#4b22b1",
  "rgb": {
    "r": 75,
    "g": 34,
    "b": 177
  },
  "hsl": {
    "h": 257.203,
    "s": 67.773,
    "l": 41.373
  },
  "oklch": {
    "l": 0.4115,
    "c": 0.2048,
    "h": 286.3
  },
  "luminance": 0.05814
}

Semantic roles & 50–950 ramp

primary
#4B22B1
secondary
#ACC966
accent
#EB3DB9
background
#F9F6FC
surface
#F1EBF9
border
#CBC6D2
text
#0D0613
muted
#7E7A82

Preview Lab

Preview with #4B22B1

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

Preview Lab → · Contrast checker → · Palette generator →

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