#4B135D#4B135D

#4B135D is a dark, vivid purple. Relative luminance 0.028; OKLCH L 31.9% C 0.129 H 316.4°. Best body text is #FFFFFF at 13.54:1 contrast (WCAG AA passes).

Color values

HEX#4B135D
RGBrgb(75, 19, 93)
HSLhsl(285, 66%, 22%)
HSVhsv(285, 80%, 36%)
CMYKcmyk(19.4%, 79.6%, 0%, 63.5%)
CIE-LABlab(19.02, 37.75, -31.67)
CIE-LCHlch(19.02, 49.28, 320.01°)
OKLaboklab(31.87% 0.0937 -0.0892)
OKLCHoklch(31.87% 0.129 316.4)
XYZxyz(5.1100, 2.7521, 10.6158)
Luminance0.0275 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4B135D #255D13
analogous
#26135D #4B135D #5D134A
triadic
#4B135D #5D4B13 #135D4B
tetradic
#4B135D #5D2613 #255D13 #134A5D
square
#4B135D #5D2613 #255D13 #134A5D
split-complementary
#4B135D #4A5D13 #135D26
monochromatic
#140519 #22092A #4B135D #741D90 #9D28C3

Accessibility & contrast

On white

13.54
#4B135D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4B135D
13.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4B135D#FFFFFF#000000##FFFFFF
##4B135D1.0013.541.5513.54
#FFFFFF13.541.0021.001.00
#0000001.5521.001.0021.00
##FFFFFF13.541.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #4b135d;
/* rgb */ color: rgb(75, 19, 93);
/* oklch */ color: oklch(31.9% 0.129 316.4);
Tailwind
colors: {
  custom: {
    50: '#80578b',
    500: '#4b135d',
    950: '#000000',
  },
}
SCSS
$custom: #4b135d;
$custom-light: #80578b;
$custom-dark: #000000;
JSON
{
  "hex": "#4b135d",
  "rgb": {
    "r": 75,
    "g": 19,
    "b": 93
  },
  "hsl": {
    "h": 285.405,
    "s": 66.071,
    "l": 21.961
  },
  "oklch": {
    "l": 0.31867,
    "c": 0.12937,
    "h": 316.4
  },
  "luminance": 0.02752
}

Semantic roles & 50–950 ramp

primary
#4B135D
secondary
#4E9537
accent
#E93F68
background
#F8F5F8
surface
#EFE9F0
border
#CAC5CB
text
#0B030C
muted
#7C787D

Preview Lab

Preview with #4B135D

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

Preview Lab → · Contrast checker → · Palette generator →

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