#4B1B84#4B1B84

#4B1B84 is a dark, vivid violet. Relative luminance 0.039; OKLCH L 36.0% C 0.162 H 298.5°. Best body text is #FFFFFF at 11.74:1 contrast (WCAG AA passes).

Color values

HEX#4B1B84
RGBrgb(75, 27, 132)
HSLhsl(267, 66%, 31%)
HSVhsv(267, 80%, 52%)
CMYKcmyk(43.2%, 79.5%, 0%, 48.2%)
CIE-LABlab(23.49, 43.83, -49.62)
CIE-LCHlch(23.49, 66.21, 311.46°)
OKLaboklab(36.03% 0.0771 -0.142)
OKLCHoklch(36.03% 0.162 298.5)
XYZxyz(7.4574, 3.9455, 22.1940)
Luminance0.0395 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4B1B84 #54841B
analogous
#1B1F84 #4B1B84 #7F1B84
triadic
#4B1B84 #844B1B #1B844B
tetradic
#4B1B84 #841B1F #54841B #1B847F
square
#4B1B84 #841B1F #54841B #1B847F
split-complementary
#4B1B84 #847F1B #1F841B
monochromatic
#11061E #2E1151 #4B1B84 #6825B7 #8641D8

Accessibility & contrast

On white

11.74
#4B1B84 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.79
#4B1B84 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4B1B84
11.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4B1B84#FFFFFF#000000##FFFFFF
##4B1B841.0011.741.7911.74
#FFFFFF11.741.0021.001.00
#0000001.7921.001.0021.00
##FFFFFF11.741.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #4b1b84;
/* rgb */ color: rgb(75, 27, 132);
/* oklch */ color: oklch(36.0% 0.162 298.5);
Tailwind
colors: {
  custom: {
    50: '#835da9',
    500: '#4b1b84',
    950: '#000000',
  },
}
SCSS
$custom: #4b1b84;
$custom-light: #835da9;
$custom-dark: #000000;
JSON
{
  "hex": "#4b1b84",
  "rgb": {
    "r": 75,
    "g": 27,
    "b": 132
  },
  "hsl": {
    "h": 267.429,
    "s": 66.038,
    "l": 31.176
  },
  "oklch": {
    "l": 0.36034,
    "c": 0.16153,
    "h": 298.5
  },
  "luminance": 0.03946
}

Semantic roles & 50–950 ramp

primary
#4B1B84
secondary
#82B743
accent
#E93F9B
background
#F8F5FA
surface
#F0E9F4
border
#CBC5CE
text
#0B0410
muted
#7C797F

Preview Lab

Preview with #4B1B84

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

Preview Lab → · Contrast checker → · Palette generator →

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