#4B1464#4B1464

#4B1464 is a dark, vivid purple. Relative luminance 0.029; OKLCH L 32.5% C 0.135 H 312.6°. Best body text is #FFFFFF at 13.26:1 contrast (WCAG AA passes).

Color values

HEX#4B1464
RGBrgb(75, 20, 100)
HSLhsl(281, 67%, 24%)
HSVhsv(281, 80%, 39%)
CMYKcmyk(25%, 80%, 0%, 60.8%)
CIE-LABlab(19.71, 38.92, -35.20)
CIE-LCHlch(19.71, 52.48, 317.88°)
OKLaboklab(32.52% 0.0916 -0.0995)
OKLCHoklch(32.52% 0.135 312.6)
XYZxyz(5.4516, 2.9164, 12.3299)
Luminance0.0292 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4B1464 #2D6414
analogous
#231464 #4B1464 #641455
triadic
#4B1464 #644B14 #14644B
tetradic
#4B1464 #642314 #2D6414 #145564
square
#4B1464 #642314 #2D6414 #145564
split-complementary
#4B1464 #556414 #146423
monochromatic
#13051A #250A31 #4B1464 #711E97 #9728CA

Accessibility & contrast

On white

13.26
#4B1464 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.58
#4B1464 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4B1464
13.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4B1464#FFFFFF#000000##FFFFFF
##4B14641.0013.261.5813.26
#FFFFFF13.261.0021.001.00
#0000001.5821.001.0021.00
##FFFFFF13.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002D66
Deuteranopia (green-blind)
#093162
Tritanopia (blue-blind)
#48263B
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #4b1464;
/* rgb */ color: rgb(75, 20, 100);
/* oklch */ color: oklch(32.5% 0.135 312.6);
Tailwind
colors: {
  custom: {
    50: '#815891',
    500: '#4b1464',
    950: '#000000',
  },
}
SCSS
$custom: #4b1464;
$custom-light: #815891;
$custom-dark: #000000;
JSON
{
  "hex": "#4b1464",
  "rgb": {
    "r": 75,
    "g": 20,
    "b": 100
  },
  "hsl": {
    "h": 281.25,
    "s": 66.667,
    "l": 23.529
  },
  "oklch": {
    "l": 0.32522,
    "c": 0.13525,
    "h": 312.6
  },
  "luminance": 0.02916
}

Semantic roles & 50–950 ramp

primary
#4B1464
secondary
#579B38
accent
#EA3E74
background
#F8F5F8
surface
#EFE9F0
border
#CAC5CB
text
#0B040D
muted
#7C797D

Preview Lab

Preview with #4B1464

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

Preview Lab → · Contrast checker → · Palette generator →

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