#4B1880#4B1880

#4B1880 is a dark, vivid violet. Relative luminance 0.037; OKLCH L 35.4% C 0.160 H 300.3°. Best body text is #FFFFFF at 12.06:1 contrast (WCAG AA passes).

Color values

HEX#4B1880
RGBrgb(75, 24, 128)
HSLhsl(269, 68%, 30%)
HSVhsv(269, 81%, 50%)
CMYKcmyk(41.4%, 81.3%, 0%, 49.8%)
CIE-LABlab(22.68, 44.08, -48.42)
CIE-LCHlch(22.68, 65.48, 312.32°)
OKLaboklab(35.35% 0.0808 -0.1384)
OKLCHoklch(35.35% 0.16 300.3)
XYZxyz(7.1236, 3.7076, 20.7582)
Luminance0.0371 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4B1880 #4D8018
analogous
#181980 #4B1880 #7F1880
triadic
#4B1880 #804B18 #18804B
tetradic
#4B1880 #801819 #4D8018 #18807F
square
#4B1880 #801819 #4D8018 #18807F
split-complementary
#4B1880 #807F18 #198018
monochromatic
#0F051A #2D0E4C #4B1880 #6922B4 #8839DA

Accessibility & contrast

On white

12.06
#4B1880 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.74
#4B1880 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4B1880
12.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4B1880#FFFFFF#000000##FFFFFF
##4B18801.0012.061.7412.06
#FFFFFF12.061.0021.001.00
#0000001.7421.001.0021.00
##FFFFFF12.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003683
Deuteranopia (green-blind)
#00357E
Tritanopia (blue-blind)
#3F344C
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #4b1880;
/* rgb */ color: rgb(75, 24, 128);
/* oklch */ color: oklch(35.4% 0.160 300.3);
Tailwind
colors: {
  custom: {
    50: '#835ca6',
    500: '#4b1880',
    950: '#000000',
  },
}
SCSS
$custom: #4b1880;
$custom-light: #835ca6;
$custom-dark: #000000;
JSON
{
  "hex": "#4b1880",
  "rgb": {
    "r": 75,
    "g": 24,
    "b": 128
  },
  "hsl": {
    "h": 269.423,
    "s": 68.421,
    "l": 29.804
  },
  "oklch": {
    "l": 0.35355,
    "c": 0.16028,
    "h": 300.3
  },
  "luminance": 0.03708
}

Semantic roles & 50–950 ramp

primary
#4B1880
secondary
#7BB440
accent
#EB3D96
background
#F8F5FA
surface
#F0E9F4
border
#CBC5CE
text
#0B040F
muted
#7C797F

Preview Lab

Preview with #4B1880

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

Preview Lab → · Contrast checker → · Palette generator →

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