#4B20A5#4B20A5

#4B20A5 is a dark, vivid violet. Relative luminance 0.052; OKLCH L 39.7% C 0.193 H 289.0°. Best body text is #FFFFFF at 10.25:1 contrast (WCAG AA passes).

Color values

HEX#4B20A5
RGBrgb(75, 32, 165)
HSLhsl(259, 68%, 39%)
HSVhsv(259, 81%, 65%)
CMYKcmyk(54.5%, 80.6%, 0%, 35.3%)
CIE-LABlab(27.42, 50.50, -63.51)
CIE-LCHlch(27.42, 81.15, 308.49°)
OKLaboklab(39.74% 0.0629 -0.1827)
OKLCHoklch(39.74% 0.193 289)
XYZxyz(10.2077, 5.2450, 36.0645)
Luminance0.0524 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4B20A5 #7AA520
analogous
#2038A5 #4B20A5 #8D20A5
triadic
#4B20A5 #A54B20 #20A54B
tetradic
#4B20A5 #A52038 #7AA520 #20A58D
square
#4B20A5 #A52038 #7AA520 #20A58D
split-complementary
#4B20A5 #A58D20 #38A520
monochromatic
#1C0C3E #341672 #4B20A5 #632CD6 #895FE0

Accessibility & contrast

On white

10.25
#4B20A5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.05
#4B20A5 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4B20A5
10.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4B20A5#FFFFFF#000000##FFFFFF
##4B20A51.0010.252.0510.25
#FFFFFF10.251.0021.001.00
#0000002.0521.001.0021.00
##FFFFFF10.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0043A9
Deuteranopia (green-blind)
#003DA3
Tritanopia (blue-blind)
#274763
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #4b20a5;
/* rgb */ color: rgb(75, 32, 165);
/* oklch */ color: oklch(39.7% 0.193 289.0);
Tailwind
colors: {
  custom: {
    50: '#8862c1',
    500: '#4b20a5',
    950: '#000000',
  },
}
SCSS
$custom: #4b20a5;
$custom-light: #8862c1;
$custom-dark: #000000;
JSON
{
  "hex": "#4b20a5",
  "rgb": {
    "r": 75,
    "g": 32,
    "b": 165
  },
  "hsl": {
    "h": 259.398,
    "s": 67.513,
    "l": 38.627
  },
  "oklch": {
    "l": 0.39735,
    "c": 0.19323,
    "h": 289
  },
  "luminance": 0.05245
}

Semantic roles & 50–950 ramp

primary
#4B20A5
secondary
#A3C55C
accent
#EA3DB2
background
#F8F6FC
surface
#F0EBF8
border
#CBC6D1
text
#0D0512
muted
#7D7A81

Preview Lab

Preview with #4B20A5

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

Preview Lab → · Contrast checker → · Palette generator →

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