#4E206C#4E206C

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

Color values

HEX#4E206C
RGBrgb(78, 32, 108)
HSLhsl(276, 54%, 27%)
HSVhsv(276, 70%, 42%)
CMYKcmyk(27.8%, 70.4%, 0%, 57.6%)
CIE-LABlab(22.78, 35.90, -35.44)
CIE-LCHlch(22.78, 50.44, 315.37°)
OKLaboklab(35% 0.0812 -0.1002)
OKLCHoklch(35% 0.129 309)
XYZxyz(6.3646, 3.7355, 14.5702)
Luminance0.0374 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E206C #3E6C20
analogous
#28206C #4E206C #6C2064
triadic
#4E206C #6C4E20 #206C4E
tetradic
#4E206C #6C2820 #3E6C20 #20646C
square
#4E206C #6C2820 #3E6C20 #20646C
split-complementary
#4E206C #646C20 #206C28
monochromatic
#110718 #2C123D #4E206C #702E9B #9140C6

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##4E206C#FFFFFF#000000##FFFFFF
##4E206C1.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)
#00346E
Deuteranopia (green-blind)
#12376A
Tritanopia (blue-blind)
#4A3043
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #4e206c;
/* rgb */ color: rgb(78, 32, 108);
/* oklch */ color: oklch(35.0% 0.129 309.0);
Tailwind
colors: {
  custom: {
    50: '#835f97',
    500: '#4e206c',
    950: '#000000',
  },
}
SCSS
$custom: #4e206c;
$custom-light: #835f97;
$custom-dark: #000000;
JSON
{
  "hex": "#4e206c",
  "rgb": {
    "r": 78,
    "g": 32,
    "b": 108
  },
  "hsl": {
    "h": 276.316,
    "s": 54.286,
    "l": 27.451
  },
  "oklch": {
    "l": 0.35,
    "c": 0.12897,
    "h": 309
  },
  "luminance": 0.03735
}

Semantic roles & 50–950 ramp

primary
#4E206C
secondary
#6BA048
accent
#DE4A84
background
#F8F5F9
surface
#EFE9F2
border
#CAC5CC
text
#0B050D
muted
#7C797E

Preview Lab

Preview with #4E206C

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

Preview Lab → · Contrast checker → · Palette generator →

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