#4D1769#4D1769

#4D1769 is a dark, vivid violet. Relative luminance 0.032; OKLCH L 33.5% C 0.138 H 311.1°. Best body text is #FFFFFF at 12.79:1 contrast (WCAG AA passes).

Color values

HEX#4D1769
RGBrgb(77, 23, 105)
HSLhsl(280, 64%, 25%)
HSVhsv(280, 78%, 41%)
CMYKcmyk(26.7%, 78.1%, 0%, 58.8%)
CIE-LABlab(20.87, 39.24, -36.58)
CIE-LCHlch(20.87, 53.65, 317.01°)
OKLaboklab(33.53% 0.0905 -0.1035)
OKLCHoklch(33.53% 0.138 311.1)
XYZxyz(5.9163, 3.2106, 13.6699)
Luminance0.0321 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D1769 #336917
analogous
#241769 #4D1769 #69175C
triadic
#4D1769 #694D17 #17694D
tetradic
#4D1769 #692417 #336917 #175C69
square
#4D1769 #692417 #336917 #175C69
split-complementary
#4D1769 #5C6917 #176924
monochromatic
#120519 #280C37 #4D1769 #72229B #972DCD

Accessibility & contrast

On white

12.79
#4D1769 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.64
#4D1769 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4D1769
12.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D1769#FFFFFF#000000##FFFFFF
##4D17691.0012.791.6412.79
#FFFFFF12.791.0021.001.00
#0000001.6421.001.0021.00
##FFFFFF12.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00306B
Deuteranopia (green-blind)
#083367
Tritanopia (blue-blind)
#492A3F
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #4d1769;
/* rgb */ color: rgb(77, 23, 105);
/* oklch */ color: oklch(33.5% 0.138 311.1);
Tailwind
colors: {
  custom: {
    50: '#825a94',
    500: '#4d1769',
    950: '#000000',
  },
}
SCSS
$custom: #4d1769;
$custom-light: #825a94;
$custom-dark: #000000;
JSON
{
  "hex": "#4d1769",
  "rgb": {
    "r": 77,
    "g": 23,
    "b": 105
  },
  "hsl": {
    "h": 279.512,
    "s": 64.063,
    "l": 25.098
  },
  "oklch": {
    "l": 0.33535,
    "c": 0.1375,
    "h": 311.1
  },
  "luminance": 0.0321
}

Semantic roles & 50–950 ramp

primary
#4D1769
secondary
#5E9F3D
accent
#E7417A
background
#F8F5F9
surface
#EFE9F1
border
#CAC5CB
text
#0B040D
muted
#7C797E

Preview Lab

Preview with #4D1769

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

Preview Lab → · Contrast checker → · Palette generator →

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