#4C206C#4C206C

#4C206C is a dark, vivid violet. Relative luminance 0.037; OKLCH L 34.7% C 0.128 H 307.6°. Best body text is #FFFFFF at 12.14:1 contrast (WCAG AA passes).

Color values

HEX#4C206C
RGBrgb(76, 32, 108)
HSLhsl(275, 54%, 27%)
HSVhsv(275, 70%, 42%)
CMYKcmyk(29.6%, 70.4%, 0%, 57.6%)
CIE-LABlab(22.49, 35.42, -35.92)
CIE-LCHlch(22.49, 50.45, 314.59°)
OKLaboklab(34.73% 0.0783 -0.1017)
OKLCHoklch(34.73% 0.128 307.6)
XYZxyz(6.2032, 3.6523, 14.5626)
Luminance0.0365 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C206C #406C20
analogous
#26206C #4C206C #6C2066
triadic
#4C206C #6C4C20 #206C4C
tetradic
#4C206C #6C2620 #406C20 #20666C
square
#4C206C #6C2620 #406C20 #20666C
split-complementary
#4C206C #666C20 #206C26
monochromatic
#110718 #2B123D #4C206C #6D2E9B #8E40C6

Accessibility & contrast

On white

12.14
#4C206C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4C206C
12.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C206C#FFFFFF#000000##FFFFFF
##4C206C1.0012.141.7312.14
#FFFFFF12.141.0021.001.00
#0000001.7321.001.0021.00
##FFFFFF12.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00346E
Deuteranopia (green-blind)
#0F366A
Tritanopia (blue-blind)
#473043
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #4c206c;
/* rgb */ color: rgb(76, 32, 108);
/* oklch */ color: oklch(34.7% 0.128 307.6);
Tailwind
colors: {
  custom: {
    50: '#815f97',
    500: '#4c206c',
    950: '#000000',
  },
}
SCSS
$custom: #4c206c;
$custom-light: #815f97;
$custom-dark: #000000;
JSON
{
  "hex": "#4c206c",
  "rgb": {
    "r": 76,
    "g": 32,
    "b": 108
  },
  "hsl": {
    "h": 274.737,
    "s": 54.286,
    "l": 27.451
  },
  "oklch": {
    "l": 0.34729,
    "c": 0.12834,
    "h": 307.6
  },
  "luminance": 0.03652
}

Semantic roles & 50–950 ramp

primary
#4C206C
secondary
#6DA048
accent
#DE4A88
background
#F8F5F9
surface
#EFE9F2
border
#CAC5CC
text
#0B050D
muted
#7C797E

Preview Lab

Preview with #4C206C

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

Preview Lab → · Contrast checker → · Palette generator →

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