#4B1066#4B1066

#4B1066 is a dark, vivid purple. Relative luminance 0.028; OKLCH L 32.3% C 0.142 H 312.1°. Best body text is #FFFFFF at 13.42:1 contrast (WCAG AA passes).

Color values

HEX#4B1066
RGBrgb(75, 16, 102)
HSLhsl(281, 73%, 23%)
HSVhsv(281, 84%, 40%)
CMYKcmyk(26.5%, 84.3%, 0%, 60%)
CIE-LABlab(19.33, 40.92, -37.12)
CIE-LCHlch(19.33, 55.25, 317.79°)
OKLaboklab(32.31% 0.0949 -0.1051)
OKLCHoklch(32.31% 0.142 312.1)
XYZxyz(5.4848, 2.8259, 12.8243)
Luminance0.0283 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4B1066 #2B6610
analogous
#201066 #4B1066 #661056
triadic
#4B1066 #664B10 #10664B
tetradic
#4B1066 #662010 #2B6610 #105666
square
#4B1066 #662010 #2B6610 #105666
split-complementary
#4B1066 #566610 #106620
monochromatic
#13041A #240831 #4B1066 #72189B #9921D0

Accessibility & contrast

On white

13.42
#4B1066 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.57
#4B1066 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4B1066
13.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4B1066#FFFFFF#000000##FFFFFF
##4B10661.0013.421.5713.42
#FFFFFF13.421.0021.001.00
#0000001.5721.001.0021.00
##FFFFFF13.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002C68
Deuteranopia (green-blind)
#003064
Tritanopia (blue-blind)
#48253B
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #4b1066;
/* rgb */ color: rgb(75, 16, 102);
/* oklch */ color: oklch(32.3% 0.142 312.1);
Tailwind
colors: {
  custom: {
    50: '#815792',
    500: '#4b1066',
    950: '#000000',
  },
}
SCSS
$custom: #4b1066;
$custom-light: #815792;
$custom-dark: #000000;
JSON
{
  "hex": "#4b1066",
  "rgb": {
    "r": 75,
    "g": 16,
    "b": 102
  },
  "hsl": {
    "h": 281.163,
    "s": 72.881,
    "l": 23.137
  },
  "oklch": {
    "l": 0.3231,
    "c": 0.14163,
    "h": 312.1
  },
  "luminance": 0.02826
}

Semantic roles & 50–950 ramp

primary
#4B1066
secondary
#559E33
accent
#F03872
background
#F8F5F9
surface
#EFE9F1
border
#CAC5CB
text
#0B030D
muted
#7C787E

Preview Lab

Preview with #4B1066

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

Preview Lab → · Contrast checker → · Palette generator →

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