#4B1380#4B1380

#4B1380 is a dark, vivid violet. Relative luminance 0.035; OKLCH L 34.9% C 0.165 H 300.9°. Best body text is #FFFFFF at 12.32:1 contrast (WCAG AA passes).

Color values

HEX#4B1380
RGBrgb(75, 19, 128)
HSLhsl(271, 74%, 29%)
HSVhsv(271, 85%, 50%)
CMYKcmyk(41.4%, 85.2%, 0%, 49.8%)
CIE-LABlab(22.02, 46.01, -49.50)
CIE-LCHlch(22.02, 67.59, 312.91°)
OKLaboklab(34.89% 0.0847 -0.1416)
OKLCHoklch(34.89% 0.165 300.9)
XYZxyz(7.0298, 3.5201, 20.7270)
Luminance0.0352 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4B1380 #488013
analogous
#151380 #4B1380 #80137F
triadic
#4B1380 #804B13 #13804B
tetradic
#4B1380 #801513 #488013 #137F80
square
#4B1380 #801513 #488013 #137F80
split-complementary
#4B1380 #7F8013 #138015
monochromatic
#10041B #2C0B4B #4B1380 #6A1BB5 #892DE0

Accessibility & contrast

On white

12.32
#4B1380 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.70
#4B1380 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4B1380
12.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4B1380#FFFFFF#000000##FFFFFF
##4B13801.0012.321.7012.32
#FFFFFF12.321.0021.001.00
#0000001.7021.001.0021.00
##FFFFFF12.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003483
Deuteranopia (green-blind)
#00347E
Tritanopia (blue-blind)
#3F324B
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #4b1380;
/* rgb */ color: rgb(75, 19, 128);
/* oklch */ color: oklch(34.9% 0.165 300.9);
Tailwind
colors: {
  custom: {
    50: '#835aa6',
    500: '#4b1380',
    950: '#000000',
  },
}
SCSS
$custom: #4b1380;
$custom-light: #835aa6;
$custom-dark: #000000;
JSON
{
  "hex": "#4b1380",
  "rgb": {
    "r": 75,
    "g": 19,
    "b": 128
  },
  "hsl": {
    "h": 270.826,
    "s": 74.15,
    "l": 28.824
  },
  "oklch": {
    "l": 0.34895,
    "c": 0.16496,
    "h": 300.9
  },
  "luminance": 0.0352
}

Semantic roles & 50–950 ramp

primary
#4B1380
secondary
#76B539
accent
#F13791
background
#F8F5FA
surface
#F0E9F4
border
#CBC5CE
text
#0B040F
muted
#7C797F

Preview Lab

Preview with #4B1380

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

Preview Lab → · Contrast checker → · Palette generator →

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