#4B1E94#4B1E94

#4B1E94 is a dark, vivid violet. Relative luminance 0.046; OKLCH L 37.9% C 0.176 H 293.3°. Best body text is #FFFFFF at 10.98:1 contrast (WCAG AA passes).

Color values

HEX#4B1E94
RGBrgb(75, 30, 148)
HSLhsl(263, 66%, 35%)
HSVhsv(263, 80%, 58%)
CMYKcmyk(49.3%, 79.7%, 0%, 42%)
CIE-LABlab(25.45, 46.76, -56.37)
CIE-LCHlch(25.45, 73.24, 309.68°)
OKLaboklab(37.86% 0.0698 -0.1618)
OKLCHoklch(37.86% 0.176 293.3)
XYZxyz(8.7097, 4.5622, 28.4329)
Luminance0.0456 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4B1E94 #67941E
analogous
#1E2C94 #4B1E94 #861E94
triadic
#4B1E94 #944B1E #1E944B
tetradic
#4B1E94 #941E2C #67941E #1E9486
square
#4B1E94 #941E2C #67941E #1E9486
split-complementary
#4B1E94 #94861E #2C941E
monochromatic
#17092E #311461 #4B1E94 #6528C7 #8651DC

Accessibility & contrast

On white

10.98
#4B1E94 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.91
#4B1E94 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4B1E94
10.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4B1E94#FFFFFF#000000##FFFFFF
##4B1E941.0010.981.9110.98
#FFFFFF10.981.0021.001.00
#0000001.9121.001.0021.00
##FFFFFF10.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003E97
Deuteranopia (green-blind)
#003A92
Tritanopia (blue-blind)
#343F59
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #4b1e94;
/* rgb */ color: rgb(75, 30, 148);
/* oklch */ color: oklch(37.9% 0.176 293.3);
Tailwind
colors: {
  custom: {
    50: '#8560b4',
    500: '#4b1e94',
    950: '#000000',
  },
}
SCSS
$custom: #4b1e94;
$custom-light: #8560b4;
$custom-dark: #000000;
JSON
{
  "hex": "#4b1e94",
  "rgb": {
    "r": 75,
    "g": 30,
    "b": 148
  },
  "hsl": {
    "h": 262.881,
    "s": 66.292,
    "l": 34.902
  },
  "oklch": {
    "l": 0.3786,
    "c": 0.17619,
    "h": 293.3
  },
  "luminance": 0.04563
}

Semantic roles & 50–950 ramp

primary
#4B1E94
secondary
#94BF4F
accent
#E93FA8
background
#F8F5FB
surface
#F0EAF6
border
#CBC6D0
text
#0C0511
muted
#7D7980

Preview Lab

Preview with #4B1E94

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

Preview Lab → · Contrast checker → · Palette generator →

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