#4B2080#4B2080

#4B2080 is a dark, vivid violet. Relative luminance 0.041; OKLCH L 36.3% C 0.151 H 299.0°. Best body text is #FFFFFF at 11.55:1 contrast (WCAG AA passes).

Color values

HEX#4B2080
RGBrgb(75, 32, 128)
HSLhsl(267, 60%, 31%)
HSVhsv(267, 75%, 50%)
CMYKcmyk(41.4%, 75%, 0%, 49.8%)
CIE-LABlab(23.96, 40.43, -46.33)
CIE-LCHlch(23.96, 61.49, 311.11°)
OKLaboklab(36.25% 0.0734 -0.1323)
OKLCHoklch(36.25% 0.151 299)
XYZxyz(7.3135, 4.0873, 20.8215)
Luminance0.0409 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4B2080 #558020
analogous
#202580 #4B2080 #7B2080
triadic
#4B2080 #804B20 #20804B
tetradic
#4B2080 #802025 #558020 #20807B
square
#4B2080 #802025 #558020 #20807B
split-complementary
#4B2080 #807B20 #258020
monochromatic
#12081E #2E144F #4B2080 #682CB1 #8649D1

Accessibility & contrast

On white

11.55
#4B2080 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.82
#4B2080 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4B2080
11.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4B2080#FFFFFF#000000##FFFFFF
##4B20801.0011.551.8211.55
#FFFFFF11.551.0021.001.00
#0000001.8221.001.0021.00
##FFFFFF11.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003983
Deuteranopia (green-blind)
#00387E
Tritanopia (blue-blind)
#3E384E
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #4b2080;
/* rgb */ color: rgb(75, 32, 128);
/* oklch */ color: oklch(36.3% 0.151 299.0);
Tailwind
colors: {
  custom: {
    50: '#8360a6',
    500: '#4b2080',
    950: '#000000',
  },
}
SCSS
$custom: #4b2080;
$custom-light: #8360a6;
$custom-dark: #000000;
JSON
{
  "hex": "#4b2080",
  "rgb": {
    "r": 75,
    "g": 32,
    "b": 128
  },
  "hsl": {
    "h": 266.875,
    "s": 60,
    "l": 31.373
  },
  "oklch": {
    "l": 0.36253,
    "c": 0.15134,
    "h": 299
  },
  "luminance": 0.04087
}

Semantic roles & 50–950 ramp

primary
#4B2080
secondary
#83B349
accent
#E3459C
background
#F8F5FA
surface
#EFEAF4
border
#CAC6CE
text
#0B050F
muted
#7C797F

Preview Lab

Preview with #4B2080

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

Preview Lab → · Contrast checker → · Palette generator →

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