#4B1568#4B1568

#4B1568 is a dark, vivid violet. Relative luminance 0.030; OKLCH L 33.0% C 0.138 H 310.5°. Best body text is #FFFFFF at 13.07:1 contrast (WCAG AA passes).

Color values

HEX#4B1568
RGBrgb(75, 21, 104)
HSLhsl(279, 66%, 25%)
HSVhsv(279, 80%, 41%)
CMYKcmyk(27.9%, 79.8%, 0%, 59.2%)
CIE-LABlab(20.17, 39.44, -37.07)
CIE-LCHlch(20.17, 54.12, 316.77°)
OKLaboklab(32.95% 0.0898 -0.105)
OKLCHoklch(32.95% 0.138 310.5)
XYZxyz(5.6680, 3.0318, 13.3806)
Luminance0.0303 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4B1568 #326815
analogous
#221568 #4B1568 #68155C
triadic
#4B1568 #684B15 #15684B
tetradic
#4B1568 #682215 #326815 #155C68
square
#4B1568 #682215 #326815 #155C68
split-complementary
#4B1568 #5C6815 #156822
monochromatic
#120519 #260B35 #4B1568 #701F9B #942ACE

Accessibility & contrast

On white

13.07
#4B1568 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.61
#4B1568 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4B1568
13.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4B1568#FFFFFF#000000##FFFFFF
##4B15681.0013.071.6113.07
#FFFFFF13.071.0021.001.00
#0000001.6121.001.0021.00
##FFFFFF13.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002E6A
Deuteranopia (green-blind)
#023266
Tritanopia (blue-blind)
#47293E
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #4b1568;
/* rgb */ color: rgb(75, 21, 104);
/* oklch */ color: oklch(33.0% 0.138 310.5);
Tailwind
colors: {
  custom: {
    50: '#815994',
    500: '#4b1568',
    950: '#000000',
  },
}
SCSS
$custom: #4b1568;
$custom-light: #815994;
$custom-dark: #000000;
JSON
{
  "hex": "#4b1568",
  "rgb": {
    "r": 75,
    "g": 21,
    "b": 104
  },
  "hsl": {
    "h": 279.036,
    "s": 66.4,
    "l": 24.51
  },
  "oklch": {
    "l": 0.32951,
    "c": 0.13818,
    "h": 310.5
  },
  "luminance": 0.03032
}

Semantic roles & 50–950 ramp

primary
#4B1568
secondary
#5D9F3A
accent
#E93E7A
background
#F8F5F9
surface
#EFE9F1
border
#CAC5CB
text
#0B040D
muted
#7C797E

Preview Lab

Preview with #4B1568

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

Preview Lab → · Contrast checker → · Palette generator →

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