#4B1573#4B1573

#4B1573 is a dark, vivid violet. Relative luminance 0.033; OKLCH L 33.9% C 0.150 H 305.6°. Best body text is #FFFFFF at 12.70:1 contrast (WCAG AA passes).

Color values

HEX#4B1573
RGBrgb(75, 21, 115)
HSLhsl(274, 69%, 27%)
HSVhsv(274, 82%, 45%)
CMYKcmyk(34.8%, 81.7%, 0%, 54.9%)
CIE-LABlab(21.09, 42.07, -42.71)
CIE-LCHlch(21.09, 59.95, 314.57°)
OKLaboklab(33.89% 0.0872 -0.1216)
OKLCHoklch(33.89% 0.15 305.6)
XYZxyz(6.2636, 3.2700, 16.5175)
Luminance0.0327 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4B1573 #3D7315
analogous
#1C1573 #4B1573 #73156C
triadic
#4B1573 #734B15 #15734B
tetradic
#4B1573 #731C15 #3D7315 #156C73
square
#4B1573 #731C15 #3D7315 #156C73
split-complementary
#4B1573 #6C7315 #15731C
monochromatic
#11051A #290C3F #4B1573 #6D1EA7 #8E2AD8

Accessibility & contrast

On white

12.70
#4B1573 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.65
#4B1573 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4B1573
12.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4B1573#FFFFFF#000000##FFFFFF
##4B15731.0012.701.6512.70
#FFFFFF12.701.0021.001.00
#0000001.6521.001.0021.00
##FFFFFF12.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003176
Deuteranopia (green-blind)
#003371
Tritanopia (blue-blind)
#442D44
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #4b1573;
/* rgb */ color: rgb(75, 21, 115);
/* oklch */ color: oklch(33.9% 0.150 305.6);
Tailwind
colors: {
  custom: {
    50: '#825a9c',
    500: '#4b1573',
    950: '#000000',
  },
}
SCSS
$custom: #4b1573;
$custom-light: #825a9c;
$custom-dark: #000000;
JSON
{
  "hex": "#4b1573",
  "rgb": {
    "r": 75,
    "g": 21,
    "b": 115
  },
  "hsl": {
    "h": 274.468,
    "s": 69.118,
    "l": 26.667
  },
  "oklch": {
    "l": 0.33888,
    "c": 0.14962,
    "h": 305.6
  },
  "luminance": 0.0327
}

Semantic roles & 50–950 ramp

primary
#4B1573
secondary
#6AA93B
accent
#EC3C87
background
#F8F5F9
surface
#EFE9F2
border
#CAC5CC
text
#0B040E
muted
#7C797E

Preview Lab

Preview with #4B1573

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

Preview Lab → · Contrast checker → · Palette generator →

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