#4B1C86#4B1C86

#4B1C86 is a dark, vivid violet. Relative luminance 0.040; OKLCH L 36.3% C 0.163 H 297.7°. Best body text is #FFFFFF at 11.60:1 contrast (WCAG AA passes).

Color values

HEX#4B1C86
RGBrgb(75, 28, 134)
HSLhsl(267, 65%, 32%)
HSVhsv(267, 79%, 53%)
CMYKcmyk(44%, 79.1%, 0%, 47.5%)
CIE-LABlab(23.83, 43.91, -50.32)
CIE-LCHlch(23.83, 66.79, 311.11°)
OKLaboklab(36.33% 0.0756 -0.144)
OKLCHoklch(36.33% 0.163 297.7)
XYZxyz(7.6189, 4.0475, 22.9295)
Luminance0.0405 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4B1C86 #57861C
analogous
#1C2286 #4B1C86 #801C86
triadic
#4B1C86 #864B1C #1C864B
tetradic
#4B1C86 #861C22 #57861C #1C8680
square
#4B1C86 #861C22 #57861C #1C8680
split-complementary
#4B1C86 #86801C #22861C
monochromatic
#120721 #2F1153 #4B1C86 #6727B9 #8644D8

Accessibility & contrast

On white

11.60
#4B1C86 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.81
#4B1C86 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4B1C86
11.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4B1C86#FFFFFF#000000##FFFFFF
##4B1C861.0011.601.8111.60
#FFFFFF11.601.0021.001.00
#0000001.8121.001.0021.00
##FFFFFF11.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003989
Deuteranopia (green-blind)
#003784
Tritanopia (blue-blind)
#3C3950
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #4b1c86;
/* rgb */ color: rgb(75, 28, 134);
/* oklch */ color: oklch(36.3% 0.163 297.7);
Tailwind
colors: {
  custom: {
    50: '#845eaa',
    500: '#4b1c86',
    950: '#000000',
  },
}
SCSS
$custom: #4b1c86;
$custom-light: #845eaa;
$custom-dark: #000000;
JSON
{
  "hex": "#4b1c86",
  "rgb": {
    "r": 75,
    "g": 28,
    "b": 134
  },
  "hsl": {
    "h": 266.604,
    "s": 65.432,
    "l": 31.765
  },
  "oklch": {
    "l": 0.36326,
    "c": 0.16267,
    "h": 297.7
  },
  "luminance": 0.04048
}

Semantic roles & 50–950 ramp

primary
#4B1C86
secondary
#85B945
accent
#E83F9D
background
#F8F5FA
surface
#F0E9F4
border
#CBC5CE
text
#0B0510
muted
#7C797F

Preview Lab

Preview with #4B1C86

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

Preview Lab → · Contrast checker → · Palette generator →

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