#4B124B#4B124B

#4B124B is a dark, moderate purple. Relative luminance 0.024; OKLCH L 30.5% C 0.113 H 327.9°. Best body text is #FFFFFF at 14.12:1 contrast (WCAG AA passes).

Color values

HEX#4B124B
RGBrgb(75, 18, 75)
HSLhsl(300, 61%, 18%)
HSVhsv(300, 76%, 29%)
CMYKcmyk(0%, 76%, 0%, 70.6%)
CIE-LABlab(17.63, 34.41, -21.73)
CIE-LCHlch(17.63, 40.70, 327.72°)
OKLaboklab(30.47% 0.0959 -0.0601)
OKLCHoklch(30.47% 0.113 327.9)
XYZxyz(4.3879, 2.4368, 6.8945)
Luminance0.0244 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4B124B #124B12
analogous
#2E124B #4B124B #4B122E
triadic
#4B124B #4B4B12 #124B4B
tetradic
#4B124B #4B2E12 #124B12 #122E4B
square
#4B124B #4B2E12 #124B12 #122E4B
split-complementary
#4B124B #2E4B12 #124B2E
monochromatic
#190619 #1A061A #4B124B #7C1E7C #AE2AAE

Accessibility & contrast

On white

14.12
#4B124B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.49
#4B124B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4B124B
14.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4B124B#FFFFFF#000000##FFFFFF
##4B124B1.0014.121.4914.12
#FFFFFF14.121.0021.001.00
#0000001.4921.001.0021.00
##FFFFFF14.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#09264D
Deuteranopia (green-blind)
#212E4A
Tritanopia (blue-blind)
#4E1A2D
Achromatopsia (no color)
#2B2B2B

Design tokens & code

CSS
--color: #4b124b;
/* rgb */ color: rgb(75, 18, 75);
/* oklch */ color: oklch(30.5% 0.113 327.9);
Tailwind
colors: {
  custom: {
    50: '#80567d',
    500: '#4b124b',
    950: '#000000',
  },
}
SCSS
$custom: #4b124b;
$custom-light: #80567d;
$custom-dark: #000000;
JSON
{
  "hex": "#4b124b",
  "rgb": {
    "r": 75,
    "g": 18,
    "b": 75
  },
  "hsl": {
    "h": 300,
    "s": 61.29,
    "l": 18.235
  },
  "oklch": {
    "l": 0.30474,
    "c": 0.11324,
    "h": 327.9
  },
  "luminance": 0.02436
}

Semantic roles & 50–950 ramp

primary
#4B124B
secondary
#358435
accent
#E44343
background
#F8F5F7
surface
#EFE9EE
border
#CAC5C9
text
#0A030A
muted
#7C787C

Preview Lab

Preview with #4B124B

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

Preview Lab → · Contrast checker → · Palette generator →

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