#4B1C80#4B1C80

#4B1C80 is a dark, vivid violet. Relative luminance 0.039; OKLCH L 35.8% C 0.156 H 299.7°. Best body text is #FFFFFF at 11.82:1 contrast (WCAG AA passes).

Color values

HEX#4B1C80
RGBrgb(75, 28, 128)
HSLhsl(268, 64%, 31%)
HSVhsv(268, 78%, 50%)
CMYKcmyk(41.4%, 78.1%, 0%, 49.8%)
CIE-LABlab(23.29, 42.34, -47.43)
CIE-LCHlch(23.29, 63.58, 311.76°)
OKLaboklab(35.78% 0.0773 -0.1355)
OKLCHoklch(35.78% 0.156 299.7)
XYZxyz(7.2122, 3.8848, 20.7878)
Luminance0.0389 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4B1C80 #51801C
analogous
#1C1F80 #4B1C80 #7D1C80
triadic
#4B1C80 #804B1C #1C804B
tetradic
#4B1C80 #801C1F #51801C #1C807D
square
#4B1C80 #801C1F #51801C #1C807D
split-complementary
#4B1C80 #807D1C #1F801C
monochromatic
#10061C #2E114E #4B1C80 #6827B2 #8741D5

Accessibility & contrast

On white

11.82
#4B1C80 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.78
#4B1C80 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4B1C80
11.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4B1C80#FFFFFF#000000##FFFFFF
##4B1C801.0011.821.7811.82
#FFFFFF11.821.0021.001.00
#0000001.7821.001.0021.00
##FFFFFF11.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003783
Deuteranopia (green-blind)
#00377E
Tritanopia (blue-blind)
#3E364D
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #4b1c80;
/* rgb */ color: rgb(75, 28, 128);
/* oklch */ color: oklch(35.8% 0.156 299.7);
Tailwind
colors: {
  custom: {
    50: '#835ea6',
    500: '#4b1c80',
    950: '#000000',
  },
}
SCSS
$custom: #4b1c80;
$custom-light: #835ea6;
$custom-dark: #000000;
JSON
{
  "hex": "#4b1c80",
  "rgb": {
    "r": 75,
    "g": 28,
    "b": 128
  },
  "hsl": {
    "h": 268.2,
    "s": 64.103,
    "l": 30.588
  },
  "oklch": {
    "l": 0.3578,
    "c": 0.15602,
    "h": 299.7
  },
  "luminance": 0.03885
}

Semantic roles & 50–950 ramp

primary
#4B1C80
secondary
#7FB344
accent
#E74199
background
#F8F5FA
surface
#EFE9F4
border
#CAC5CE
text
#0B050F
muted
#7C797F

Preview Lab

Preview with #4B1C80

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

Preview Lab → · Contrast checker → · Palette generator →

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