#4B0C51#4B0C51

#4B0C51 is a dark, vivid purple. Relative luminance 0.024; OKLCH L 30.3% C 0.126 H 324.1°. Best body text is #FFFFFF at 14.28:1 contrast (WCAG AA passes).

Color values

HEX#4B0C51
RGBrgb(75, 12, 81)
HSLhsl(295, 74%, 18%)
HSVhsv(295, 85%, 32%)
CMYKcmyk(7.4%, 85.2%, 0%, 68.2%)
CIE-LABlab(17.24, 37.84, -26.45)
CIE-LCHlch(17.24, 46.17, 325.05°)
OKLaboklab(30.33% 0.102 -0.0738)
OKLCHoklch(30.33% 0.126 324.1)
XYZxyz(4.5182, 2.3532, 7.9992)
Luminance0.0235 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4B0C51 #12510C
analogous
#280C51 #4B0C51 #510C34
triadic
#4B0C51 #514B0C #0C514B
tetradic
#4B0C51 #51280C #12510C #0C3451
square
#4B0C51 #51280C #12510C #0C3451
split-complementary
#4B0C51 #34510C #0C5128
monochromatic
#19041B #1A041C #4B0C51 #7C1486 #AE1CBC

Accessibility & contrast

On white

14.28
#4B0C51 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.47
#4B0C51 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4B0C51
14.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4B0C51#FFFFFF#000000##FFFFFF
##4B0C511.0014.281.4714.28
#FFFFFF14.281.0021.001.00
#0000001.4721.001.0021.00
##FFFFFF14.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002653
Deuteranopia (green-blind)
#1A2D4F
Tritanopia (blue-blind)
#4D1A2F
Achromatopsia (no color)
#2A2A2A

Design tokens & code

CSS
--color: #4b0c51;
/* rgb */ color: rgb(75, 12, 81);
/* oklch */ color: oklch(30.3% 0.126 324.1);
Tailwind
colors: {
  custom: {
    50: '#805482',
    500: '#4b0c51',
    950: '#000000',
  },
}
SCSS
$custom: #4b0c51;
$custom-light: #805482;
$custom-dark: #000000;
JSON
{
  "hex": "#4b0c51",
  "rgb": {
    "r": 75,
    "g": 12,
    "b": 81
  },
  "hsl": {
    "h": 294.783,
    "s": 74.194,
    "l": 18.235
  },
  "oklch": {
    "l": 0.30325,
    "c": 0.12595,
    "h": 324.1
  },
  "luminance": 0.02353
}

Semantic roles & 50–950 ramp

primary
#4B0C51
secondary
#358C2C
accent
#F13747
background
#F8F5F8
surface
#EFE9EF
border
#CAC5CA
text
#0A030A
muted
#7C787C

Preview Lab

Preview with #4B0C51

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

Preview Lab → · Contrast checker → · Palette generator →

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