#4B1666#4B1666

#4B1666 is a dark, vivid violet. Relative luminance 0.030; OKLCH L 32.9% C 0.135 H 311.4°. Best body text is #FFFFFF at 13.08:1 contrast (WCAG AA passes).

Color values

HEX#4B1666
RGBrgb(75, 22, 102)
HSLhsl(280, 65%, 24%)
HSVhsv(280, 78%, 40%)
CMYKcmyk(26.5%, 78.4%, 0%, 60%)
CIE-LABlab(20.16, 38.54, -35.78)
CIE-LCHlch(20.16, 52.59, 317.13°)
OKLaboklab(32.89% 0.0891 -0.1013)
OKLCHoklch(32.89% 0.135 311.4)
XYZxyz(5.5864, 3.0291, 12.8582)
Luminance0.0303 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4B1666 #316616
analogous
#231666 #4B1666 #661659
triadic
#4B1666 #664B16 #16664B
tetradic
#4B1666 #662316 #316616 #165966
square
#4B1666 #662316 #316616 #165966
split-complementary
#4B1666 #596616 #166623
monochromatic
#130519 #260B34 #4B1666 #702198 #952CCB

Accessibility & contrast

On white

13.08
#4B1666 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.61
#4B1666 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4B1666
13.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4B1666#FFFFFF#000000##FFFFFF
##4B16661.0013.081.6113.08
#FFFFFF13.081.0021.001.00
#0000001.6121.001.0021.00
##FFFFFF13.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002E68
Deuteranopia (green-blind)
#083264
Tritanopia (blue-blind)
#48283D
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #4b1666;
/* rgb */ color: rgb(75, 22, 102);
/* oklch */ color: oklch(32.9% 0.135 311.4);
Tailwind
colors: {
  custom: {
    50: '#815992',
    500: '#4b1666',
    950: '#000000',
  },
}
SCSS
$custom: #4b1666;
$custom-light: #815992;
$custom-dark: #000000;
JSON
{
  "hex": "#4b1666",
  "rgb": {
    "r": 75,
    "g": 22,
    "b": 102
  },
  "hsl": {
    "h": 279.75,
    "s": 64.516,
    "l": 24.314
  },
  "oklch": {
    "l": 0.32893,
    "c": 0.1349,
    "h": 311.4
  },
  "luminance": 0.03029
}

Semantic roles & 50–950 ramp

primary
#4B1666
secondary
#5C9D3B
accent
#E84079
background
#F8F5F9
surface
#EFE9F1
border
#CAC5CB
text
#0B040D
muted
#7C797E

Preview Lab

Preview with #4B1666

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

Preview Lab → · Contrast checker → · Palette generator →

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