#4B145D#4B145D

#4B145D is a dark, vivid purple. Relative luminance 0.028; OKLCH L 32.0% C 0.128 H 316.3°. Best body text is #FFFFFF at 13.49:1 contrast (WCAG AA passes).

Color values

HEX#4B145D
RGBrgb(75, 20, 93)
HSLhsl(285, 65%, 22%)
HSVhsv(285, 78%, 36%)
CMYKcmyk(19.4%, 78.5%, 0%, 63.5%)
CIE-LABlab(19.17, 37.34, -31.43)
CIE-LCHlch(19.17, 48.80, 319.91°)
OKLaboklab(31.97% 0.0927 -0.0885)
OKLCHoklch(31.97% 0.128 316.3)
XYZxyz(5.1273, 2.7867, 10.6216)
Luminance0.0279 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4B145D #265D14
analogous
#26145D #4B145D #5D144B
triadic
#4B145D #5D4B14 #145D4B
tetradic
#4B145D #5D2614 #265D14 #144B5D
square
#4B145D #5D2614 #265D14 #144B5D
split-complementary
#4B145D #4B5D14 #145D26
monochromatic
#140519 #22092B #4B145D #741F8F #9C2AC2

Accessibility & contrast

On white

13.49
#4B145D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.56
#4B145D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4B145D
13.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4B145D#FFFFFF#000000##FFFFFF
##4B145D1.0013.491.5613.49
#FFFFFF13.491.0021.001.00
#0000001.5621.001.0021.00
##FFFFFF13.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002B5F
Deuteranopia (green-blind)
#14305B
Tritanopia (blue-blind)
#4A2337
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #4b145d;
/* rgb */ color: rgb(75, 20, 93);
/* oklch */ color: oklch(32.0% 0.128 316.3);
Tailwind
colors: {
  custom: {
    50: '#80588b',
    500: '#4b145d',
    950: '#000000',
  },
}
SCSS
$custom: #4b145d;
$custom-light: #80588b;
$custom-dark: #000000;
JSON
{
  "hex": "#4b145d",
  "rgb": {
    "r": 75,
    "g": 20,
    "b": 93
  },
  "hsl": {
    "h": 285.205,
    "s": 64.602,
    "l": 22.157
  },
  "oklch": {
    "l": 0.31971,
    "c": 0.12813,
    "h": 316.3
  },
  "luminance": 0.02786
}

Semantic roles & 50–950 ramp

primary
#4B145D
secondary
#4F9538
accent
#E84069
background
#F8F5F8
surface
#EFE9F0
border
#CAC5CB
text
#0A040C
muted
#7C797D

Preview Lab

Preview with #4B145D

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

Preview Lab → · Contrast checker → · Palette generator →

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