#4B135F#4B135F

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

Color values

HEX#4B135F
RGBrgb(75, 19, 95)
HSLhsl(284, 67%, 22%)
HSVhsv(284, 80%, 37%)
CMYKcmyk(21.1%, 80%, 0%, 62.7%)
CIE-LABlab(19.17, 38.20, -32.75)
CIE-LCHlch(19.17, 50.32, 319.39°)
OKLaboklab(32.02% 0.0934 -0.0923)
OKLCHoklch(32.02% 0.131 315.3)
XYZxyz(5.1997, 2.7880, 11.0885)
Luminance0.0279 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4B135F #275F13
analogous
#25135F #4B135F #5F134D
triadic
#4B135F #5F4B13 #135F4B
tetradic
#4B135F #5F2513 #275F13 #134D5F
square
#4B135F #5F2513 #275F13 #134D5F
split-complementary
#4B135F #4D5F13 #135F25
monochromatic
#14051A #23092C #4B135F #731D92 #9C27C5

Accessibility & contrast

On white

13.48
#4B135F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4B135F
13.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4B135F#FFFFFF#000000##FFFFFF
##4B135F1.0013.481.5613.48
#FFFFFF13.481.0021.001.00
#0000001.5621.001.0021.00
##FFFFFF13.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002B61
Deuteranopia (green-blind)
#10305D
Tritanopia (blue-blind)
#492438
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #4b135f;
/* rgb */ color: rgb(75, 19, 95);
/* oklch */ color: oklch(32.0% 0.131 315.3);
Tailwind
colors: {
  custom: {
    50: '#80588d',
    500: '#4b135f',
    950: '#000000',
  },
}
SCSS
$custom: #4b135f;
$custom-light: #80588d;
$custom-dark: #000000;
JSON
{
  "hex": "#4b135f",
  "rgb": {
    "r": 75,
    "g": 19,
    "b": 95
  },
  "hsl": {
    "h": 284.211,
    "s": 66.667,
    "l": 22.353
  },
  "oklch": {
    "l": 0.32023,
    "c": 0.13137,
    "h": 315.3
  },
  "luminance": 0.02788
}

Semantic roles & 50–950 ramp

primary
#4B135F
secondary
#509737
accent
#EA3E6B
background
#F8F5F8
surface
#EFE9F0
border
#CAC5CB
text
#0B030C
muted
#7C787D

Preview Lab

Preview with #4B135F

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

Preview Lab → · Contrast checker → · Palette generator →

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