#4B1665#4B1665

#4B1665 is a dark, vivid purple. Relative luminance 0.030; OKLCH L 32.8% C 0.134 H 311.9°. Best body text is #FFFFFF at 13.11:1 contrast (WCAG AA passes).

Color values

HEX#4B1665
RGBrgb(75, 22, 101)
HSLhsl(280, 64%, 24%)
HSVhsv(280, 78%, 40%)
CMYKcmyk(25.7%, 78.2%, 0%, 60.4%)
CIE-LABlab(20.08, 38.30, -35.25)
CIE-LCHlch(20.08, 52.05, 317.38°)
OKLaboklab(32.81% 0.0893 -0.0997)
OKLCHoklch(32.81% 0.134 311.9)
XYZxyz(5.5371, 3.0094, 12.5986)
Luminance0.0301 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4B1665 #306516
analogous
#241665 #4B1665 #651658
triadic
#4B1665 #654B16 #16654B
tetradic
#4B1665 #652416 #306516 #165865
square
#4B1665 #652416 #306516 #165865
split-complementary
#4B1665 #586516 #166524
monochromatic
#130519 #260B33 #4B1665 #702197 #962CCA

Accessibility & contrast

On white

13.11
#4B1665 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.60
#4B1665 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4B1665
13.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4B1665#FFFFFF#000000##FFFFFF
##4B16651.0013.111.6013.11
#FFFFFF13.111.0021.001.00
#0000001.6021.001.0021.00
##FFFFFF13.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002E67
Deuteranopia (green-blind)
#0A3163
Tritanopia (blue-blind)
#48283C
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #4b1665;
/* rgb */ color: rgb(75, 22, 101);
/* oklch */ color: oklch(32.8% 0.134 311.9);
Tailwind
colors: {
  custom: {
    50: '#815991',
    500: '#4b1665',
    950: '#000000',
  },
}
SCSS
$custom: #4b1665;
$custom-light: #815991;
$custom-dark: #000000;
JSON
{
  "hex": "#4b1665",
  "rgb": {
    "r": 75,
    "g": 22,
    "b": 101
  },
  "hsl": {
    "h": 280.253,
    "s": 64.228,
    "l": 24.118
  },
  "oklch": {
    "l": 0.32812,
    "c": 0.13385,
    "h": 311.9
  },
  "luminance": 0.03009
}

Semantic roles & 50–950 ramp

primary
#4B1665
secondary
#5B9C3B
accent
#E74177
background
#F8F5F9
surface
#EFE9F1
border
#CAC5CB
text
#0B040D
muted
#7C797E

Preview Lab

Preview with #4B1665

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

Preview Lab → · Contrast checker → · Palette generator →

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