#4B124C#4B124C

#4B124C is a dark, moderate purple. Relative luminance 0.025; OKLCH L 30.5% C 0.114 H 327.2°. Best body text is #FFFFFF at 14.09:1 contrast (WCAG AA passes).

Color values

HEX#4B124C
RGBrgb(75, 18, 76)
HSLhsl(299, 62%, 18%)
HSVhsv(299, 76%, 30%)
CMYKcmyk(1.3%, 76.3%, 0%, 70.2%)
CIE-LABlab(17.69, 34.60, -22.32)
CIE-LCHlch(17.69, 41.18, 327.18°)
OKLaboklab(30.54% 0.096 -0.0618)
OKLCHoklch(30.54% 0.114 327.2)
XYZxyz(4.4224, 2.4506, 7.0762)
Luminance0.0245 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4B124C #134C12
analogous
#2E124C #4B124C #4C1230
triadic
#4B124C #4C4B12 #124C4B
tetradic
#4B124C #4C2E12 #134C12 #12304C
square
#4B124C #4C2E12 #134C12 #12304C
split-complementary
#4B124C #304C12 #124C2E
monochromatic
#180619 #1A061B #4B124C #7C1E7D #AD29AF

Accessibility & contrast

On white

14.09
#4B124C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4B124C
14.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4B124C#FFFFFF#000000##FFFFFF
##4B124C1.0014.091.4914.09
#FFFFFF14.091.0021.001.00
#0000001.4921.001.0021.00
##FFFFFF14.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#07274E
Deuteranopia (green-blind)
#202E4B
Tritanopia (blue-blind)
#4D1B2D
Achromatopsia (no color)
#2B2B2B

Design tokens & code

CSS
--color: #4b124c;
/* rgb */ color: rgb(75, 18, 76);
/* oklch */ color: oklch(30.5% 0.114 327.2);
Tailwind
colors: {
  custom: {
    50: '#80567e',
    500: '#4b124c',
    950: '#000000',
  },
}
SCSS
$custom: #4b124c;
$custom-light: #80567e;
$custom-dark: #000000;
JSON
{
  "hex": "#4b124c",
  "rgb": {
    "r": 75,
    "g": 18,
    "b": 76
  },
  "hsl": {
    "h": 298.966,
    "s": 61.702,
    "l": 18.431
  },
  "oklch": {
    "l": 0.3054,
    "c": 0.11417,
    "h": 327.2
  },
  "luminance": 0.0245
}

Semantic roles & 50–950 ramp

primary
#4B124C
secondary
#368535
accent
#E54346
background
#F8F5F7
surface
#EFE9EE
border
#CAC5C9
text
#0A030A
muted
#7C787C

Preview Lab

Preview with #4B124C

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

Preview Lab → · Contrast checker → · Palette generator →

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