#4B1D94#4B1D94

#4B1D94 is a dark, vivid violet. Relative luminance 0.045; OKLCH L 37.8% C 0.177 H 293.5°. Best body text is #FFFFFF at 11.04:1 contrast (WCAG AA passes).

Color values

HEX#4B1D94
RGBrgb(75, 29, 148)
HSLhsl(263, 67%, 35%)
HSVhsv(263, 80%, 58%)
CMYKcmyk(49.3%, 80.4%, 0%, 42%)
CIE-LABlab(25.30, 47.20, -56.62)
CIE-LCHlch(25.30, 73.71, 309.81°)
OKLaboklab(37.75% 0.0705 -0.1625)
OKLCHoklch(37.75% 0.177 293.5)
XYZxyz(8.6848, 4.5124, 28.4246)
Luminance0.0451 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4B1D94 #66941D
analogous
#1D2B94 #4B1D94 #871D94
triadic
#4B1D94 #944B1D #1D944B
tetradic
#4B1D94 #941D2B #66941D #1D9487
square
#4B1D94 #941D2B #66941D #1D9487
split-complementary
#4B1D94 #94871D #2B941D
monochromatic
#17092E #311361 #4B1D94 #6527C7 #864FDC

Accessibility & contrast

On white

11.04
#4B1D94 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.90
#4B1D94 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4B1D94
11.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4B1D94#FFFFFF#000000##FFFFFF
##4B1D941.0011.041.9011.04
#FFFFFF11.041.0021.001.00
#0000001.9021.001.0021.00
##FFFFFF11.041.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #4b1d94;
/* rgb */ color: rgb(75, 29, 148);
/* oklch */ color: oklch(37.8% 0.177 293.5);
Tailwind
colors: {
  custom: {
    50: '#855fb4',
    500: '#4b1d94',
    950: '#000000',
  },
}
SCSS
$custom: #4b1d94;
$custom-light: #855fb4;
$custom-dark: #000000;
JSON
{
  "hex": "#4b1d94",
  "rgb": {
    "r": 75,
    "g": 29,
    "b": 148
  },
  "hsl": {
    "h": 263.193,
    "s": 67.232,
    "l": 34.706
  },
  "oklch": {
    "l": 0.37754,
    "c": 0.17716,
    "h": 293.5
  },
  "luminance": 0.04513
}

Semantic roles & 50–950 ramp

primary
#4B1D94
secondary
#93BF4E
accent
#EA3EA7
background
#F8F5FB
surface
#F0EAF6
border
#CBC6D0
text
#0C0511
muted
#7D7980

Preview Lab

Preview with #4B1D94

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

Preview Lab → · Contrast checker → · Palette generator →

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