#4B1B7D#4B1B7D

#4B1B7D is a dark, vivid violet. Relative luminance 0.038; OKLCH L 35.4% C 0.154 H 300.9°. Best body text is #FFFFFF at 11.99:1 contrast (WCAG AA passes).

Color values

HEX#4B1B7D
RGBrgb(75, 27, 125)
HSLhsl(269, 64%, 30%)
HSVhsv(269, 78%, 49%)
CMYKcmyk(40%, 78.4%, 0%, 51%)
CIE-LABlab(22.86, 42.02, -46.22)
CIE-LCHlch(22.86, 62.46, 312.27°)
OKLaboklab(35.4% 0.079 -0.132)
OKLCHoklch(35.4% 0.154 300.9)
XYZxyz(6.9943, 3.7603, 19.7554)
Luminance0.0376 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4B1B7D #4D7D1B
analogous
#1B1C7D #4B1B7D #7C1B7D
triadic
#4B1B7D #7D4B1B #1B7D4B
tetradic
#4B1B7D #7D1B1C #4D7D1B #1B7D7C
square
#4B1B7D #7D1B1C #4D7D1B #1B7D7C
split-complementary
#4B1B7D #7D7C1B #1C7D1B
monochromatic
#0F0519 #2D104B #4B1B7D #6926AF #883DD5

Accessibility & contrast

On white

11.99
#4B1B7D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.75
#4B1B7D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4B1B7D
11.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4B1B7D#FFFFFF#000000##FFFFFF
##4B1B7D1.0011.991.7511.99
#FFFFFF11.991.0021.001.00
#0000001.7521.001.0021.00
##FFFFFF11.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003680
Deuteranopia (green-blind)
#00367B
Tritanopia (blue-blind)
#40344B
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #4b1b7d;
/* rgb */ color: rgb(75, 27, 125);
/* oklch */ color: oklch(35.4% 0.154 300.9);
Tailwind
colors: {
  custom: {
    50: '#835da3',
    500: '#4b1b7d',
    950: '#000000',
  },
}
SCSS
$custom: #4b1b7d;
$custom-light: #835da3;
$custom-dark: #000000;
JSON
{
  "hex": "#4b1b7d",
  "rgb": {
    "r": 75,
    "g": 27,
    "b": 125
  },
  "hsl": {
    "h": 269.388,
    "s": 64.474,
    "l": 29.804
  },
  "oklch": {
    "l": 0.354,
    "c": 0.15382,
    "h": 300.9
  },
  "luminance": 0.0376
}

Semantic roles & 50–950 ramp

primary
#4B1B7D
secondary
#7BB143
accent
#E74096
background
#F8F5FA
surface
#EFE9F4
border
#CAC5CE
text
#0B040F
muted
#7C797F

Preview Lab

Preview with #4B1B7D

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

Preview Lab → · Contrast checker → · Palette generator →

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