#4B0C55#4B0C55

#4B0C55 is a dark, vivid purple. Relative luminance 0.024; OKLCH L 30.6% C 0.130 H 321.6°. Best body text is #FFFFFF at 14.16:1 contrast (WCAG AA passes).

Color values

HEX#4B0C55
RGBrgb(75, 12, 85)
HSLhsl(292, 75%, 19%)
HSVhsv(292, 86%, 33%)
CMYKcmyk(11.8%, 85.9%, 0%, 66.7%)
CIE-LABlab(17.53, 38.64, -28.70)
CIE-LCHlch(17.53, 48.14, 323.40°)
OKLaboklab(30.62% 0.1016 -0.0804)
OKLCHoklch(30.62% 0.13 321.6)
XYZxyz(4.6726, 2.4149, 8.8126)
Luminance0.0242 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4B0C55 #16550C
analogous
#270C55 #4B0C55 #550C3B
triadic
#4B0C55 #554B0C #0C554B
tetradic
#4B0C55 #55270C #16550C #0C3B55
square
#4B0C55 #55270C #16550C #0C3B55
split-complementary
#4B0C55 #3B550C #0C5527
monochromatic
#18041B #1C041F #4B0C55 #7A148B #AA1BC0

Accessibility & contrast

On white

14.16
#4B0C55 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.48
#4B0C55 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4B0C55
14.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4B0C55#FFFFFF#000000##FFFFFF
##4B0C551.0014.161.4814.16
#FFFFFF14.161.0021.001.00
#0000001.4821.001.0021.00
##FFFFFF14.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002757
Deuteranopia (green-blind)
#172D53
Tritanopia (blue-blind)
#4C1C31
Achromatopsia (no color)
#2B2B2B

Design tokens & code

CSS
--color: #4b0c55;
/* rgb */ color: rgb(75, 12, 85);
/* oklch */ color: oklch(30.6% 0.130 321.6);
Tailwind
colors: {
  custom: {
    50: '#805485',
    500: '#4b0c55',
    950: '#000000',
  },
}
SCSS
$custom: #4b0c55;
$custom-light: #805485;
$custom-dark: #000000;
JSON
{
  "hex": "#4b0c55",
  "rgb": {
    "r": 75,
    "g": 12,
    "b": 85
  },
  "hsl": {
    "h": 291.781,
    "s": 75.258,
    "l": 19.02
  },
  "oklch": {
    "l": 0.30621,
    "c": 0.12957,
    "h": 321.6
  },
  "luminance": 0.02415
}

Semantic roles & 50–950 ramp

primary
#4B0C55
secondary
#3A902D
accent
#F23650
background
#F8F5F8
surface
#EFE9EF
border
#CAC5CA
text
#0B030B
muted
#7C787C

Preview Lab

Preview with #4B0C55

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

Preview Lab → · Contrast checker → · Palette generator →

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