#4D1765#4D1765

#4D1765 is a dark, vivid purple. Relative luminance 0.031; OKLCH L 33.2% C 0.133 H 313.1°. Best body text is #FFFFFF at 12.92:1 contrast (WCAG AA passes).

Color values

HEX#4D1765
RGBrgb(77, 23, 101)
HSLhsl(282, 63%, 24%)
HSVhsv(282, 77%, 40%)
CMYKcmyk(23.8%, 77.2%, 0%, 60.4%)
CIE-LABlab(20.56, 38.31, -34.46)
CIE-LCHlch(20.56, 51.53, 318.03°)
OKLaboklab(33.22% 0.0911 -0.0973)
OKLCHoklch(33.22% 0.133 313.1)
XYZxyz(5.7155, 3.1303, 12.6125)
Luminance0.0313 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D1765 #2F6517
analogous
#261765 #4D1765 #651756
triadic
#4D1765 #654D17 #17654D
tetradic
#4D1765 #652617 #2F6517 #175665
square
#4D1765 #652617 #2F6517 #175665
split-complementary
#4D1765 #566517 #176526
monochromatic
#130619 #270C33 #4D1765 #732297 #992EC9

Accessibility & contrast

On white

12.92
#4D1765 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.63
#4D1765 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4D1765
12.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D1765#FFFFFF#000000##FFFFFF
##4D17651.0012.921.6312.92
#FFFFFF12.921.0021.001.00
#0000001.6321.001.0021.00
##FFFFFF12.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002F67
Deuteranopia (green-blind)
#0F3363
Tritanopia (blue-blind)
#4A283C
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #4d1765;
/* rgb */ color: rgb(77, 23, 101);
/* oklch */ color: oklch(33.2% 0.133 313.1);
Tailwind
colors: {
  custom: {
    50: '#825a91',
    500: '#4d1765',
    950: '#000000',
  },
}
SCSS
$custom: #4d1765;
$custom-light: #825a91;
$custom-dark: #000000;
JSON
{
  "hex": "#4d1765",
  "rgb": {
    "r": 77,
    "g": 23,
    "b": 101
  },
  "hsl": {
    "h": 281.538,
    "s": 62.903,
    "l": 24.314
  },
  "oklch": {
    "l": 0.33217,
    "c": 0.13333,
    "h": 313.1
  },
  "luminance": 0.0313
}

Semantic roles & 50–950 ramp

primary
#4D1765
secondary
#5A9B3C
accent
#E64274
background
#F8F5F9
surface
#EFE9F1
border
#CAC5CB
text
#0B040D
muted
#7C797E

Preview Lab

Preview with #4D1765

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

Preview Lab → · Contrast checker → · Palette generator →

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