#4B1C8F#4B1C8F

#4B1C8F is a dark, vivid violet. Relative luminance 0.043; OKLCH L 37.2% C 0.173 H 295.0°. Best body text is #FFFFFF at 11.28:1 contrast (WCAG AA passes).

Color values

HEX#4B1C8F
RGBrgb(75, 28, 143)
HSLhsl(265, 67%, 34%)
HSVhsv(265, 80%, 56%)
CMYKcmyk(47.6%, 80.4%, 0%, 43.9%)
CIE-LABlab(24.67, 46.30, -54.56)
CIE-LCHlch(24.67, 71.55, 310.32°)
OKLaboklab(37.17% 0.0729 -0.1565)
OKLCHoklch(37.17% 0.173 295)
XYZxyz(8.2735, 4.3093, 26.3771)
Luminance0.0431 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4B1C8F #608F1C
analogous
#1C268F #4B1C8F #841C8F
triadic
#4B1C8F #8F4B1C #1C8F4B
tetradic
#4B1C8F #8F1C26 #608F1C #1C8F84
square
#4B1C8F #8F1C26 #608F1C #1C8F84
split-complementary
#4B1C8F #8F841C #268F1C
monochromatic
#150829 #30125C #4B1C8F #6626C2 #854ADC

Accessibility & contrast

On white

11.28
#4B1C8F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4B1C8F
11.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4B1C8F#FFFFFF#000000##FFFFFF
##4B1C8F1.0011.281.8611.28
#FFFFFF11.281.0021.001.00
#0000001.8621.001.0021.00
##FFFFFF11.281.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #4b1c8f;
/* rgb */ color: rgb(75, 28, 143);
/* oklch */ color: oklch(37.2% 0.173 295.0);
Tailwind
colors: {
  custom: {
    50: '#855eb1',
    500: '#4b1c8f',
    950: '#000000',
  },
}
SCSS
$custom: #4b1c8f;
$custom-light: #855eb1;
$custom-dark: #000000;
JSON
{
  "hex": "#4b1c8f",
  "rgb": {
    "r": 75,
    "g": 28,
    "b": 143
  },
  "hsl": {
    "h": 264.522,
    "s": 67.251,
    "l": 33.529
  },
  "oklch": {
    "l": 0.3717,
    "c": 0.17261,
    "h": 295
  },
  "luminance": 0.0431
}

Semantic roles & 50–950 ramp

primary
#4B1C8F
secondary
#8EBE49
accent
#EA3EA4
background
#F8F5FB
surface
#F0E9F6
border
#CBC5D0
text
#0C0511
muted
#7D7980

Preview Lab

Preview with #4B1C8F

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

Preview Lab → · Contrast checker → · Palette generator →

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