#4B1E85#4B1E85

#4B1E85 is a dark, vivid violet. Relative luminance 0.041; OKLCH L 36.5% C 0.159 H 297.7°. Best body text is #FFFFFF at 11.52:1 contrast (WCAG AA passes).

Color values

HEX#4B1E85
RGBrgb(75, 30, 133)
HSLhsl(266, 63%, 32%)
HSVhsv(266, 77%, 52%)
CMYKcmyk(43.6%, 77.4%, 0%, 47.8%)
CIE-LABlab(24.06, 42.74, -49.32)
CIE-LCHlch(24.06, 65.26, 310.91°)
OKLaboklab(36.46% 0.0741 -0.1411)
OKLCHoklch(36.46% 0.159 297.7)
XYZxyz(7.5985, 4.1177, 22.5802)
Luminance0.0412 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4B1E85 #58851E
analogous
#1E2485 #4B1E85 #7F1E85
triadic
#4B1E85 #854B1E #1E854B
tetradic
#4B1E85 #851E24 #58851E #1E857F
square
#4B1E85 #851E24 #58851E #1E857F
split-complementary
#4B1E85 #857F1E #24851E
monochromatic
#130721 #2F1353 #4B1E85 #6729B7 #8648D6

Accessibility & contrast

On white

11.52
#4B1E85 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.82
#4B1E85 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4B1E85
11.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4B1E85#FFFFFF#000000##FFFFFF
##4B1E851.0011.521.8211.52
#FFFFFF11.521.0021.001.00
#0000001.8221.001.0021.00
##FFFFFF11.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003988
Deuteranopia (green-blind)
#003883
Tritanopia (blue-blind)
#3C3950
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #4b1e85;
/* rgb */ color: rgb(75, 30, 133);
/* oklch */ color: oklch(36.5% 0.159 297.7);
Tailwind
colors: {
  custom: {
    50: '#835fa9',
    500: '#4b1e85',
    950: '#000000',
  },
}
SCSS
$custom: #4b1e85;
$custom-light: #835fa9;
$custom-dark: #000000;
JSON
{
  "hex": "#4b1e85",
  "rgb": {
    "r": 75,
    "g": 30,
    "b": 133
  },
  "hsl": {
    "h": 266.214,
    "s": 63.19,
    "l": 31.961
  },
  "oklch": {
    "l": 0.36459,
    "c": 0.15939,
    "h": 297.7
  },
  "luminance": 0.04118
}

Semantic roles & 50–950 ramp

primary
#4B1E85
secondary
#87B847
accent
#E6429E
background
#F8F5FA
surface
#F0E9F4
border
#CBC5CE
text
#0B0510
muted
#7C797F

Preview Lab

Preview with #4B1E85

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

Preview Lab → · Contrast checker → · Palette generator →

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