#4B2471#4B2471

#4B2471 is a dark, vivid violet. Relative luminance 0.040; OKLCH L 35.5% C 0.128 H 303.8°. Best body text is #FFFFFF at 11.73:1 contrast (WCAG AA passes).

Color values

HEX#4B2471
RGBrgb(75, 36, 113)
HSLhsl(270, 52%, 29%)
HSVhsv(270, 68%, 44%)
CMYKcmyk(33.6%, 68.1%, 0%, 55.7%)
CIE-LABlab(23.51, 34.32, -37.51)
CIE-LCHlch(23.51, 50.84, 312.45°)
OKLaboklab(35.55% 0.0713 -0.1064)
OKLCHoklch(35.55% 0.128 303.8)
XYZxyz(6.5125, 3.9499, 16.0389)
Luminance0.0395 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4B2471 #4A7124
analogous
#252471 #4B2471 #712471
triadic
#4B2471 #714B24 #24714B
tetradic
#4B2471 #712524 #4A7124 #247171
square
#4B2471 #712524 #4A7124 #247171
split-complementary
#4B2471 #717124 #247125
monochromatic
#0F0717 #2C1543 #4B2471 #6A339F #894AC5

Accessibility & contrast

On white

11.73
#4B2471 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.79
#4B2471 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4B2471
11.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4B2471#FFFFFF#000000##FFFFFF
##4B24711.0011.731.7911.73
#FFFFFF11.731.0021.001.00
#0000001.7921.001.0021.00
##FFFFFF11.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003773
Deuteranopia (green-blind)
#0B386F
Tritanopia (blue-blind)
#443547
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #4b2471;
/* rgb */ color: rgb(75, 36, 113);
/* oklch */ color: oklch(35.5% 0.128 303.8);
Tailwind
colors: {
  custom: {
    50: '#81619a',
    500: '#4b2471',
    950: '#000000',
  },
}
SCSS
$custom: #4b2471;
$custom-light: #81619a;
$custom-dark: #000000;
JSON
{
  "hex": "#4b2471",
  "rgb": {
    "r": 75,
    "g": 36,
    "b": 113
  },
  "hsl": {
    "h": 270.39,
    "s": 51.678,
    "l": 29.216
  },
  "oklch": {
    "l": 0.3555,
    "c": 0.12811,
    "h": 303.8
  },
  "luminance": 0.0395
}

Semantic roles & 50–950 ramp

primary
#4B2471
secondary
#78A44D
accent
#DB4D93
background
#F8F5F9
surface
#EFEAF2
border
#CAC6CC
text
#0B050E
muted
#7C797E

Preview Lab

Preview with #4B2471

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

Preview Lab → · Contrast checker → · Palette generator →

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