#4B135E#4B135E

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

Color values

HEX#4B135E
RGBrgb(75, 19, 94)
HSLhsl(285, 66%, 22%)
HSVhsv(285, 80%, 37%)
CMYKcmyk(20.2%, 79.8%, 0%, 63.1%)
CIE-LABlab(19.10, 37.97, -32.21)
CIE-LCHlch(19.10, 49.79, 319.69°)
OKLaboklab(31.94% 0.0936 -0.0908)
OKLCHoklch(31.94% 0.13 315.9)
XYZxyz(5.1546, 2.7700, 10.8506)
Luminance0.0277 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4B135E #265E13
analogous
#26135E #4B135E #5E134C
triadic
#4B135E #5E4B13 #135E4B
tetradic
#4B135E #5E2613 #265E13 #134C5E
square
#4B135E #5E2613 #265E13 #134C5E
split-complementary
#4B135E #4C5E13 #135E26
monochromatic
#140519 #22092B #4B135E #741D91 #9C28C4

Accessibility & contrast

On white

13.51
#4B135E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4B135E
13.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4B135E#FFFFFF#000000##FFFFFF
##4B135E1.0013.511.5513.51
#FFFFFF13.511.0021.001.00
#0000001.5521.001.0021.00
##FFFFFF13.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002B60
Deuteranopia (green-blind)
#12305C
Tritanopia (blue-blind)
#4A2337
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #4b135e;
/* rgb */ color: rgb(75, 19, 94);
/* oklch */ color: oklch(31.9% 0.130 315.9);
Tailwind
colors: {
  custom: {
    50: '#80578c',
    500: '#4b135e',
    950: '#000000',
  },
}
SCSS
$custom: #4b135e;
$custom-light: #80578c;
$custom-dark: #000000;
JSON
{
  "hex": "#4b135e",
  "rgb": {
    "r": 75,
    "g": 19,
    "b": 94
  },
  "hsl": {
    "h": 284.8,
    "s": 66.372,
    "l": 22.157
  },
  "oklch": {
    "l": 0.31944,
    "c": 0.13036,
    "h": 315.9
  },
  "luminance": 0.0277
}

Semantic roles & 50–950 ramp

primary
#4B135E
secondary
#4F9637
accent
#E93F6A
background
#F8F5F8
surface
#EFE9F0
border
#CAC5CB
text
#0B030C
muted
#7C787D

Preview Lab

Preview with #4B135E

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

Preview Lab → · Contrast checker → · Palette generator →

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