#4D1253#4D1253

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

Color values

HEX#4D1253
RGBrgb(77, 18, 83)
HSLhsl(294, 64%, 20%)
HSVhsv(294, 78%, 33%)
CMYKcmyk(7.2%, 78.3%, 0%, 67.5%)
CIE-LABlab(18.52, 36.51, -25.75)
CIE-LCHlch(18.52, 44.68, 324.81°)
OKLaboklab(31.35% 0.0984 -0.0718)
OKLCHoklch(31.35% 0.122 323.9)
XYZxyz(4.8381, 2.6352, 8.4358)
Luminance0.0263 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D1253 #185312
analogous
#2D1253 #4D1253 #531238
triadic
#4D1253 #534D12 #12534D
tetradic
#4D1253 #532D12 #185312 #123853
square
#4D1253 #532D12 #185312 #123853
split-complementary
#4D1253 #385312 #12532D
monochromatic
#170519 #1E0721 #4D1253 #7C1D85 #AA28B8

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##4D1253#FFFFFF#000000##FFFFFF
##4D12531.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)
#002955
Deuteranopia (green-blind)
#1E2F51
Tritanopia (blue-blind)
#4F1D31
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #4d1253;
/* rgb */ color: rgb(77, 18, 83);
/* oklch */ color: oklch(31.4% 0.122 323.9);
Tailwind
colors: {
  custom: {
    50: '#815784',
    500: '#4d1253',
    950: '#000000',
  },
}
SCSS
$custom: #4d1253;
$custom-light: #815784;
$custom-dark: #000000;
JSON
{
  "hex": "#4d1253",
  "rgb": {
    "r": 77,
    "g": 18,
    "b": 83
  },
  "hsl": {
    "h": 294.462,
    "s": 64.356,
    "l": 19.804
  },
  "oklch": {
    "l": 0.31351,
    "c": 0.12182,
    "h": 323.9
  },
  "luminance": 0.02635
}

Semantic roles & 50–950 ramp

primary
#4D1253
secondary
#3D8C35
accent
#E74050
background
#F8F5F8
surface
#EFE9EF
border
#CAC5CA
text
#0B030B
muted
#7C787C

Preview Lab

Preview with #4D1253

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

Preview Lab → · Contrast checker → · Palette generator →

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