#4B1B8F#4B1B8F

#4B1B8F is a dark, vivid violet. Relative luminance 0.043; OKLCH L 37.1% C 0.174 H 295.1°. Best body text is #FFFFFF at 11.34:1 contrast (WCAG AA passes).

Color values

HEX#4B1B8F
RGBrgb(75, 27, 143)
HSLhsl(265, 68%, 33%)
HSVhsv(265, 81%, 56%)
CMYKcmyk(47.6%, 81.1%, 0%, 43.9%)
CIE-LABlab(24.52, 46.72, -54.80)
CIE-LCHlch(24.52, 72.01, 310.45°)
OKLaboklab(37.07% 0.0737 -0.1572)
OKLCHoklch(37.07% 0.174 295.1)
XYZxyz(8.2502, 4.2627, 26.3694)
Luminance0.0426 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4B1B8F #5F8F1B
analogous
#1B258F #4B1B8F #851B8F
triadic
#4B1B8F #8F4B1B #1B8F4B
tetradic
#4B1B8F #8F1B25 #5F8F1B #1B8F85
square
#4B1B8F #8F1B25 #5F8F1B #1B8F85
split-complementary
#4B1B8F #8F851B #258F1B
monochromatic
#150828 #30115C #4B1B8F #6625C2 #8548DC

Accessibility & contrast

On white

11.34
#4B1B8F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4B1B8F
11.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4B1B8F#FFFFFF#000000##FFFFFF
##4B1B8F1.0011.341.8511.34
#FFFFFF11.341.0021.001.00
#0000001.8521.001.0021.00
##FFFFFF11.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003B92
Deuteranopia (green-blind)
#00388D
Tritanopia (blue-blind)
#373C55
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #4b1b8f;
/* rgb */ color: rgb(75, 27, 143);
/* oklch */ color: oklch(37.1% 0.174 295.1);
Tailwind
colors: {
  custom: {
    50: '#855eb1',
    500: '#4b1b8f',
    950: '#000000',
  },
}
SCSS
$custom: #4b1b8f;
$custom-light: #855eb1;
$custom-dark: #000000;
JSON
{
  "hex": "#4b1b8f",
  "rgb": {
    "r": 75,
    "g": 27,
    "b": 143
  },
  "hsl": {
    "h": 264.828,
    "s": 68.235,
    "l": 33.333
  },
  "oklch": {
    "l": 0.37068,
    "c": 0.17357,
    "h": 295.1
  },
  "luminance": 0.04263
}

Semantic roles & 50–950 ramp

primary
#4B1B8F
secondary
#8DBE48
accent
#EB3DA3
background
#F8F5FB
surface
#F0E9F6
border
#CBC5D0
text
#0C0511
muted
#7D7980

Preview Lab

Preview with #4B1B8F

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

Preview Lab → · Contrast checker → · Palette generator →

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