#4D0E72#4D0E72

#4D0E72 is a dark, vivid violet. Relative luminance 0.031; OKLCH L 33.5% C 0.156 H 308.1°. Best body text is #FFFFFF at 12.95:1 contrast (WCAG AA passes).

Color values

HEX#4D0E72
RGBrgb(77, 14, 114)
HSLhsl(278, 78%, 25%)
HSVhsv(278, 88%, 45%)
CMYKcmyk(32.5%, 87.7%, 0%, 55.3%)
CIE-LABlab(20.47, 44.67, -43.07)
CIE-LCHlch(20.47, 62.06, 316.04°)
OKLaboklab(33.49% 0.096 -0.1226)
OKLCHoklch(33.49% 0.156 308.1)
XYZxyz(6.2542, 3.1069, 16.1865)
Luminance0.0311 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D0E72 #33720E
analogous
#1B0E72 #4D0E72 #720E65
triadic
#4D0E72 #724D0E #0E724D
tetradic
#4D0E72 #721B0E #33720E #0E6572
square
#4D0E72 #721B0E #33720E #0E6572
split-complementary
#4D0E72 #65720E #0E721B
monochromatic
#12031B #28073B #4D0E72 #7215A9 #971BDF

Accessibility & contrast

On white

12.95
#4D0E72 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4D0E72
12.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D0E72#FFFFFF#000000##FFFFFF
##4D0E721.0012.951.6212.95
#FFFFFF12.951.0021.001.00
#0000001.6221.001.0021.00
##FFFFFF12.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002F75
Deuteranopia (green-blind)
#003270
Tritanopia (blue-blind)
#472A42
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #4d0e72;
/* rgb */ color: rgb(77, 14, 114);
/* oklch */ color: oklch(33.5% 0.156 308.1);
Tailwind
colors: {
  custom: {
    50: '#84579b',
    500: '#4d0e72',
    950: '#000000',
  },
}
SCSS
$custom: #4d0e72;
$custom-light: #84579b;
$custom-dark: #000000;
JSON
{
  "hex": "#4d0e72",
  "rgb": {
    "r": 77,
    "g": 14,
    "b": 114
  },
  "hsl": {
    "h": 277.8,
    "s": 78.125,
    "l": 25.098
  },
  "oklch": {
    "l": 0.33489,
    "c": 0.15571,
    "h": 308.1
  },
  "luminance": 0.03107
}

Semantic roles & 50–950 ramp

primary
#4D0E72
secondary
#5EAA32
accent
#F5337B
background
#F8F5F9
surface
#F0E9F2
border
#CBC5CC
text
#0B040E
muted
#7C797E

Preview Lab

Preview with #4D0E72

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

Preview Lab → · Contrast checker → · Palette generator →

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