#4B1D95#4B1D95

#4B1D95 is a dark, vivid violet. Relative luminance 0.045; OKLCH L 37.9% C 0.178 H 293.2°. Best body text is #FFFFFF at 11.00:1 contrast (WCAG AA passes).

Color values

HEX#4B1D95
RGBrgb(75, 29, 149)
HSLhsl(263, 67%, 35%)
HSVhsv(263, 81%, 58%)
CMYKcmyk(49.7%, 80.5%, 0%, 41.6%)
CIE-LABlab(25.39, 47.46, -57.08)
CIE-LCHlch(25.39, 74.23, 309.75°)
OKLaboklab(37.85% 0.0702 -0.1638)
OKLCHoklch(37.85% 0.178 293.2)
XYZxyz(8.7643, 4.5442, 28.8433)
Luminance0.0454 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4B1D95 #67951D
analogous
#1D2B95 #4B1D95 #871D95
triadic
#4B1D95 #954B1D #1D954B
tetradic
#4B1D95 #951D2B #67951D #1D9587
square
#4B1D95 #951D2B #67951D #1D9587
split-complementary
#4B1D95 #95871D #2B951D
monochromatic
#17092F #311362 #4B1D95 #6527C8 #8650DD

Accessibility & contrast

On white

11.00
#4B1D95 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4B1D95
11.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4B1D95#FFFFFF#000000##FFFFFF
##4B1D951.0011.001.9111.00
#FFFFFF11.001.0021.001.00
#0000001.9121.001.0021.00
##FFFFFF11.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003E98
Deuteranopia (green-blind)
#003A93
Tritanopia (blue-blind)
#333F59
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #4b1d95;
/* rgb */ color: rgb(75, 29, 149);
/* oklch */ color: oklch(37.9% 0.178 293.2);
Tailwind
colors: {
  custom: {
    50: '#865fb5',
    500: '#4b1d95',
    950: '#000000',
  },
}
SCSS
$custom: #4b1d95;
$custom-light: #865fb5;
$custom-dark: #000000;
JSON
{
  "hex": "#4b1d95",
  "rgb": {
    "r": 75,
    "g": 29,
    "b": 149
  },
  "hsl": {
    "h": 263,
    "s": 67.416,
    "l": 34.902
  },
  "oklch": {
    "l": 0.37851,
    "c": 0.17826,
    "h": 293.2
  },
  "luminance": 0.04545
}

Semantic roles & 50–950 ramp

primary
#4B1D95
secondary
#94C04E
accent
#EA3DA8
background
#F8F5FB
surface
#F0EAF6
border
#CBC6D0
text
#0C0511
muted
#7D7980

Preview Lab

Preview with #4B1D95

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

Preview Lab → · Contrast checker → · Palette generator →

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