#4B1D82#4B1D82

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

Color values

HEX#4B1D82
RGBrgb(75, 29, 130)
HSLhsl(267, 64%, 31%)
HSVhsv(267, 78%, 51%)
CMYKcmyk(42.3%, 77.7%, 0%, 49%)
CIE-LABlab(23.63, 42.41, -48.14)
CIE-LCHlch(23.63, 64.15, 311.38°)
OKLaboklab(36.07% 0.0758 -0.1376)
OKLCHoklch(36.07% 0.157 298.9)
XYZxyz(7.3693, 3.9862, 21.4959)
Luminance0.0399 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4B1D82 #54821D
analogous
#1D2182 #4B1D82 #7D1D82
triadic
#4B1D82 #824B1D #1D824B
tetradic
#4B1D82 #821D21 #54821D #1D827D
square
#4B1D82 #821D21 #54821D #1D827D
split-complementary
#4B1D82 #827D1D #21821D
monochromatic
#11071E #2E1250 #4B1D82 #6828B4 #8644D5

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##4B1D82#FFFFFF#000000##FFFFFF
##4B1D821.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)
#003885
Deuteranopia (green-blind)
#003780
Tritanopia (blue-blind)
#3E374E
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #4b1d82;
/* rgb */ color: rgb(75, 29, 130);
/* oklch */ color: oklch(36.1% 0.157 298.9);
Tailwind
colors: {
  custom: {
    50: '#835ea7',
    500: '#4b1d82',
    950: '#000000',
  },
}
SCSS
$custom: #4b1d82;
$custom-light: #835ea7;
$custom-dark: #000000;
JSON
{
  "hex": "#4b1d82",
  "rgb": {
    "r": 75,
    "g": 29,
    "b": 130
  },
  "hsl": {
    "h": 267.327,
    "s": 63.522,
    "l": 31.176
  },
  "oklch": {
    "l": 0.36073,
    "c": 0.15713,
    "h": 298.9
  },
  "luminance": 0.03986
}

Semantic roles & 50–950 ramp

primary
#4B1D82
secondary
#82B546
accent
#E7419B
background
#F8F5FA
surface
#EFE9F4
border
#CAC5CE
text
#0B0510
muted
#7C797F

Preview Lab

Preview with #4B1D82

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

Preview Lab → · Contrast checker → · Palette generator →

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