#4D1763#4D1763

#4D1763 is a dark, vivid purple. Relative luminance 0.031; OKLCH L 33.1% C 0.131 H 314.1°. Best body text is #FFFFFF at 12.98:1 contrast (WCAG AA passes).

Color values

HEX#4D1763
RGBrgb(77, 23, 99)
HSLhsl(283, 62%, 24%)
HSVhsv(283, 77%, 39%)
CMYKcmyk(22.2%, 76.8%, 0%, 61.2%)
CIE-LABlab(20.41, 37.85, -33.39)
CIE-LCHlch(20.41, 50.47, 318.58°)
OKLaboklab(33.06% 0.0914 -0.0942)
OKLCHoklch(33.06% 0.131 314.1)
XYZxyz(5.6187, 3.0916, 12.1027)
Luminance0.0309 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D1763 #2D6317
analogous
#271763 #4D1763 #631753
triadic
#4D1763 #634D17 #17634D
tetradic
#4D1763 #632717 #2D6317 #175363
square
#4D1763 #632717 #2D6317 #175363
split-complementary
#4D1763 #536317 #176327
monochromatic
#130619 #260B31 #4D1763 #742395 #9A2EC6

Accessibility & contrast

On white

12.98
#4D1763 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.62
#4D1763 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4D1763
12.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D1763#FFFFFF#000000##FFFFFF
##4D17631.0012.981.6212.98
#FFFFFF12.981.0021.001.00
#0000001.6221.001.0021.00
##FFFFFF12.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002E65
Deuteranopia (green-blind)
#123261
Tritanopia (blue-blind)
#4B273B
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #4d1763;
/* rgb */ color: rgb(77, 23, 99);
/* oklch */ color: oklch(33.1% 0.131 314.1);
Tailwind
colors: {
  custom: {
    50: '#825a90',
    500: '#4d1763',
    950: '#000000',
  },
}
SCSS
$custom: #4d1763;
$custom-light: #825a90;
$custom-dark: #000000;
JSON
{
  "hex": "#4d1763",
  "rgb": {
    "r": 77,
    "g": 23,
    "b": 99
  },
  "hsl": {
    "h": 282.632,
    "s": 62.295,
    "l": 23.922
  },
  "oklch": {
    "l": 0.33061,
    "c": 0.13125,
    "h": 314.1
  },
  "luminance": 0.03091
}

Semantic roles & 50–950 ramp

primary
#4D1763
secondary
#579A3C
accent
#E54272
background
#F8F5F8
surface
#EFE9F0
border
#CAC5CB
text
#0B040C
muted
#7C797D

Preview Lab

Preview with #4D1763

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

Preview Lab → · Contrast checker → · Palette generator →

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