#4B145B#4B145B

#4B145B is a dark, vivid purple. Relative luminance 0.028; OKLCH L 31.8% C 0.126 H 317.4°. Best body text is #FFFFFF at 13.55:1 contrast (WCAG AA passes).

Color values

HEX#4B145B
RGBrgb(75, 20, 91)
HSLhsl(286, 64%, 22%)
HSVhsv(286, 78%, 36%)
CMYKcmyk(17.6%, 78%, 0%, 64.3%)
CIE-LABlab(19.02, 36.89, -30.34)
CIE-LCHlch(19.02, 47.76, 320.57°)
OKLaboklab(31.82% 0.0929 -0.0853)
OKLCHoklch(31.82% 0.126 317.4)
XYZxyz(5.0399, 2.7517, 10.1612)
Luminance0.0275 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4B145B #245B14
analogous
#28145B #4B145B #5B1448
triadic
#4B145B #5B4B14 #145B4B
tetradic
#4B145B #5B2814 #245B14 #14485B
square
#4B145B #5B2814 #245B14 #14485B
split-complementary
#4B145B #485B14 #145B28
monochromatic
#150619 #220929 #4B145B #741F8D #9E2ABF

Accessibility & contrast

On white

13.55
#4B145B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.55
#4B145B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4B145B
13.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4B145B#FFFFFF#000000##FFFFFF
##4B145B1.0013.551.5513.55
#FFFFFF13.551.0021.001.00
#0000001.5521.001.0021.00
##FFFFFF13.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002B5D
Deuteranopia (green-blind)
#163059
Tritanopia (blue-blind)
#4A2336
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #4b145b;
/* rgb */ color: rgb(75, 20, 91);
/* oklch */ color: oklch(31.8% 0.126 317.4);
Tailwind
colors: {
  custom: {
    50: '#80588a',
    500: '#4b145b',
    950: '#000000',
  },
}
SCSS
$custom: #4b145b;
$custom-light: #80588a;
$custom-dark: #000000;
JSON
{
  "hex": "#4b145b",
  "rgb": {
    "r": 75,
    "g": 20,
    "b": 91
  },
  "hsl": {
    "h": 286.479,
    "s": 63.964,
    "l": 21.765
  },
  "oklch": {
    "l": 0.31818,
    "c": 0.12611,
    "h": 317.4
  },
  "luminance": 0.02751
}

Semantic roles & 50–950 ramp

primary
#4B145B
secondary
#4C9338
accent
#E74166
background
#F8F5F8
surface
#EFE9F0
border
#CAC5CB
text
#0A030C
muted
#7C787D

Preview Lab

Preview with #4B145B

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

Preview Lab → · Contrast checker → · Palette generator →

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