#4B1980#4B1980

#4B1980 is a dark, vivid violet. Relative luminance 0.037; OKLCH L 35.5% C 0.159 H 300.1°. Best body text is #FFFFFF at 12.00:1 contrast (WCAG AA passes).

Color values

HEX#4B1980
RGBrgb(75, 25, 128)
HSLhsl(269, 67%, 30%)
HSVhsv(269, 80%, 50%)
CMYKcmyk(41.4%, 80.5%, 0%, 49.8%)
CIE-LABlab(22.83, 43.66, -48.18)
CIE-LCHlch(22.83, 65.02, 312.19°)
OKLaboklab(35.46% 0.08 -0.1377)
OKLCHoklch(35.46% 0.159 300.1)
XYZxyz(7.1446, 3.7496, 20.7652)
Luminance0.0375 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4B1980 #4E8019
analogous
#191B80 #4B1980 #7E1980
triadic
#4B1980 #804B19 #19804B
tetradic
#4B1980 #80191B #4E8019 #19807E
square
#4B1980 #80191B #4E8019 #19807E
split-complementary
#4B1980 #807E19 #1B8019
monochromatic
#0F051A #2D0F4D #4B1980 #6923B3 #873BD9

Accessibility & contrast

On white

12.00
#4B1980 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.75
#4B1980 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4B1980
12.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4B1980#FFFFFF#000000##FFFFFF
##4B19801.0012.001.7512.00
#FFFFFF12.001.0021.001.00
#0000001.7521.001.0021.00
##FFFFFF12.001.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #4b1980;
/* rgb */ color: rgb(75, 25, 128);
/* oklch */ color: oklch(35.5% 0.159 300.1);
Tailwind
colors: {
  custom: {
    50: '#835ca6',
    500: '#4b1980',
    950: '#000000',
  },
}
SCSS
$custom: #4b1980;
$custom-light: #835ca6;
$custom-dark: #000000;
JSON
{
  "hex": "#4b1980",
  "rgb": {
    "r": 75,
    "g": 25,
    "b": 128
  },
  "hsl": {
    "h": 269.126,
    "s": 67.32,
    "l": 30
  },
  "oklch": {
    "l": 0.35457,
    "c": 0.15926,
    "h": 300.1
  },
  "luminance": 0.0375
}

Semantic roles & 50–950 ramp

primary
#4B1980
secondary
#7CB441
accent
#EA3E96
background
#F8F5FA
surface
#EFE9F4
border
#CAC5CE
text
#0B040F
muted
#7C797F

Preview Lab

Preview with #4B1980

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

Preview Lab → · Contrast checker → · Palette generator →

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