#4D206E#4D206E

#4D206E is a dark, vivid violet. Relative luminance 0.037; OKLCH L 35.0% C 0.131 H 307.4°. Best body text is #FFFFFF at 12.02:1 contrast (WCAG AA passes).

Color values

HEX#4D206E
RGBrgb(77, 32, 110)
HSLhsl(275, 55%, 28%)
HSVhsv(275, 71%, 43%)
CMYKcmyk(30%, 70.9%, 0%, 56.9%)
CIE-LABlab(22.78, 36.16, -36.73)
CIE-LCHlch(22.78, 51.55, 314.55°)
OKLaboklab(35.02% 0.0795 -0.1041)
OKLCHoklch(35.02% 0.131 307.4)
XYZxyz(6.3910, 3.7367, 15.1334)
Luminance0.0374 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D206E #416E20
analogous
#26206E #4D206E #6E2068
triadic
#4D206E #6E4D20 #206E4D
tetradic
#4D206E #6E2620 #416E20 #20686E
square
#4D206E #6E2620 #416E20 #20686E
split-complementary
#4D206E #686E20 #206E26
monochromatic
#110718 #2C123F #4D206E #6E2E9D #8F41C8

Accessibility & contrast

On white

12.02
#4D206E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4D206E
12.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D206E#FFFFFF#000000##FFFFFF
##4D206E1.0012.021.7512.02
#FFFFFF12.021.0021.001.00
#0000001.7521.001.0021.00
##FFFFFF12.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003570
Deuteranopia (green-blind)
#0D376C
Tritanopia (blue-blind)
#483144
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #4d206e;
/* rgb */ color: rgb(77, 32, 110);
/* oklch */ color: oklch(35.0% 0.131 307.4);
Tailwind
colors: {
  custom: {
    50: '#825f98',
    500: '#4d206e',
    950: '#000000',
  },
}
SCSS
$custom: #4d206e;
$custom-light: #825f98;
$custom-dark: #000000;
JSON
{
  "hex": "#4d206e",
  "rgb": {
    "r": 77,
    "g": 32,
    "b": 110
  },
  "hsl": {
    "h": 274.615,
    "s": 54.93,
    "l": 27.843
  },
  "oklch": {
    "l": 0.35019,
    "c": 0.13095,
    "h": 307.4
  },
  "luminance": 0.03737
}

Semantic roles & 50–950 ramp

primary
#4D206E
secondary
#6EA248
accent
#DE4A88
background
#F8F5F9
surface
#EFE9F2
border
#CAC5CC
text
#0B050E
muted
#7C797E

Preview Lab

Preview with #4D206E

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

Preview Lab → · Contrast checker → · Palette generator →

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