#4D0E6F#4D0E6F

#4D0E6F is a dark, vivid violet. Relative luminance 0.030; OKLCH L 33.2% C 0.153 H 309.4°. Best body text is #FFFFFF at 13.06:1 contrast (WCAG AA passes).

Color values

HEX#4D0E6F
RGBrgb(77, 14, 111)
HSLhsl(279, 78%, 25%)
HSVhsv(279, 87%, 44%)
CMYKcmyk(30.6%, 87.4%, 0%, 56.5%)
CIE-LABlab(20.20, 43.99, -41.56)
CIE-LCHlch(20.20, 60.52, 316.63°)
OKLaboklab(33.22% 0.097 -0.1181)
OKLCHoklch(33.22% 0.153 309.4)
XYZxyz(6.0863, 3.0397, 15.3019)
Luminance0.0304 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D0E6F #306F0E
analogous
#1D0E6F #4D0E6F #6F0E61
triadic
#4D0E6F #6F4D0E #0E6F4D
tetradic
#4D0E6F #6F1D0E #306F0E #0E616F
square
#4D0E6F #6F1D0E #306F0E #0E616F
split-complementary
#4D0E6F #616F0E #0E6F1D
monochromatic
#13031B #270739 #4D0E6F #7315A5 #981CDC

Accessibility & contrast

On white

13.06
#4D0E6F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.61
#4D0E6F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4D0E6F
13.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D0E6F#FFFFFF#000000##FFFFFF
##4D0E6F1.0013.061.6113.06
#FFFFFF13.061.0021.001.00
#0000001.6121.001.0021.00
##FFFFFF13.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002E72
Deuteranopia (green-blind)
#00316D
Tritanopia (blue-blind)
#482940
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #4d0e6f;
/* rgb */ color: rgb(77, 14, 111);
/* oklch */ color: oklch(33.2% 0.153 309.4);
Tailwind
colors: {
  custom: {
    50: '#835799',
    500: '#4d0e6f',
    950: '#000000',
  },
}
SCSS
$custom: #4d0e6f;
$custom-light: #835799;
$custom-dark: #000000;
JSON
{
  "hex": "#4d0e6f",
  "rgb": {
    "r": 77,
    "g": 14,
    "b": 111
  },
  "hsl": {
    "h": 278.969,
    "s": 77.6,
    "l": 24.51
  },
  "oklch": {
    "l": 0.33223,
    "c": 0.15283,
    "h": 309.4
  },
  "luminance": 0.0304
}

Semantic roles & 50–950 ramp

primary
#4D0E6F
secondary
#5BA732
accent
#F43477
background
#F8F5F9
surface
#EFE9F2
border
#CAC5CC
text
#0B030E
muted
#7C787E

Preview Lab

Preview with #4D0E6F

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

Preview Lab → · Contrast checker → · Palette generator →

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