#4C206E#4C206E

#4C206E is a dark, vivid violet. Relative luminance 0.037; OKLCH L 34.9% C 0.131 H 306.7°. Best body text is #FFFFFF at 12.08:1 contrast (WCAG AA passes).

Color values

HEX#4C206E
RGBrgb(76, 32, 110)
HSLhsl(274, 55%, 28%)
HSVhsv(274, 71%, 43%)
CMYKcmyk(30.9%, 70.9%, 0%, 56.9%)
CIE-LABlab(22.64, 35.92, -36.97)
CIE-LCHlch(22.64, 51.55, 314.18°)
OKLaboklab(34.89% 0.078 -0.1048)
OKLCHoklch(34.89% 0.131 306.7)
XYZxyz(6.3109, 3.6954, 15.1296)
Luminance0.0369 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C206E #426E20
analogous
#25206E #4C206E #6E2069
triadic
#4C206E #6E4C20 #206E4C
tetradic
#4C206E #6E2520 #426E20 #20696E
square
#4C206E #6E2520 #426E20 #20696E
split-complementary
#4C206E #696E20 #206E25
monochromatic
#100718 #2B123F #4C206E #6D2E9D #8D41C8

Accessibility & contrast

On white

12.08
#4C206E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4C206E
12.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C206E#FFFFFF#000000##FFFFFF
##4C206E1.0012.081.7412.08
#FFFFFF12.081.0021.001.00
#0000001.7421.001.0021.00
##FFFFFF12.081.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #4c206e;
/* rgb */ color: rgb(76, 32, 110);
/* oklch */ color: oklch(34.9% 0.131 306.7);
Tailwind
colors: {
  custom: {
    50: '#815f98',
    500: '#4c206e',
    950: '#000000',
  },
}
SCSS
$custom: #4c206e;
$custom-light: #815f98;
$custom-dark: #000000;
JSON
{
  "hex": "#4c206e",
  "rgb": {
    "r": 76,
    "g": 32,
    "b": 110
  },
  "hsl": {
    "h": 273.846,
    "s": 54.93,
    "l": 27.843
  },
  "oklch": {
    "l": 0.34885,
    "c": 0.13066,
    "h": 306.7
  },
  "luminance": 0.03695
}

Semantic roles & 50–950 ramp

primary
#4C206E
secondary
#6FA248
accent
#DE4A8A
background
#F8F5F9
surface
#EFE9F2
border
#CAC5CC
text
#0B050E
muted
#7C797E

Preview Lab

Preview with #4C206E

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

Preview Lab → · Contrast checker → · Palette generator →

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