#4B20AF#4B20AF

#4B20AF is a dark, highly saturated violet. Relative luminance 0.056; OKLCH L 40.7% C 0.204 H 286.9°. Best body text is #FFFFFF at 9.88:1 contrast (WCAG AA passes).

Color values

HEX#4B20AF
RGBrgb(75, 32, 175)
HSLhsl(258, 69%, 41%)
HSVhsv(258, 82%, 69%)
CMYKcmyk(57.1%, 81.7%, 0%, 31.4%)
CIE-LABlab(28.44, 53.23, -67.85)
CIE-LCHlch(28.44, 86.24, 308.11°)
OKLaboklab(40.75% 0.0595 -0.1954)
OKLCHoklch(40.75% 0.204 286.9)
XYZxyz(11.1537, 5.6234, 41.0468)
Luminance0.0562 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4B20AF #84AF20
analogous
#203CAF #4B20AF #9220AF
triadic
#4B20AF #AF4B20 #20AF4B
tetradic
#4B20AF #AF203C #84AF20 #20AF92
square
#4B20AF #AF203C #84AF20 #20AF92
split-complementary
#4B20AF #AF9220 #3CAF20
monochromatic
#1F0D48 #35177B #4B20AF #6533DA #8C66E3

Accessibility & contrast

On white

9.88
#4B20AF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.12
#4B20AF on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4B20AF
9.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4B20AF#FFFFFF#000000##FFFFFF
##4B20AF1.009.882.129.88
#FFFFFF9.881.0021.001.00
#0000002.1221.001.0021.00
##FFFFFF9.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0046B3
Deuteranopia (green-blind)
#003FAC
Tritanopia (blue-blind)
#1A4B69
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #4b20af;
/* rgb */ color: rgb(75, 32, 175);
/* oklch */ color: oklch(40.7% 0.204 286.9);
Tailwind
colors: {
  custom: {
    50: '#8962c8',
    500: '#4b20af',
    950: '#000000',
  },
}
SCSS
$custom: #4b20af;
$custom-light: #8962c8;
$custom-dark: #000000;
JSON
{
  "hex": "#4b20af",
  "rgb": {
    "r": 75,
    "g": 32,
    "b": 175
  },
  "hsl": {
    "h": 258.042,
    "s": 69.082,
    "l": 40.588
  },
  "oklch": {
    "l": 0.40746,
    "c": 0.20425,
    "h": 286.9
  },
  "luminance": 0.05624
}

Semantic roles & 50–950 ramp

primary
#4B20AF
secondary
#AAC862
accent
#EC3CB7
background
#F9F6FC
surface
#F1EBF8
border
#CBC6D1
text
#0D0513
muted
#7E7A82

Preview Lab

Preview with #4B20AF

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

Preview Lab → · Contrast checker → · Palette generator →

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