#4B135A#4B135A

#4B135A is a dark, vivid purple. Relative luminance 0.027; OKLCH L 31.6% C 0.126 H 318.1°. Best body text is #FFFFFF at 13.64:1 contrast (WCAG AA passes).

Color values

HEX#4B135A
RGBrgb(75, 19, 90)
HSLhsl(287, 65%, 21%)
HSVhsv(287, 79%, 35%)
CMYKcmyk(16.7%, 78.9%, 0%, 64.7%)
CIE-LABlab(18.80, 37.09, -30.02)
CIE-LCHlch(18.80, 47.72, 321.01°)
OKLaboklab(31.64% 0.0941 -0.0843)
OKLCHoklch(31.64% 0.126 318.1)
XYZxyz(4.9797, 2.7000, 9.9297)
Luminance0.0270 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4B135A #225A13
analogous
#28135A #4B135A #5A1346
triadic
#4B135A #5A4B13 #135A4B
tetradic
#4B135A #5A2813 #225A13 #13465A
square
#4B135A #5A2813 #225A13 #13465A
split-complementary
#4B135A #465A13 #135A28
monochromatic
#150519 #210827 #4B135A #751E8D #9F28BF

Accessibility & contrast

On white

13.64
#4B135A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.54
#4B135A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4B135A
13.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4B135A#FFFFFF#000000##FFFFFF
##4B135A1.0013.641.5413.64
#FFFFFF13.641.0021.001.00
#0000001.5421.001.0021.00
##FFFFFF13.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002A5C
Deuteranopia (green-blind)
#162F58
Tritanopia (blue-blind)
#4B2235
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #4b135a;
/* rgb */ color: rgb(75, 19, 90);
/* oklch */ color: oklch(31.6% 0.126 318.1);
Tailwind
colors: {
  custom: {
    50: '#805789',
    500: '#4b135a',
    950: '#000000',
  },
}
SCSS
$custom: #4b135a;
$custom-light: #805789;
$custom-dark: #000000;
JSON
{
  "hex": "#4b135a",
  "rgb": {
    "r": 75,
    "g": 19,
    "b": 90
  },
  "hsl": {
    "h": 287.324,
    "s": 65.138,
    "l": 21.373
  },
  "oklch": {
    "l": 0.31638,
    "c": 0.12638,
    "h": 318.1
  },
  "luminance": 0.027
}

Semantic roles & 50–950 ramp

primary
#4B135A
secondary
#4A9237
accent
#E84063
background
#F8F5F8
surface
#EFE9F0
border
#CAC5CB
text
#0A030B
muted
#7C787C

Preview Lab

Preview with #4B135A

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

Preview Lab → · Contrast checker → · Palette generator →

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