#4B1C8E#4B1C8E

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

Color values

HEX#4B1C8E
RGBrgb(75, 28, 142)
HSLhsl(265, 67%, 33%)
HSVhsv(265, 80%, 56%)
CMYKcmyk(47.2%, 80.3%, 0%, 44.3%)
CIE-LABlab(24.57, 46.03, -54.09)
CIE-LCHlch(24.57, 71.03, 310.40°)
OKLaboklab(37.08% 0.0732 -0.1551)
OKLCHoklch(37.08% 0.172 295.3)
XYZxyz(8.1981, 4.2791, 25.9800)
Luminance0.0428 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4B1C8E #5F8E1C
analogous
#1C268E #4B1C8E #841C8E
triadic
#4B1C8E #8E4B1C #1C8E4B
tetradic
#4B1C8E #8E1C26 #5F8E1C #1C8E84
square
#4B1C8E #8E1C26 #5F8E1C #1C8E84
split-complementary
#4B1C8E #8E841C #268E1C
monochromatic
#150828 #30125B #4B1C8E #6626C1 #8549DB

Accessibility & contrast

On white

11.32
#4B1C8E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.86
#4B1C8E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4B1C8E
11.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4B1C8E#FFFFFF#000000##FFFFFF
##4B1C8E1.0011.321.8611.32
#FFFFFF11.321.0021.001.00
#0000001.8621.001.0021.00
##FFFFFF11.321.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #4b1c8e;
/* rgb */ color: rgb(75, 28, 142);
/* oklch */ color: oklch(37.1% 0.172 295.3);
Tailwind
colors: {
  custom: {
    50: '#855eb0',
    500: '#4b1c8e',
    950: '#000000',
  },
}
SCSS
$custom: #4b1c8e;
$custom-light: #855eb0;
$custom-dark: #000000;
JSON
{
  "hex": "#4b1c8e",
  "rgb": {
    "r": 75,
    "g": 28,
    "b": 142
  },
  "hsl": {
    "h": 264.737,
    "s": 67.059,
    "l": 33.333
  },
  "oklch": {
    "l": 0.37075,
    "c": 0.17151,
    "h": 295.3
  },
  "luminance": 0.04279
}

Semantic roles & 50–950 ramp

primary
#4B1C8E
secondary
#8DBD49
accent
#EA3EA3
background
#F8F5FB
surface
#F0E9F6
border
#CBC5D0
text
#0C0511
muted
#7D7980

Preview Lab

Preview with #4B1C8E

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

Preview Lab → · Contrast checker → · Palette generator →

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