#4B1452#4B1452

#4B1452 is a dark, moderate purple. Relative luminance 0.026; OKLCH L 31.2% C 0.117 H 323.0°. Best body text is #FFFFFF at 13.81:1 contrast (WCAG AA passes).

Color values

HEX#4B1452
RGBrgb(75, 20, 82)
HSLhsl(293, 61%, 20%)
HSVhsv(293, 76%, 32%)
CMYKcmyk(8.5%, 75.6%, 0%, 67.8%)
CIE-LABlab(18.39, 34.96, -25.30)
CIE-LCHlch(18.39, 43.15, 324.11°)
OKLaboklab(31.17% 0.0935 -0.0705)
OKLCHoklch(31.17% 0.117 323)
XYZxyz(4.6746, 2.6056, 8.2377)
Luminance0.0261 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4B1452 #1B5214
analogous
#2C1452 #4B1452 #52143A
triadic
#4B1452 #524B14 #14524B
tetradic
#4B1452 #522C14 #1B5214 #143A52
square
#4B1452 #522C14 #1B5214 #143A52
split-complementary
#4B1452 #3A5214 #14522C
monochromatic
#170619 #1E0821 #4B1452 #782083 #A52CB4

Accessibility & contrast

On white

13.81
#4B1452 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.52
#4B1452 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4B1452
13.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4B1452#FFFFFF#000000##FFFFFF
##4B14521.0013.811.5213.81
#FFFFFF13.811.0021.001.00
#0000001.5221.001.0021.00
##FFFFFF13.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#032954
Deuteranopia (green-blind)
#1D2F50
Tritanopia (blue-blind)
#4C1F31
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #4b1452;
/* rgb */ color: rgb(75, 20, 82);
/* oklch */ color: oklch(31.2% 0.117 323.0);
Tailwind
colors: {
  custom: {
    50: '#805783',
    500: '#4b1452',
    950: '#000000',
  },
}
SCSS
$custom: #4b1452;
$custom-light: #805783;
$custom-dark: #000000;
JSON
{
  "hex": "#4b1452",
  "rgb": {
    "r": 75,
    "g": 20,
    "b": 82
  },
  "hsl": {
    "h": 293.226,
    "s": 60.784,
    "l": 20
  },
  "oklch": {
    "l": 0.31166,
    "c": 0.11716,
    "h": 323
  },
  "luminance": 0.02605
}

Semantic roles & 50–950 ramp

primary
#4B1452
secondary
#418A38
accent
#E44456
background
#F8F5F8
surface
#EFE9EF
border
#CAC5CA
text
#0A030A
muted
#7C787C

Preview Lab

Preview with #4B1452

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

Preview Lab → · Contrast checker → · Palette generator →

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