#4B1E8D#4B1E8D

#4B1E8D is a dark, vivid violet. Relative luminance 0.043; OKLCH L 37.2% C 0.168 H 295.3°. Best body text is #FFFFFF at 11.23:1 contrast (WCAG AA passes).

Color values

HEX#4B1E8D
RGBrgb(75, 30, 141)
HSLhsl(264, 65%, 34%)
HSVhsv(264, 79%, 55%)
CMYKcmyk(46.8%, 78.7%, 0%, 44.7%)
CIE-LABlab(24.79, 44.87, -53.12)
CIE-LCHlch(24.79, 69.54, 310.19°)
OKLaboklab(37.2% 0.0719 -0.1523)
OKLCHoklch(37.2% 0.168 295.3)
XYZxyz(8.1723, 4.3473, 25.6027)
Luminance0.0435 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4B1E8D #608D1E
analogous
#1E298D #4B1E8D #821E8D
triadic
#4B1E8D #8D4B1E #1E8D4B
tetradic
#4B1E8D #8D1E29 #608D1E #1E8D82
square
#4B1E8D #8D1E29 #608D1E #1E8D82
split-complementary
#4B1E8D #8D821E #298D1E
monochromatic
#150928 #30135B #4B1E8D #6629BF #854CD9

Accessibility & contrast

On white

11.23
#4B1E8D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.87
#4B1E8D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4B1E8D
11.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4B1E8D#FFFFFF#000000##FFFFFF
##4B1E8D1.0011.231.8711.23
#FFFFFF11.231.0021.001.00
#0000001.8721.001.0021.00
##FFFFFF11.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003C90
Deuteranopia (green-blind)
#00398B
Tritanopia (blue-blind)
#383C55
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #4b1e8d;
/* rgb */ color: rgb(75, 30, 141);
/* oklch */ color: oklch(37.2% 0.168 295.3);
Tailwind
colors: {
  custom: {
    50: '#845faf',
    500: '#4b1e8d',
    950: '#000000',
  },
}
SCSS
$custom: #4b1e8d;
$custom-light: #845faf;
$custom-dark: #000000;
JSON
{
  "hex": "#4b1e8d",
  "rgb": {
    "r": 75,
    "g": 30,
    "b": 141
  },
  "hsl": {
    "h": 264.324,
    "s": 64.912,
    "l": 33.529
  },
  "oklch": {
    "l": 0.37196,
    "c": 0.16838,
    "h": 295.3
  },
  "luminance": 0.04347
}

Semantic roles & 50–950 ramp

primary
#4B1E8D
secondary
#8EBC4B
accent
#E840A4
background
#F8F5FA
surface
#F0EAF5
border
#CBC6CF
text
#0C0510
muted
#7D797F

Preview Lab

Preview with #4B1E8D

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

Preview Lab → · Contrast checker → · Palette generator →

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