#4B1457#4B1457

#4B1457 is a dark, vivid purple. Relative luminance 0.027; OKLCH L 31.5% C 0.122 H 319.8°. Best body text is #FFFFFF at 13.66:1 contrast (WCAG AA passes).

Color values

HEX#4B1457
RGBrgb(75, 20, 87)
HSLhsl(289, 63%, 21%)
HSVhsv(289, 77%, 34%)
CMYKcmyk(13.8%, 77%, 0%, 65.9%)
CIE-LABlab(18.73, 36.02, -28.12)
CIE-LCHlch(18.73, 45.70, 322.02°)
OKLaboklab(31.52% 0.0933 -0.0788)
OKLCHoklch(31.52% 0.122 319.8)
XYZxyz(4.8719, 2.6845, 9.2765)
Luminance0.0268 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4B1457 #205714
analogous
#291457 #4B1457 #571441
triadic
#4B1457 #574B14 #14574B
tetradic
#4B1457 #572914 #205714 #144157
square
#4B1457 #572914 #205714 #144157
split-complementary
#4B1457 #415714 #145729
monochromatic
#150619 #200925 #4B1457 #761F89 #A12BBB

Accessibility & contrast

On white

13.66
#4B1457 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4B1457
13.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4B1457#FFFFFF#000000##FFFFFF
##4B14571.0013.661.5413.66
#FFFFFF13.661.0021.001.00
#0000001.5421.001.0021.00
##FFFFFF13.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002A59
Deuteranopia (green-blind)
#1A2F55
Tritanopia (blue-blind)
#4B2134
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #4b1457;
/* rgb */ color: rgb(75, 20, 87);
/* oklch */ color: oklch(31.5% 0.122 319.8);
Tailwind
colors: {
  custom: {
    50: '#805887',
    500: '#4b1457',
    950: '#000000',
  },
}
SCSS
$custom: #4b1457;
$custom-light: #805887;
$custom-dark: #000000;
JSON
{
  "hex": "#4b1457",
  "rgb": {
    "r": 75,
    "g": 20,
    "b": 87
  },
  "hsl": {
    "h": 289.254,
    "s": 62.617,
    "l": 20.98
  },
  "oklch": {
    "l": 0.31522,
    "c": 0.1221,
    "h": 319.8
  },
  "luminance": 0.02684
}

Semantic roles & 50–950 ramp

primary
#4B1457
secondary
#478F38
accent
#E6425F
background
#F8F5F8
surface
#EFE9EF
border
#CAC5CA
text
#0A030B
muted
#7C787C

Preview Lab

Preview with #4B1457

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

Preview Lab → · Contrast checker → · Palette generator →

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