#4C208E#4C208E

#4C208E is a dark, vivid violet. Relative luminance 0.045; OKLCH L 37.6% C 0.167 H 295.3°. Best body text is #FFFFFF at 11.03:1 contrast (WCAG AA passes).

Color values

HEX#4C208E
RGBrgb(76, 32, 142)
HSLhsl(264, 63%, 34%)
HSVhsv(264, 77%, 56%)
CMYKcmyk(46.5%, 77.5%, 0%, 44.3%)
CIE-LABlab(25.33, 44.38, -52.85)
CIE-LCHlch(25.33, 69.02, 310.02°)
OKLaboklab(37.63% 0.0715 -0.1515)
OKLCHoklch(37.63% 0.167 295.3)
XYZxyz(8.3782, 4.5223, 26.0174)
Luminance0.0452 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C208E #628E20
analogous
#202B8E #4C208E #83208E
triadic
#4C208E #8E4C20 #208E4C
tetradic
#4C208E #8E202B #628E20 #208E83
square
#4C208E #8E202B #628E20 #208E83
split-complementary
#4C208E #8E8320 #2B8E20
monochromatic
#17092A #31155C #4C208E #672BC0 #8751D8

Accessibility & contrast

On white

11.03
#4C208E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.90
#4C208E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4C208E
11.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C208E#FFFFFF#000000##FFFFFF
##4C208E1.0011.031.9011.03
#FFFFFF11.031.0021.001.00
#0000001.9021.001.0021.00
##FFFFFF11.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003D91
Deuteranopia (green-blind)
#003A8C
Tritanopia (blue-blind)
#393E56
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #4c208e;
/* rgb */ color: rgb(76, 32, 142);
/* oklch */ color: oklch(37.6% 0.167 295.3);
Tailwind
colors: {
  custom: {
    50: '#8561b0',
    500: '#4c208e',
    950: '#000000',
  },
}
SCSS
$custom: #4c208e;
$custom-light: #8561b0;
$custom-dark: #000000;
JSON
{
  "hex": "#4c208e",
  "rgb": {
    "r": 76,
    "g": 32,
    "b": 142
  },
  "hsl": {
    "h": 264,
    "s": 63.218,
    "l": 34.118
  },
  "oklch": {
    "l": 0.37631,
    "c": 0.16747,
    "h": 295.3
  },
  "luminance": 0.04523
}

Semantic roles & 50–950 ramp

primary
#4C208E
secondary
#90BB4F
accent
#E642A4
background
#F8F5FA
surface
#F0EAF5
border
#CBC6CF
text
#0C0511
muted
#7D7980

Preview Lab

Preview with #4C208E

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

Preview Lab → · Contrast checker → · Palette generator →

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