#4B20B3#4B20B3

#4B20B3 is a dark, highly saturated violet. Relative luminance 0.058; OKLCH L 41.2% C 0.209 H 286.2°. Best body text is #FFFFFF at 9.74:1 contrast (WCAG AA passes).

Color values

HEX#4B20B3
RGBrgb(75, 32, 179)
HSLhsl(258, 70%, 41%)
HSVhsv(258, 82%, 70%)
CMYKcmyk(58.1%, 82.1%, 0%, 29.8%)
CIE-LABlab(28.86, 54.32, -69.56)
CIE-LCHlch(28.86, 88.26, 307.99°)
OKLaboklab(41.16% 0.0581 -0.2004)
OKLCHoklch(41.16% 0.209 286.2)
XYZxyz(11.5524, 5.7829, 43.1466)
Luminance0.0578 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4B20B3 #88B320
analogous
#203FB3 #4B20B3 #9520B3
triadic
#4B20B3 #B34B20 #20B34B
tetradic
#4B20B3 #B3203F #88B320 #20B395
square
#4B20B3 #B3203F #88B320 #20B395
split-complementary
#4B20B3 #B39520 #3FB320
monochromatic
#1F0D4B #35177F #4B20B3 #6635DB #8D69E4

Accessibility & contrast

On white

9.74
#4B20B3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4B20B3
9.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4B20B3#FFFFFF#000000##FFFFFF
##4B20B31.009.742.169.74
#FFFFFF9.741.0021.001.00
#0000002.1621.001.0021.00
##FFFFFF9.741.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #4b20b3;
/* rgb */ color: rgb(75, 32, 179);
/* oklch */ color: oklch(41.2% 0.209 286.2);
Tailwind
colors: {
  custom: {
    50: '#8a63cb',
    500: '#4b20b3',
    950: '#000000',
  },
}
SCSS
$custom: #4b20b3;
$custom-light: #8a63cb;
$custom-dark: #000000;
JSON
{
  "hex": "#4b20b3",
  "rgb": {
    "r": 75,
    "g": 32,
    "b": 179
  },
  "hsl": {
    "h": 257.551,
    "s": 69.668,
    "l": 41.373
  },
  "oklch": {
    "l": 0.41157,
    "c": 0.20863,
    "h": 286.2
  },
  "luminance": 0.05784
}

Semantic roles & 50–950 ramp

primary
#4B20B3
secondary
#ACCA65
accent
#EC3BB9
background
#F9F6FC
surface
#F1EBF9
border
#CBC6D2
text
#0D0613
muted
#7E7A82

Preview Lab

Preview with #4B20B3

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

Preview Lab → · Contrast checker → · Palette generator →

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