#4B1A80#4B1A80

#4B1A80 is a dark, vivid violet. Relative luminance 0.038; OKLCH L 35.6% C 0.158 H 300.0°. Best body text is #FFFFFF at 11.94:1 contrast (WCAG AA passes).

Color values

HEX#4B1A80
RGBrgb(75, 26, 128)
HSLhsl(269, 66%, 30%)
HSVhsv(269, 80%, 50%)
CMYKcmyk(41.4%, 79.7%, 0%, 49.8%)
CIE-LABlab(22.98, 43.23, -47.94)
CIE-LCHlch(22.98, 64.55, 312.05°)
OKLaboklab(35.56% 0.0791 -0.137)
OKLCHoklch(35.56% 0.158 300)
XYZxyz(7.1663, 3.7931, 20.7725)
Luminance0.0379 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4B1A80 #4F801A
analogous
#1A1C80 #4B1A80 #7E1A80
triadic
#4B1A80 #804B1A #1A804B
tetradic
#4B1A80 #801A1C #4F801A #1A807E
square
#4B1A80 #801A1C #4F801A #1A807E
split-complementary
#4B1A80 #807E1A #1C801A
monochromatic
#0F051A #2D104D #4B1A80 #6924B3 #873DD8

Accessibility & contrast

On white

11.94
#4B1A80 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.76
#4B1A80 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4B1A80
11.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4B1A80#FFFFFF#000000##FFFFFF
##4B1A801.0011.941.7611.94
#FFFFFF11.941.0021.001.00
#0000001.7621.001.0021.00
##FFFFFF11.941.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #4b1a80;
/* rgb */ color: rgb(75, 26, 128);
/* oklch */ color: oklch(35.6% 0.158 300.0);
Tailwind
colors: {
  custom: {
    50: '#835da6',
    500: '#4b1a80',
    950: '#000000',
  },
}
SCSS
$custom: #4b1a80;
$custom-light: #835da6;
$custom-dark: #000000;
JSON
{
  "hex": "#4b1a80",
  "rgb": {
    "r": 75,
    "g": 26,
    "b": 128
  },
  "hsl": {
    "h": 268.824,
    "s": 66.234,
    "l": 30.196
  },
  "oklch": {
    "l": 0.35561,
    "c": 0.15821,
    "h": 300
  },
  "luminance": 0.03793
}

Semantic roles & 50–950 ramp

primary
#4B1A80
secondary
#7DB442
accent
#E93F97
background
#F8F5FA
surface
#EFE9F4
border
#CAC5CE
text
#0B040F
muted
#7C797F

Preview Lab

Preview with #4B1A80

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

Preview Lab → · Contrast checker → · Palette generator →

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