#4B184C#4B184C

#4B184C is a dark, moderate purple. Relative luminance 0.027; OKLCH L 31.2% C 0.105 H 327.0°. Best body text is #FFFFFF at 13.69:1 contrast (WCAG AA passes).

Color values

HEX#4B184C
RGBrgb(75, 24, 76)
HSLhsl(299, 52%, 20%)
HSVhsv(299, 68%, 30%)
CMYKcmyk(1.3%, 68.4%, 0%, 70.2%)
CIE-LABlab(18.68, 31.85, -20.76)
CIE-LCHlch(18.68, 38.02, 326.90°)
OKLaboklab(31.25% 0.0882 -0.0574)
OKLCHoklch(31.25% 0.105 327)
XYZxyz(4.5327, 2.6712, 7.1129)
Luminance0.0267 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4B184C #194C18
analogous
#31184C #4B184C #4C1833
triadic
#4B184C #4C4B18 #184C4B
tetradic
#4B184C #4C3118 #194C18 #18334C
square
#4B184C #4C3118 #194C18 #18334C
split-complementary
#4B184C #334C18 #184C31
monochromatic
#170717 #1D091D #4B184C #79277B #A735A9

Accessibility & contrast

On white

13.69
#4B184C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.53
#4B184C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4B184C
13.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4B184C#FFFFFF#000000##FFFFFF
##4B184C1.0013.691.5313.69
#FFFFFF13.691.0021.001.00
#0000001.5321.001.0021.00
##FFFFFF13.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#11294E
Deuteranopia (green-blind)
#24304B
Tritanopia (blue-blind)
#4D1F2F
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #4b184c;
/* rgb */ color: rgb(75, 24, 76);
/* oklch */ color: oklch(31.2% 0.105 327.0);
Tailwind
colors: {
  custom: {
    50: '#7f597e',
    500: '#4b184c',
    950: '#000000',
  },
}
SCSS
$custom: #4b184c;
$custom-light: #7f597e;
$custom-dark: #000000;
JSON
{
  "hex": "#4b184c",
  "rgb": {
    "r": 75,
    "g": 24,
    "b": 76
  },
  "hsl": {
    "h": 298.846,
    "s": 52,
    "l": 19.608
  },
  "oklch": {
    "l": 0.31249,
    "c": 0.10526,
    "h": 327
  },
  "luminance": 0.02671
}

Semantic roles & 50–950 ramp

primary
#4B184C
secondary
#3E833D
accent
#DB4C4F
background
#F7F5F7
surface
#EEE9EE
border
#C9C5C9
text
#0A040A
muted
#7C797C

Preview Lab

Preview with #4B184C

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

Preview Lab → · Contrast checker → · Palette generator →

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