#4C206D#4C206D

#4C206D is a dark, vivid violet. Relative luminance 0.037; OKLCH L 34.8% C 0.129 H 307.1°. Best body text is #FFFFFF at 12.11:1 contrast (WCAG AA passes).

Color values

HEX#4C206D
RGBrgb(76, 32, 109)
HSLhsl(274, 55%, 28%)
HSVhsv(274, 71%, 43%)
CMYKcmyk(30.3%, 70.6%, 0%, 57.3%)
CIE-LABlab(22.56, 35.67, -36.45)
CIE-LCHlch(22.56, 51.00, 314.38°)
OKLaboklab(34.81% 0.0781 -0.1033)
OKLCHoklch(34.81% 0.129 307.1)
XYZxyz(6.2567, 3.6737, 14.8445)
Luminance0.0367 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C206D #416D20
analogous
#26206D #4C206D #6D2067
triadic
#4C206D #6D4C20 #206D4C
tetradic
#4C206D #6D2620 #416D20 #20676D
square
#4C206D #6D2620 #416D20 #20676D
split-complementary
#4C206D #676D20 #206D26
monochromatic
#100718 #2B123E #4C206D #6D2E9C #8D40C7

Accessibility & contrast

On white

12.11
#4C206D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.73
#4C206D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4C206D
12.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C206D#FFFFFF#000000##FFFFFF
##4C206D1.0012.111.7312.11
#FFFFFF12.111.0021.001.00
#0000001.7321.001.0021.00
##FFFFFF12.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00346F
Deuteranopia (green-blind)
#0D366B
Tritanopia (blue-blind)
#473143
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #4c206d;
/* rgb */ color: rgb(76, 32, 109);
/* oklch */ color: oklch(34.8% 0.129 307.1);
Tailwind
colors: {
  custom: {
    50: '#815f97',
    500: '#4c206d',
    950: '#000000',
  },
}
SCSS
$custom: #4c206d;
$custom-light: #815f97;
$custom-dark: #000000;
JSON
{
  "hex": "#4c206d",
  "rgb": {
    "r": 76,
    "g": 32,
    "b": 109
  },
  "hsl": {
    "h": 274.286,
    "s": 54.61,
    "l": 27.647
  },
  "oklch": {
    "l": 0.34807,
    "c": 0.12949,
    "h": 307.1
  },
  "luminance": 0.03674
}

Semantic roles & 50–950 ramp

primary
#4C206D
secondary
#6EA148
accent
#DE4A89
background
#F8F5F9
surface
#EFE9F2
border
#CAC5CC
text
#0B050D
muted
#7C797E

Preview Lab

Preview with #4C206D

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

Preview Lab → · Contrast checker → · Palette generator →

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