#4C206F#4C206F

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

Color values

HEX#4C206F
RGBrgb(76, 32, 111)
HSLhsl(273, 55%, 28%)
HSVhsv(273, 71%, 44%)
CMYKcmyk(31.5%, 71.2%, 0%, 56.5%)
CIE-LABlab(22.71, 36.18, -37.50)
CIE-LCHlch(22.71, 52.11, 313.98°)
OKLaboklab(34.96% 0.0779 -0.1063)
OKLCHoklch(34.96% 0.132 306.2)
XYZxyz(6.3656, 3.7173, 15.4180)
Luminance0.0372 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C206F #436F20
analogous
#24206F #4C206F #6F206A
triadic
#4C206F #6F4C20 #206F4C
tetradic
#4C206F #6F2420 #436F20 #206A6F
square
#4C206F #6F2420 #436F20 #206A6F
split-complementary
#4C206F #6A6F20 #206F24
monochromatic
#100718 #2B123F #4C206F #6D2E9F #8C41C8

Accessibility & contrast

On white

12.05
#4C206F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.74
#4C206F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4C206F
12.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C206F#FFFFFF#000000##FFFFFF
##4C206F1.0012.051.7412.05
#FFFFFF12.051.0021.001.00
#0000001.7421.001.0021.00
##FFFFFF12.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003571
Deuteranopia (green-blind)
#09366D
Tritanopia (blue-blind)
#463144
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #4c206f;
/* rgb */ color: rgb(76, 32, 111);
/* oklch */ color: oklch(35.0% 0.132 306.2);
Tailwind
colors: {
  custom: {
    50: '#815f99',
    500: '#4c206f',
    950: '#000000',
  },
}
SCSS
$custom: #4c206f;
$custom-light: #815f99;
$custom-dark: #000000;
JSON
{
  "hex": "#4c206f",
  "rgb": {
    "r": 76,
    "g": 32,
    "b": 111
  },
  "hsl": {
    "h": 273.418,
    "s": 55.245,
    "l": 28.039
  },
  "oklch": {
    "l": 0.34964,
    "c": 0.13183,
    "h": 306.2
  },
  "luminance": 0.03717
}

Semantic roles & 50–950 ramp

primary
#4C206F
secondary
#70A348
accent
#DF498B
background
#F8F5F9
surface
#EFE9F2
border
#CAC5CC
text
#0B050E
muted
#7C797E

Preview Lab

Preview with #4C206F

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

Preview Lab → · Contrast checker → · Palette generator →

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