#4D1263#4D1263

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

Color values

HEX#4D1263
RGBrgb(77, 18, 99)
HSLhsl(284, 69%, 23%)
HSVhsv(284, 82%, 39%)
CMYKcmyk(22.2%, 81.8%, 0%, 61.2%)
CIE-LABlab(19.69, 39.91, -34.56)
CIE-LCHlch(19.69, 52.79, 319.11°)
OKLaboklab(32.55% 0.0966 -0.0976)
OKLCHoklch(32.55% 0.137 314.7)
XYZxyz(5.5286, 2.9114, 12.0727)
Luminance0.0291 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D1263 #286312
analogous
#251263 #4D1263 #631250
triadic
#4D1263 #634D12 #12634D
tetradic
#4D1263 #632512 #286312 #125063
square
#4D1263 #632512 #286312 #125063
split-complementary
#4D1263 #506312 #126325
monochromatic
#14051A #25092F #4D1263 #751B97 #9E25CB

Accessibility & contrast

On white

13.27
#4D1263 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.58
#4D1263 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4D1263
13.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D1263#FFFFFF#000000##FFFFFF
##4D12631.0013.271.5813.27
#FFFFFF13.271.0021.001.00
#0000001.5821.001.0021.00
##FFFFFF13.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002C65
Deuteranopia (green-blind)
#0D3161
Tritanopia (blue-blind)
#4B253A
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #4d1263;
/* rgb */ color: rgb(77, 18, 99);
/* oklch */ color: oklch(32.6% 0.137 314.7);
Tailwind
colors: {
  custom: {
    50: '#825890',
    500: '#4d1263',
    950: '#000000',
  },
}
SCSS
$custom: #4d1263;
$custom-light: #825890;
$custom-dark: #000000;
JSON
{
  "hex": "#4d1263",
  "rgb": {
    "r": 77,
    "g": 18,
    "b": 99
  },
  "hsl": {
    "h": 283.704,
    "s": 69.231,
    "l": 22.941
  },
  "oklch": {
    "l": 0.3255,
    "c": 0.13728,
    "h": 314.7
  },
  "luminance": 0.02911
}

Semantic roles & 50–950 ramp

primary
#4D1263
secondary
#519B36
accent
#EC3C6C
background
#F8F5F8
surface
#EFE9F0
border
#CAC5CB
text
#0B040C
muted
#7C797D

Preview Lab

Preview with #4D1263

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

Preview Lab → · Contrast checker → · Palette generator →

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