#4D206F#4D206F

#4D206F is a dark, vivid violet. Relative luminance 0.038; OKLCH L 35.1% C 0.132 H 306.9°. Best body text is #FFFFFF at 11.99:1 contrast (WCAG AA passes).

Color values

HEX#4D206F
RGBrgb(77, 32, 111)
HSLhsl(274, 55%, 28%)
HSVhsv(274, 71%, 44%)
CMYKcmyk(30.6%, 71.2%, 0%, 56.5%)
CIE-LABlab(22.86, 36.41, -37.26)
CIE-LCHlch(22.86, 52.10, 314.34°)
OKLaboklab(35.1% 0.0794 -0.1056)
OKLCHoklch(35.1% 0.132 306.9)
XYZxyz(6.4457, 3.7586, 15.4218)
Luminance0.0376 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D206F #426F20
analogous
#25206F #4D206F #6F2069
triadic
#4D206F #6F4D20 #206F4D
tetradic
#4D206F #6F2520 #426F20 #20696F
square
#4D206F #6F2520 #426F20 #20696F
split-complementary
#4D206F #696F20 #206F25
monochromatic
#100718 #2C123F #4D206F #6E2E9F #8E41C8

Accessibility & contrast

On white

11.99
#4D206F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.75
#4D206F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4D206F
11.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D206F#FFFFFF#000000##FFFFFF
##4D206F1.0011.991.7511.99
#FFFFFF11.991.0021.001.00
#0000001.7521.001.0021.00
##FFFFFF11.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003571
Deuteranopia (green-blind)
#0B376D
Tritanopia (blue-blind)
#473144
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #4d206f;
/* rgb */ color: rgb(77, 32, 111);
/* oklch */ color: oklch(35.1% 0.132 306.9);
Tailwind
colors: {
  custom: {
    50: '#825f99',
    500: '#4d206f',
    950: '#000000',
  },
}
SCSS
$custom: #4d206f;
$custom-light: #825f99;
$custom-dark: #000000;
JSON
{
  "hex": "#4d206f",
  "rgb": {
    "r": 77,
    "g": 32,
    "b": 111
  },
  "hsl": {
    "h": 274.177,
    "s": 55.245,
    "l": 28.039
  },
  "oklch": {
    "l": 0.35097,
    "c": 0.13211,
    "h": 306.9
  },
  "luminance": 0.03759
}

Semantic roles & 50–950 ramp

primary
#4D206F
secondary
#6FA348
accent
#DF498A
background
#F8F5F9
surface
#EFE9F2
border
#CAC5CC
text
#0B050E
muted
#7C797E

Preview Lab

Preview with #4D206F

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

Preview Lab → · Contrast checker → · Palette generator →

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