#4B1B82#4B1B82

#4B1B82 is a dark, vivid violet. Relative luminance 0.039; OKLCH L 35.9% C 0.159 H 299.2°. Best body text is #FFFFFF at 11.81:1 contrast (WCAG AA passes).

Color values

HEX#4B1B82
RGBrgb(75, 27, 130)
HSLhsl(268, 66%, 31%)
HSVhsv(268, 79%, 51%)
CMYKcmyk(42.3%, 79.2%, 0%, 49%)
CIE-LABlab(23.31, 43.31, -48.65)
CIE-LCHlch(23.31, 65.14, 311.68°)
OKLaboklab(35.85% 0.0776 -0.1391)
OKLCHoklch(35.85% 0.159 299.2)
XYZxyz(7.3218, 3.8913, 21.4801)
Luminance0.0389 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4B1B82 #52821B
analogous
#1B1F82 #4B1B82 #7E1B82
triadic
#4B1B82 #824B1B #1B824B
tetradic
#4B1B82 #821B1F #52821B #1B827E
square
#4B1B82 #821B1F #52821B #1B827E
split-complementary
#4B1B82 #827E1B #1F821B
monochromatic
#11061D #2E104F #4B1B82 #6826B5 #8740D7

Accessibility & contrast

On white

11.81
#4B1B82 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.78
#4B1B82 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4B1B82
11.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4B1B82#FFFFFF#000000##FFFFFF
##4B1B821.0011.811.7811.81
#FFFFFF11.811.0021.001.00
#0000001.7821.001.0021.00
##FFFFFF11.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003785
Deuteranopia (green-blind)
#003780
Tritanopia (blue-blind)
#3E374E
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #4b1b82;
/* rgb */ color: rgb(75, 27, 130);
/* oklch */ color: oklch(35.9% 0.159 299.2);
Tailwind
colors: {
  custom: {
    50: '#835da7',
    500: '#4b1b82',
    950: '#000000',
  },
}
SCSS
$custom: #4b1b82;
$custom-light: #835da7;
$custom-dark: #000000;
JSON
{
  "hex": "#4b1b82",
  "rgb": {
    "r": 75,
    "g": 27,
    "b": 130
  },
  "hsl": {
    "h": 267.961,
    "s": 65.605,
    "l": 30.784
  },
  "oklch": {
    "l": 0.35851,
    "c": 0.15933,
    "h": 299.2
  },
  "luminance": 0.03891
}

Semantic roles & 50–950 ramp

primary
#4B1B82
secondary
#80B643
accent
#E93F9A
background
#F8F5FA
surface
#F0E9F4
border
#CBC5CE
text
#0B0410
muted
#7C797F

Preview Lab

Preview with #4B1B82

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

Preview Lab → · Contrast checker → · Palette generator →

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