#4B1C79#4B1C79

#4B1C79 is a dark, vivid violet. Relative luminance 0.037; OKLCH L 35.2% C 0.148 H 302.2°. Best body text is #FFFFFF at 12.06:1 contrast (WCAG AA passes).

Color values

HEX#4B1C79
RGBrgb(75, 28, 121)
HSLhsl(270, 62%, 29%)
HSVhsv(270, 77%, 47%)
CMYKcmyk(38%, 76.9%, 0%, 52.5%)
CIE-LABlab(22.68, 40.52, -43.98)
CIE-LCHlch(22.68, 59.80, 312.66°)
OKLaboklab(35.16% 0.079 -0.1254)
OKLCHoklch(35.16% 0.148 302.2)
XYZxyz(6.7673, 3.7068, 18.4444)
Luminance0.0371 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4B1C79 #4A791C
analogous
#1D1C79 #4B1C79 #791C79
triadic
#4B1C79 #794B1C #1C794B
tetradic
#4B1C79 #791D1C #4A791C #1C7979
square
#4B1C79 #791D1C #4A791C #1C7979
split-complementary
#4B1C79 #79791C #1C791D
monochromatic
#0F0619 #2C1047 #4B1C79 #6A28AB #893DD2

Accessibility & contrast

On white

12.06
#4B1C79 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.74
#4B1C79 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4B1C79
12.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4B1C79#FFFFFF#000000##FFFFFF
##4B1C791.0012.061.7412.06
#FFFFFF12.061.0021.001.00
#0000001.7421.001.0021.00
##FFFFFF12.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00357C
Deuteranopia (green-blind)
#003677
Tritanopia (blue-blind)
#413349
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #4b1c79;
/* rgb */ color: rgb(75, 28, 121);
/* oklch */ color: oklch(35.2% 0.148 302.2);
Tailwind
colors: {
  custom: {
    50: '#825da0',
    500: '#4b1c79',
    950: '#000000',
  },
}
SCSS
$custom: #4b1c79;
$custom-light: #825da0;
$custom-dark: #000000;
JSON
{
  "hex": "#4b1c79",
  "rgb": {
    "r": 75,
    "g": 28,
    "b": 121
  },
  "hsl": {
    "h": 270.323,
    "s": 62.416,
    "l": 29.216
  },
  "oklch": {
    "l": 0.35162,
    "c": 0.14822,
    "h": 302.2
  },
  "luminance": 0.03707
}

Semantic roles & 50–950 ramp

primary
#4B1C79
secondary
#78AD44
accent
#E54293
background
#F8F5FA
surface
#EFE9F3
border
#CAC5CD
text
#0B040F
muted
#7C797F

Preview Lab

Preview with #4B1C79

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

Preview Lab → · Contrast checker → · Palette generator →

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