#4B145A#4B145A

#4B145A is a dark, vivid purple. Relative luminance 0.027; OKLCH L 31.7% C 0.125 H 318.0°. Best body text is #FFFFFF at 13.58:1 contrast (WCAG AA passes).

Color values

HEX#4B145A
RGBrgb(75, 20, 90)
HSLhsl(287, 64%, 22%)
HSVhsv(287, 78%, 35%)
CMYKcmyk(16.7%, 77.8%, 0%, 64.7%)
CIE-LABlab(18.95, 36.67, -29.79)
CIE-LCHlch(18.95, 47.24, 320.92°)
OKLaboklab(31.74% 0.093 -0.0837)
OKLCHoklch(31.74% 0.125 318)
XYZxyz(4.9970, 2.7346, 9.9355)
Luminance0.0273 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4B145A #235A14
analogous
#28145A #4B145A #5A1446
triadic
#4B145A #5A4B14 #145A4B
tetradic
#4B145A #5A2814 #235A14 #14465A
square
#4B145A #5A2814 #235A14 #14465A
split-complementary
#4B145A #465A14 #145A28
monochromatic
#150619 #210928 #4B145A #751F8C #9E2ABE

Accessibility & contrast

On white

13.58
#4B145A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4B145A
13.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4B145A#FFFFFF#000000##FFFFFF
##4B145A1.0013.581.5513.58
#FFFFFF13.581.0021.001.00
#0000001.5521.001.0021.00
##FFFFFF13.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002B5C
Deuteranopia (green-blind)
#173058
Tritanopia (blue-blind)
#4B2235
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #4b145a;
/* rgb */ color: rgb(75, 20, 90);
/* oklch */ color: oklch(31.7% 0.125 318.0);
Tailwind
colors: {
  custom: {
    50: '#805889',
    500: '#4b145a',
    950: '#000000',
  },
}
SCSS
$custom: #4b145a;
$custom-light: #805889;
$custom-dark: #000000;
JSON
{
  "hex": "#4b145a",
  "rgb": {
    "r": 75,
    "g": 20,
    "b": 90
  },
  "hsl": {
    "h": 287.143,
    "s": 63.636,
    "l": 21.569
  },
  "oklch": {
    "l": 0.31743,
    "c": 0.1251,
    "h": 318
  },
  "luminance": 0.02734
}

Semantic roles & 50–950 ramp

primary
#4B145A
secondary
#4B9238
accent
#E74165
background
#F8F5F8
surface
#EFE9F0
border
#CAC5CB
text
#0A030B
muted
#7C787C

Preview Lab

Preview with #4B145A

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

Preview Lab → · Contrast checker → · Palette generator →

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