#4D1264#4D1264

#4D1264 is a dark, vivid purple. Relative luminance 0.029; OKLCH L 32.6% C 0.138 H 314.2°. Best body text is #FFFFFF at 13.24:1 contrast (WCAG AA passes).

Color values

HEX#4D1264
RGBrgb(77, 18, 100)
HSLhsl(283, 69%, 23%)
HSVhsv(283, 82%, 39%)
CMYKcmyk(23%, 82%, 0%, 60.8%)
CIE-LABlab(19.76, 40.13, -35.09)
CIE-LCHlch(19.76, 53.31, 318.84°)
OKLaboklab(32.63% 0.0964 -0.0991)
OKLCHoklch(32.63% 0.138 314.2)
XYZxyz(5.5767, 2.9307, 12.3260)
Luminance0.0293 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D1264 #296412
analogous
#241264 #4D1264 #641252
triadic
#4D1264 #644D12 #12644D
tetradic
#4D1264 #642412 #296412 #125264
square
#4D1264 #642412 #296412 #125264
split-complementary
#4D1264 #526412 #126424
monochromatic
#14051A #250930 #4D1264 #751B98 #9D25CC

Accessibility & contrast

On white

13.24
#4D1264 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.59
#4D1264 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4D1264
13.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D1264#FFFFFF#000000##FFFFFF
##4D12641.0013.241.5913.24
#FFFFFF13.241.0021.001.00
#0000001.5921.001.0021.00
##FFFFFF13.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002D66
Deuteranopia (green-blind)
#0B3162
Tritanopia (blue-blind)
#4B253B
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #4d1264;
/* rgb */ color: rgb(77, 18, 100);
/* oklch */ color: oklch(32.6% 0.138 314.2);
Tailwind
colors: {
  custom: {
    50: '#825891',
    500: '#4d1264',
    950: '#000000',
  },
}
SCSS
$custom: #4d1264;
$custom-light: #825891;
$custom-dark: #000000;
JSON
{
  "hex": "#4d1264",
  "rgb": {
    "r": 77,
    "g": 18,
    "b": 100
  },
  "hsl": {
    "h": 283.171,
    "s": 69.492,
    "l": 23.137
  },
  "oklch": {
    "l": 0.32631,
    "c": 0.13826,
    "h": 314.2
  },
  "luminance": 0.0293
}

Semantic roles & 50–950 ramp

primary
#4D1264
secondary
#529C36
accent
#EC3B6D
background
#F8F5F8
surface
#EFE9F0
border
#CAC5CB
text
#0B040D
muted
#7C797D

Preview Lab

Preview with #4D1264

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

Preview Lab → · Contrast checker → · Palette generator →

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