#4B1150#4B1150

#4B1150 is a dark, moderate purple. Relative luminance 0.025; OKLCH L 30.7% C 0.119 H 324.5°. Best body text is #FFFFFF at 14.04:1 contrast (WCAG AA passes).

Color values

HEX#4B1150
RGBrgb(75, 17, 80)
HSLhsl(295, 65%, 19%)
HSVhsv(295, 79%, 31%)
CMYKcmyk(6.2%, 78.8%, 0%, 68.6%)
CIE-LABlab(17.81, 35.81, -24.86)
CIE-LCHlch(17.81, 43.60, 325.23°)
OKLaboklab(30.71% 0.0971 -0.0692)
OKLCHoklch(30.71% 0.119 324.5)
XYZxyz(4.5499, 2.4762, 7.8262)
Luminance0.0248 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4B1150 #165011
analogous
#2C1150 #4B1150 #501136
triadic
#4B1150 #504B11 #11504B
tetradic
#4B1150 #502C11 #165011 #113650
square
#4B1150 #502C11 #165011 #113650
split-complementary
#4B1150 #365011 #11502C
monochromatic
#180519 #1C061E #4B1150 #7A1C82 #AA26B5

Accessibility & contrast

On white

14.04
#4B1150 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.50
#4B1150 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4B1150
14.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4B1150#FFFFFF#000000##FFFFFF
##4B11501.0014.041.5014.04
#FFFFFF14.041.0021.001.00
#0000001.5021.001.0021.00
##FFFFFF14.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#012752
Deuteranopia (green-blind)
#1D2E4E
Tritanopia (blue-blind)
#4D1C2F
Achromatopsia (no color)
#2C2C2C

Design tokens & code

CSS
--color: #4b1150;
/* rgb */ color: rgb(75, 17, 80);
/* oklch */ color: oklch(30.7% 0.119 324.5);
Tailwind
colors: {
  custom: {
    50: '#805681',
    500: '#4b1150',
    950: '#000000',
  },
}
SCSS
$custom: #4b1150;
$custom-light: #805681;
$custom-dark: #000000;
JSON
{
  "hex": "#4b1150",
  "rgb": {
    "r": 75,
    "g": 17,
    "b": 80
  },
  "hsl": {
    "h": 295.238,
    "s": 64.948,
    "l": 19.02
  },
  "oklch": {
    "l": 0.30708,
    "c": 0.11923,
    "h": 324.5
  },
  "luminance": 0.02476
}

Semantic roles & 50–950 ramp

primary
#4B1150
secondary
#3A8933
accent
#E8404D
background
#F8F5F7
surface
#EFE9EE
border
#CAC5C9
text
#0A030A
muted
#7C787C

Preview Lab

Preview with #4B1150

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

Preview Lab → · Contrast checker → · Palette generator →

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