#4B1B8E#4B1B8E

#4B1B8E is a dark, vivid violet. Relative luminance 0.042; OKLCH L 37.0% C 0.172 H 295.4°. Best body text is #FFFFFF at 11.37:1 contrast (WCAG AA passes).

Color values

HEX#4B1B8E
RGBrgb(75, 27, 142)
HSLhsl(265, 68%, 33%)
HSVhsv(265, 81%, 56%)
CMYKcmyk(47.2%, 81%, 0%, 44.3%)
CIE-LABlab(24.43, 46.46, -54.34)
CIE-LCHlch(24.43, 71.49, 310.53°)
OKLaboklab(36.97% 0.074 -0.1558)
OKLCHoklch(36.97% 0.172 295.4)
XYZxyz(8.1747, 4.2325, 25.9722)
Luminance0.0423 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4B1B8E #5E8E1B
analogous
#1B258E #4B1B8E #841B8E
triadic
#4B1B8E #8E4B1B #1B8E4B
tetradic
#4B1B8E #8E1B25 #5E8E1B #1B8E84
square
#4B1B8E #8E1B25 #5E8E1B #1B8E84
split-complementary
#4B1B8E #8E841B #258E1B
monochromatic
#150727 #30115B #4B1B8E #6625C1 #8547DC

Accessibility & contrast

On white

11.37
#4B1B8E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.85
#4B1B8E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4B1B8E
11.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4B1B8E#FFFFFF#000000##FFFFFF
##4B1B8E1.0011.371.8511.37
#FFFFFF11.371.0021.001.00
#0000001.8521.001.0021.00
##FFFFFF11.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003B91
Deuteranopia (green-blind)
#00388C
Tritanopia (blue-blind)
#383C55
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #4b1b8e;
/* rgb */ color: rgb(75, 27, 142);
/* oklch */ color: oklch(37.0% 0.172 295.4);
Tailwind
colors: {
  custom: {
    50: '#855eb0',
    500: '#4b1b8e',
    950: '#000000',
  },
}
SCSS
$custom: #4b1b8e;
$custom-light: #855eb0;
$custom-dark: #000000;
JSON
{
  "hex": "#4b1b8e",
  "rgb": {
    "r": 75,
    "g": 27,
    "b": 142
  },
  "hsl": {
    "h": 265.043,
    "s": 68.047,
    "l": 33.137
  },
  "oklch": {
    "l": 0.36972,
    "c": 0.17248,
    "h": 295.4
  },
  "luminance": 0.04233
}

Semantic roles & 50–950 ramp

primary
#4B1B8E
secondary
#8CBE47
accent
#EB3DA2
background
#F8F5FB
surface
#F0E9F6
border
#CBC5D0
text
#0C0511
muted
#7D7980

Preview Lab

Preview with #4B1B8E

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

Preview Lab → · Contrast checker → · Palette generator →

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