#4B1459#4B1459

#4B1459 is a dark, vivid purple. Relative luminance 0.027; OKLCH L 31.7% C 0.124 H 318.6°. Best body text is #FFFFFF at 13.61:1 contrast (WCAG AA passes).

Color values

HEX#4B1459
RGBrgb(75, 20, 89)
HSLhsl(288, 63%, 21%)
HSVhsv(288, 78%, 35%)
CMYKcmyk(15.7%, 77.5%, 0%, 65.1%)
CIE-LABlab(18.88, 36.45, -29.23)
CIE-LCHlch(18.88, 46.73, 321.27°)
OKLaboklab(31.67% 0.0931 -0.082)
OKLCHoklch(31.67% 0.124 318.6)
XYZxyz(4.9547, 2.7177, 9.7128)
Luminance0.0272 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4B1459 #225914
analogous
#291459 #4B1459 #591445
triadic
#4B1459 #594B14 #14594B
tetradic
#4B1459 #592914 #225914 #144559
square
#4B1459 #592914 #225914 #144559
split-complementary
#4B1459 #455914 #145929
monochromatic
#150619 #210927 #4B1459 #751F8B #9F2ABD

Accessibility & contrast

On white

13.61
#4B1459 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.54
#4B1459 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4B1459
13.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4B1459#FFFFFF#000000##FFFFFF
##4B14591.0013.611.5413.61
#FFFFFF13.611.0021.001.00
#0000001.5421.001.0021.00
##FFFFFF13.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002A5B
Deuteranopia (green-blind)
#183057
Tritanopia (blue-blind)
#4B2235
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #4b1459;
/* rgb */ color: rgb(75, 20, 89);
/* oklch */ color: oklch(31.7% 0.124 318.6);
Tailwind
colors: {
  custom: {
    50: '#805888',
    500: '#4b1459',
    950: '#000000',
  },
}
SCSS
$custom: #4b1459;
$custom-light: #805888;
$custom-dark: #000000;
JSON
{
  "hex": "#4b1459",
  "rgb": {
    "r": 75,
    "g": 20,
    "b": 89
  },
  "hsl": {
    "h": 287.826,
    "s": 63.303,
    "l": 21.373
  },
  "oklch": {
    "l": 0.31669,
    "c": 0.1241,
    "h": 318.6
  },
  "luminance": 0.02717
}

Semantic roles & 50–950 ramp

primary
#4B1459
secondary
#4A9138
accent
#E64163
background
#F8F5F8
surface
#EFE9F0
border
#CAC5CB
text
#0A030B
muted
#7C787C

Preview Lab

Preview with #4B1459

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

Preview Lab → · Contrast checker → · Palette generator →

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