#4B135C#4B135C

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

Color values

HEX#4B135C
RGBrgb(75, 19, 92)
HSLhsl(286, 66%, 22%)
HSVhsv(286, 79%, 36%)
CMYKcmyk(18.5%, 79.3%, 0%, 63.9%)
CIE-LABlab(18.95, 37.53, -31.12)
CIE-LCHlch(18.95, 48.76, 320.33°)
OKLaboklab(31.79% 0.0939 -0.0876)
OKLCHoklch(31.79% 0.128 317)
XYZxyz(5.0660, 2.7345, 10.3841)
Luminance0.0273 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4B135C #245C13
analogous
#26135C #4B135C #5C1349
triadic
#4B135C #5C4B13 #135C4B
tetradic
#4B135C #5C2613 #245C13 #13495C
square
#4B135C #5C2613 #245C13 #13495C
split-complementary
#4B135C #495C13 #135C26
monochromatic
#150519 #220929 #4B135C #741D8F #9E28C1

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##4B135C#FFFFFF#000000##FFFFFF
##4B135C1.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)
#002B5E
Deuteranopia (green-blind)
#14305A
Tritanopia (blue-blind)
#4A2236
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #4b135c;
/* rgb */ color: rgb(75, 19, 92);
/* oklch */ color: oklch(31.8% 0.128 317.0);
Tailwind
colors: {
  custom: {
    50: '#80578b',
    500: '#4b135c',
    950: '#000000',
  },
}
SCSS
$custom: #4b135c;
$custom-light: #80578b;
$custom-dark: #000000;
JSON
{
  "hex": "#4b135c",
  "rgb": {
    "r": 75,
    "g": 19,
    "b": 92
  },
  "hsl": {
    "h": 286.027,
    "s": 65.766,
    "l": 21.765
  },
  "oklch": {
    "l": 0.3179,
    "c": 0.12837,
    "h": 317
  },
  "luminance": 0.02734
}

Semantic roles & 50–950 ramp

primary
#4B135C
secondary
#4C9437
accent
#E93F67
background
#F8F5F8
surface
#EFE9F0
border
#CAC5CB
text
#0A030C
muted
#7C787D

Preview Lab

Preview with #4B135C

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

Preview Lab → · Contrast checker → · Palette generator →

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