#4B0E5F#4B0E5F

#4B0E5F is a dark, vivid purple. Relative luminance 0.026; OKLCH L 31.6% C 0.137 H 315.8°. Best body text is #FFFFFF at 13.75:1 contrast (WCAG AA passes).

Color values

HEX#4B0E5F
RGBrgb(75, 14, 95)
HSLhsl(285, 74%, 21%)
HSVhsv(285, 85%, 37%)
CMYKcmyk(21.1%, 85.3%, 0%, 62.7%)
CIE-LABlab(18.52, 40.07, -33.80)
CIE-LCHlch(18.52, 52.42, 319.85°)
OKLaboklab(31.56% 0.0982 -0.0954)
OKLCHoklch(31.56% 0.137 315.8)
XYZxyz(5.1239, 2.6364, 11.0632)
Luminance0.0264 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4B0E5F #225F0E
analogous
#230E5F #4B0E5F #5F0E4B
triadic
#4B0E5F #5F4B0E #0E5F4B
tetradic
#4B0E5F #5F230E #225F0E #0E4B5F
square
#4B0E5F #5F230E #225F0E #0E4B5F
split-complementary
#4B0E5F #4B5F0E #0E5F23
monochromatic
#15041B #21062A #4B0E5F #751694 #9F1ECA

Accessibility & contrast

On white

13.75
#4B0E5F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.53
#4B0E5F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4B0E5F
13.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4B0E5F#FFFFFF#000000##FFFFFF
##4B0E5F1.0013.751.5313.75
#FFFFFF13.751.0021.001.00
#0000001.5321.001.0021.00
##FFFFFF13.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002A61
Deuteranopia (green-blind)
#0C2F5D
Tritanopia (blue-blind)
#492137
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #4b0e5f;
/* rgb */ color: rgb(75, 14, 95);
/* oklch */ color: oklch(31.6% 0.137 315.8);
Tailwind
colors: {
  custom: {
    50: '#81558d',
    500: '#4b0e5f',
    950: '#000000',
  },
}
SCSS
$custom: #4b0e5f;
$custom-light: #81558d;
$custom-dark: #000000;
JSON
{
  "hex": "#4b0e5f",
  "rgb": {
    "r": 75,
    "g": 14,
    "b": 95
  },
  "hsl": {
    "h": 285.185,
    "s": 74.312,
    "l": 21.373
  },
  "oklch": {
    "l": 0.31564,
    "c": 0.13688,
    "h": 315.8
  },
  "luminance": 0.02636
}

Semantic roles & 50–950 ramp

primary
#4B0E5F
secondary
#4A9930
accent
#F13765
background
#F8F5F8
surface
#EFE9F0
border
#CAC5CB
text
#0B030C
muted
#7C787D

Preview Lab

Preview with #4B0E5F

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

Preview Lab → · Contrast checker → · Palette generator →

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