#4D0E71#4D0E71

#4D0E71 is a dark, vivid violet. Relative luminance 0.031; OKLCH L 33.4% C 0.155 H 308.5°. Best body text is #FFFFFF at 12.99:1 contrast (WCAG AA passes).

Color values

HEX#4D0E71
RGBrgb(77, 14, 113)
HSLhsl(278, 78%, 25%)
HSVhsv(278, 88%, 44%)
CMYKcmyk(31.9%, 87.6%, 0%, 55.7%)
CIE-LABlab(20.38, 44.45, -42.57)
CIE-LCHlch(20.38, 61.55, 316.23°)
OKLaboklab(33.4% 0.0964 -0.1211)
OKLCHoklch(33.4% 0.155 308.5)
XYZxyz(6.1976, 3.0842, 15.8884)
Luminance0.0308 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D0E71 #32710E
analogous
#1C0E71 #4D0E71 #710E63
triadic
#4D0E71 #714D0E #0E714D
tetradic
#4D0E71 #711C0E #32710E #0E6371
square
#4D0E71 #711C0E #32710E #0E6371
split-complementary
#4D0E71 #63710E #0E711C
monochromatic
#13031B #28073B #4D0E71 #7215A7 #971BDE

Accessibility & contrast

On white

12.99
#4D0E71 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4D0E71
12.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D0E71#FFFFFF#000000##FFFFFF
##4D0E711.0012.991.6212.99
#FFFFFF12.991.0021.001.00
#0000001.6221.001.0021.00
##FFFFFF12.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002F74
Deuteranopia (green-blind)
#00326F
Tritanopia (blue-blind)
#472941
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #4d0e71;
/* rgb */ color: rgb(77, 14, 113);
/* oklch */ color: oklch(33.4% 0.155 308.5);
Tailwind
colors: {
  custom: {
    50: '#83579b',
    500: '#4d0e71',
    950: '#000000',
  },
}
SCSS
$custom: #4d0e71;
$custom-light: #83579b;
$custom-dark: #000000;
JSON
{
  "hex": "#4d0e71",
  "rgb": {
    "r": 77,
    "g": 14,
    "b": 113
  },
  "hsl": {
    "h": 278.182,
    "s": 77.953,
    "l": 24.902
  },
  "oklch": {
    "l": 0.334,
    "c": 0.15475,
    "h": 308.5
  },
  "luminance": 0.03084
}

Semantic roles & 50–950 ramp

primary
#4D0E71
secondary
#5DA932
accent
#F4337A
background
#F8F5F9
surface
#EFE9F2
border
#CAC5CC
text
#0B040E
muted
#7C797E

Preview Lab

Preview with #4D0E71

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

Preview Lab → · Contrast checker → · Palette generator →

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