#4B1458#4B1458

#4B1458 is a dark, vivid purple. Relative luminance 0.027; OKLCH L 31.6% C 0.123 H 319.2°. Best body text is #FFFFFF at 13.63:1 contrast (WCAG AA passes).

Color values

HEX#4B1458
RGBrgb(75, 20, 88)
HSLhsl(289, 63%, 21%)
HSVhsv(289, 77%, 35%)
CMYKcmyk(14.8%, 77.3%, 0%, 65.5%)
CIE-LABlab(18.80, 36.24, -28.68)
CIE-LCHlch(18.80, 46.21, 321.64°)
OKLaboklab(31.6% 0.0932 -0.0804)
OKLCHoklch(31.6% 0.123 319.2)
XYZxyz(4.9130, 2.7010, 9.4932)
Luminance0.0270 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4B1458 #215814
analogous
#291458 #4B1458 #581443
triadic
#4B1458 #584B14 #14584B
tetradic
#4B1458 #582914 #215814 #144358
square
#4B1458 #582914 #215814 #144358
split-complementary
#4B1458 #435814 #145829
monochromatic
#150619 #200926 #4B1458 #751F8A #A02BBC

Accessibility & contrast

On white

13.63
#4B1458 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4B1458
13.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4B1458#FFFFFF#000000##FFFFFF
##4B14581.0013.631.5413.63
#FFFFFF13.631.0021.001.00
#0000001.5421.001.0021.00
##FFFFFF13.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002A5A
Deuteranopia (green-blind)
#193056
Tritanopia (blue-blind)
#4B2134
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #4b1458;
/* rgb */ color: rgb(75, 20, 88);
/* oklch */ color: oklch(31.6% 0.123 319.2);
Tailwind
colors: {
  custom: {
    50: '#805887',
    500: '#4b1458',
    950: '#000000',
  },
}
SCSS
$custom: #4b1458;
$custom-light: #805887;
$custom-dark: #000000;
JSON
{
  "hex": "#4b1458",
  "rgb": {
    "r": 75,
    "g": 20,
    "b": 88
  },
  "hsl": {
    "h": 288.529,
    "s": 62.963,
    "l": 21.176
  },
  "oklch": {
    "l": 0.31595,
    "c": 0.12309,
    "h": 319.2
  },
  "luminance": 0.02701
}

Semantic roles & 50–950 ramp

primary
#4B1458
secondary
#499038
accent
#E64261
background
#F8F5F8
surface
#EFE9EF
border
#CAC5CA
text
#0A030B
muted
#7C787C

Preview Lab

Preview with #4B1458

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

Preview Lab → · Contrast checker → · Palette generator →

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