#4B1C84#4B1C84

#4B1C84 is a dark, vivid violet. Relative luminance 0.040; OKLCH L 36.1% C 0.160 H 298.3°. Best body text is #FFFFFF at 11.68:1 contrast (WCAG AA passes).

Color values

HEX#4B1C84
RGBrgb(75, 28, 132)
HSLhsl(267, 65%, 31%)
HSVhsv(267, 79%, 52%)
CMYKcmyk(43.2%, 78.8%, 0%, 48.2%)
CIE-LABlab(23.65, 43.39, -49.36)
CIE-LCHlch(23.65, 65.72, 311.31°)
OKLaboklab(36.14% 0.0762 -0.1412)
OKLCHoklch(36.14% 0.16 298.3)
XYZxyz(7.4807, 3.9922, 22.2018)
Luminance0.0399 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4B1C84 #55841C
analogous
#1C2184 #4B1C84 #7F1C84
triadic
#4B1C84 #844B1C #1C844B
tetradic
#4B1C84 #841C21 #55841C #1C847F
square
#4B1C84 #841C21 #55841C #1C847F
split-complementary
#4B1C84 #847F1C #21841C
monochromatic
#12071F #2E1152 #4B1C84 #6827B6 #8643D7

Accessibility & contrast

On white

11.68
#4B1C84 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.80
#4B1C84 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4B1C84
11.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4B1C84#FFFFFF#000000##FFFFFF
##4B1C841.0011.681.8011.68
#FFFFFF11.681.0021.001.00
#0000001.8021.001.0021.00
##FFFFFF11.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003887
Deuteranopia (green-blind)
#003782
Tritanopia (blue-blind)
#3D384F
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #4b1c84;
/* rgb */ color: rgb(75, 28, 132);
/* oklch */ color: oklch(36.1% 0.160 298.3);
Tailwind
colors: {
  custom: {
    50: '#835ea9',
    500: '#4b1c84',
    950: '#000000',
  },
}
SCSS
$custom: #4b1c84;
$custom-light: #835ea9;
$custom-dark: #000000;
JSON
{
  "hex": "#4b1c84",
  "rgb": {
    "r": 75,
    "g": 28,
    "b": 132
  },
  "hsl": {
    "h": 267.115,
    "s": 65,
    "l": 31.373
  },
  "oklch": {
    "l": 0.36142,
    "c": 0.16046,
    "h": 298.3
  },
  "luminance": 0.03992
}

Semantic roles & 50–950 ramp

primary
#4B1C84
secondary
#83B745
accent
#E8409C
background
#F8F5FA
surface
#F0E9F4
border
#CBC5CE
text
#0B0510
muted
#7C797F

Preview Lab

Preview with #4B1C84

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

Preview Lab → · Contrast checker → · Palette generator →

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