#4B2578#4B2578

#4B2578 is a dark, vivid violet. Relative luminance 0.042; OKLCH L 36.3% C 0.135 H 300.8°. Best body text is #FFFFFF at 11.44:1 contrast (WCAG AA passes).

Color values

HEX#4B2578
RGBrgb(75, 37, 120)
HSLhsl(267, 53%, 31%)
HSVhsv(267, 69%, 47%)
CMYKcmyk(37.5%, 69.2%, 0%, 52.9%)
CIE-LABlab(24.24, 35.65, -40.80)
CIE-LCHlch(24.24, 54.18, 311.15°)
OKLaboklab(36.25% 0.0693 -0.1161)
OKLCHoklch(36.25% 0.135 300.8)
XYZxyz(6.9526, 4.1750, 18.2052)
Luminance0.0418 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4B2578 #527825
analogous
#252878 #4B2578 #742578
triadic
#4B2578 #784B25 #25784B
tetradic
#4B2578 #782528 #527825 #257874
square
#4B2578 #782528 #527825 #257874
split-complementary
#4B2578 #787425 #287825
monochromatic
#11081A #2E1749 #4B2578 #6833A7 #874FC9

Accessibility & contrast

On white

11.44
#4B2578 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.84
#4B2578 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4B2578
11.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4B2578#FFFFFF#000000##FFFFFF
##4B25781.0011.441.8411.44
#FFFFFF11.441.0021.001.00
#0000001.8421.001.0021.00
##FFFFFF11.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00397B
Deuteranopia (green-blind)
#003976
Tritanopia (blue-blind)
#41384B
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #4b2578;
/* rgb */ color: rgb(75, 37, 120);
/* oklch */ color: oklch(36.3% 0.135 300.8);
Tailwind
colors: {
  custom: {
    50: '#8162a0',
    500: '#4b2578',
    950: '#000000',
  },
}
SCSS
$custom: #4b2578;
$custom-light: #8162a0;
$custom-dark: #000000;
JSON
{
  "hex": "#4b2578",
  "rgb": {
    "r": 75,
    "g": 37,
    "b": 120
  },
  "hsl": {
    "h": 267.47,
    "s": 52.866,
    "l": 30.784
  },
  "oklch": {
    "l": 0.3625,
    "c": 0.13521,
    "h": 300.8
  },
  "luminance": 0.04175
}

Semantic roles & 50–950 ramp

primary
#4B2578
secondary
#80AA4E
accent
#DC4C9A
background
#F8F5F9
surface
#EFEAF2
border
#CAC6CC
text
#0B050F
muted
#7C797E

Preview Lab

Preview with #4B2578

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

Preview Lab → · Contrast checker → · Palette generator →

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