#4B1E82#4B1E82

#4B1E82 is a dark, vivid violet. Relative luminance 0.040; OKLCH L 36.2% C 0.156 H 298.7°. Best body text is #FFFFFF at 11.62:1 contrast (WCAG AA passes).

Color values

HEX#4B1E82
RGBrgb(75, 30, 130)
HSLhsl(267, 63%, 31%)
HSVhsv(267, 77%, 51%)
CMYKcmyk(42.3%, 76.9%, 0%, 49%)
CIE-LABlab(23.79, 41.94, -47.87)
CIE-LCHlch(23.79, 63.64, 311.22°)
OKLaboklab(36.19% 0.0749 -0.1368)
OKLCHoklch(36.19% 0.156 298.7)
XYZxyz(7.3942, 4.0360, 21.5042)
Luminance0.0404 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4B1E82 #55821E
analogous
#1E2382 #4B1E82 #7D1E82
triadic
#4B1E82 #824B1E #1E824B
tetradic
#4B1E82 #821E23 #55821E #1E827D
square
#4B1E82 #821E23 #55821E #1E827D
split-complementary
#4B1E82 #827D1E #23821E
monochromatic
#12071F #2E1350 #4B1E82 #6829B4 #8646D4

Accessibility & contrast

On white

11.62
#4B1E82 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.81
#4B1E82 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4B1E82
11.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4B1E82#FFFFFF#000000##FFFFFF
##4B1E821.0011.621.8111.62
#FFFFFF11.621.0021.001.00
#0000001.8121.001.0021.00
##FFFFFF11.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003985
Deuteranopia (green-blind)
#003880
Tritanopia (blue-blind)
#3E384E
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #4b1e82;
/* rgb */ color: rgb(75, 30, 130);
/* oklch */ color: oklch(36.2% 0.156 298.7);
Tailwind
colors: {
  custom: {
    50: '#835fa7',
    500: '#4b1e82',
    950: '#000000',
  },
}
SCSS
$custom: #4b1e82;
$custom-light: #835fa7;
$custom-dark: #000000;
JSON
{
  "hex": "#4b1e82",
  "rgb": {
    "r": 75,
    "g": 30,
    "b": 130
  },
  "hsl": {
    "h": 267,
    "s": 62.5,
    "l": 31.373
  },
  "oklch": {
    "l": 0.36189,
    "c": 0.156,
    "h": 298.7
  },
  "luminance": 0.04036
}

Semantic roles & 50–950 ramp

primary
#4B1E82
secondary
#83B547
accent
#E6429C
background
#F8F5FA
surface
#EFE9F4
border
#CAC5CE
text
#0B0510
muted
#7C797F

Preview Lab

Preview with #4B1E82

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

Preview Lab → · Contrast checker → · Palette generator →

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