#4B1081#4B1081

#4B1081 is a dark, vivid violet. Relative luminance 0.035; OKLCH L 34.8% C 0.168 H 300.8°. Best body text is #FFFFFF at 12.42:1 contrast (WCAG AA passes).

Color values

HEX#4B1081
RGBrgb(75, 16, 129)
HSLhsl(271, 78%, 28%)
HSVhsv(271, 88%, 51%)
CMYKcmyk(41.9%, 87.6%, 0%, 49.4%)
CIE-LABlab(21.77, 47.27, -50.55)
CIE-LCHlch(21.77, 69.21, 313.08°)
OKLaboklab(34.75% 0.0864 -0.1446)
OKLCHoklch(34.75% 0.168 300.8)
XYZxyz(7.0484, 3.4514, 21.0595)
Luminance0.0345 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4B1081 #468110
analogous
#121081 #4B1081 #81107E
triadic
#4B1081 #814B10 #10814B
tetradic
#4B1081 #811210 #468110 #107E81
square
#4B1081 #811210 #468110 #107E81
split-complementary
#4B1081 #7E8110 #108112
monochromatic
#10031B #2B094B #4B1081 #6B17B7 #8A27E4

Accessibility & contrast

On white

12.42
#4B1081 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.69
#4B1081 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4B1081
12.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4B1081#FFFFFF#000000##FFFFFF
##4B10811.0012.421.6912.42
#FFFFFF12.421.0021.001.00
#0000001.6921.001.0021.00
##FFFFFF12.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003484
Deuteranopia (green-blind)
#00337F
Tritanopia (blue-blind)
#3E324B
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #4b1081;
/* rgb */ color: rgb(75, 16, 129);
/* oklch */ color: oklch(34.8% 0.168 300.8);
Tailwind
colors: {
  custom: {
    50: '#8458a7',
    500: '#4b1081',
    950: '#000000',
  },
}
SCSS
$custom: #4b1081;
$custom-light: #8458a7;
$custom-dark: #000000;
JSON
{
  "hex": "#4b1081",
  "rgb": {
    "r": 75,
    "g": 16,
    "b": 129
  },
  "hsl": {
    "h": 271.327,
    "s": 77.931,
    "l": 28.431
  },
  "oklch": {
    "l": 0.34752,
    "c": 0.16842,
    "h": 300.8
  },
  "luminance": 0.03451
}

Semantic roles & 50–950 ramp

primary
#4B1081
secondary
#74B736
accent
#F43390
background
#F8F5FA
surface
#F0E9F4
border
#CBC5CE
text
#0C040F
muted
#7D797F

Preview Lab

Preview with #4B1081

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

Preview Lab → · Contrast checker → · Palette generator →

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