#4B1567#4B1567

#4B1567 is a dark, vivid violet. Relative luminance 0.030; OKLCH L 32.9% C 0.137 H 311.0°. Best body text is #FFFFFF at 13.11:1 contrast (WCAG AA passes).

Color values

HEX#4B1567
RGBrgb(75, 21, 103)
HSLhsl(280, 66%, 24%)
HSVhsv(280, 80%, 40%)
CMYKcmyk(27.2%, 79.6%, 0%, 59.6%)
CIE-LABlab(20.09, 39.20, -36.55)
CIE-LCHlch(20.09, 53.59, 317.01°)
OKLaboklab(32.87% 0.09 -0.1035)
OKLCHoklch(32.87% 0.137 311)
XYZxyz(5.6175, 3.0116, 13.1147)
Luminance0.0301 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4B1567 #316715
analogous
#221567 #4B1567 #67155A
triadic
#4B1567 #674B15 #15674B
tetradic
#4B1567 #672215 #316715 #155A67
square
#4B1567 #672215 #316715 #155A67
split-complementary
#4B1567 #5A6715 #156722
monochromatic
#130519 #260B34 #4B1567 #701F9A #952ACD

Accessibility & contrast

On white

13.11
#4B1567 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.60
#4B1567 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4B1567
13.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4B1567#FFFFFF#000000##FFFFFF
##4B15671.0013.111.6013.11
#FFFFFF13.111.0021.001.00
#0000001.6021.001.0021.00
##FFFFFF13.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002E69
Deuteranopia (green-blind)
#053165
Tritanopia (blue-blind)
#47283D
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #4b1567;
/* rgb */ color: rgb(75, 21, 103);
/* oklch */ color: oklch(32.9% 0.137 311.0);
Tailwind
colors: {
  custom: {
    50: '#815993',
    500: '#4b1567',
    950: '#000000',
  },
}
SCSS
$custom: #4b1567;
$custom-light: #815993;
$custom-dark: #000000;
JSON
{
  "hex": "#4b1567",
  "rgb": {
    "r": 75,
    "g": 21,
    "b": 103
  },
  "hsl": {
    "h": 279.512,
    "s": 66.129,
    "l": 24.314
  },
  "oklch": {
    "l": 0.32868,
    "c": 0.13715,
    "h": 311
  },
  "luminance": 0.03011
}

Semantic roles & 50–950 ramp

primary
#4B1567
secondary
#5C9E3A
accent
#E93F79
background
#F8F5F9
surface
#EFE9F1
border
#CAC5CB
text
#0B040D
muted
#7C797E

Preview Lab

Preview with #4B1567

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

Preview Lab → · Contrast checker → · Palette generator →

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