#4C216E#4C216E

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

Color values

HEX#4C216E
RGBrgb(76, 33, 110)
HSLhsl(274, 54%, 28%)
HSVhsv(274, 70%, 43%)
CMYKcmyk(30.9%, 70%, 0%, 56.9%)
CIE-LABlab(22.83, 35.40, -36.67)
CIE-LCHlch(22.83, 50.97, 313.99°)
OKLaboklab(35.02% 0.0768 -0.1039)
OKLCHoklch(35.02% 0.129 306.5)
XYZxyz(6.3382, 3.7501, 15.1388)
Luminance0.0375 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C216E #436E21
analogous
#25216E #4C216E #6E2169
triadic
#4C216E #6E4C21 #216E4C
tetradic
#4C216E #6E2521 #436E21 #21696E
square
#4C216E #6E2521 #436E21 #21696E
split-complementary
#4C216E #696E21 #216E25
monochromatic
#100718 #2B133F #4C216E #6D2F9D #8C43C7

Accessibility & contrast

On white

12.00
#4C216E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4C216E
12.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C216E#FFFFFF#000000##FFFFFF
##4C216E1.0012.001.7512.00
#FFFFFF12.001.0021.001.00
#0000001.7521.001.0021.00
##FFFFFF12.001.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #4c216e;
/* rgb */ color: rgb(76, 33, 110);
/* oklch */ color: oklch(35.0% 0.129 306.5);
Tailwind
colors: {
  custom: {
    50: '#816098',
    500: '#4c216e',
    950: '#000000',
  },
}
SCSS
$custom: #4c216e;
$custom-light: #816098;
$custom-dark: #000000;
JSON
{
  "hex": "#4c216e",
  "rgb": {
    "r": 76,
    "g": 33,
    "b": 110
  },
  "hsl": {
    "h": 273.506,
    "s": 53.846,
    "l": 28.039
  },
  "oklch": {
    "l": 0.35021,
    "c": 0.12922,
    "h": 306.5
  },
  "luminance": 0.0375
}

Semantic roles & 50–950 ramp

primary
#4C216E
secondary
#70A249
accent
#DD4B8B
background
#F8F5F9
surface
#EFE9F2
border
#CAC5CC
text
#0B050E
muted
#7C797E

Preview Lab

Preview with #4C216E

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

Preview Lab → · Contrast checker → · Palette generator →

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