#4B1D8F#4B1D8F

#4B1D8F is a dark, vivid violet. Relative luminance 0.044; OKLCH L 37.3% C 0.172 H 294.8°. Best body text is #FFFFFF at 11.22:1 contrast (WCAG AA passes).

Color values

HEX#4B1D8F
RGBrgb(75, 29, 143)
HSLhsl(264, 66%, 34%)
HSVhsv(264, 80%, 56%)
CMYKcmyk(47.6%, 79.7%, 0%, 43.9%)
CIE-LABlab(24.82, 45.86, -54.31)
CIE-LCHlch(24.82, 71.08, 310.18°)
OKLaboklab(37.28% 0.0721 -0.1557)
OKLCHoklch(37.28% 0.172 294.8)
XYZxyz(8.2976, 4.3575, 26.3852)
Luminance0.0436 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4B1D8F #618F1D
analogous
#1D288F #4B1D8F #841D8F
triadic
#4B1D8F #8F4B1D #1D8F4B
tetradic
#4B1D8F #8F1D28 #618F1D #1D8F84
square
#4B1D8F #8F1D28 #618F1D #1D8F84
split-complementary
#4B1D8F #8F841D #288F1D
monochromatic
#160829 #30135C #4B1D8F #6627C2 #854CDB

Accessibility & contrast

On white

11.22
#4B1D8F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4B1D8F
11.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4B1D8F#FFFFFF#000000##FFFFFF
##4B1D8F1.0011.221.8711.22
#FFFFFF11.221.0021.001.00
#0000001.8721.001.0021.00
##FFFFFF11.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003C92
Deuteranopia (green-blind)
#00398D
Tritanopia (blue-blind)
#373D56
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #4b1d8f;
/* rgb */ color: rgb(75, 29, 143);
/* oklch */ color: oklch(37.3% 0.172 294.8);
Tailwind
colors: {
  custom: {
    50: '#855fb1',
    500: '#4b1d8f',
    950: '#000000',
  },
}
SCSS
$custom: #4b1d8f;
$custom-light: #855fb1;
$custom-dark: #000000;
JSON
{
  "hex": "#4b1d8f",
  "rgb": {
    "r": 75,
    "g": 29,
    "b": 143
  },
  "hsl": {
    "h": 264.211,
    "s": 66.279,
    "l": 33.725
  },
  "oklch": {
    "l": 0.37276,
    "c": 0.17162,
    "h": 294.8
  },
  "luminance": 0.04358
}

Semantic roles & 50–950 ramp

primary
#4B1D8F
secondary
#8FBD4B
accent
#E93FA4
background
#F8F5FB
surface
#F0EAF6
border
#CBC6D0
text
#0C0511
muted
#7D7980

Preview Lab

Preview with #4B1D8F

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

Preview Lab → · Contrast checker → · Palette generator →

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