#4C2EBC#4C2EBC

#4C2EBC is a dark, highly saturated violet. Relative luminance 0.071; OKLCH L 43.7% C 0.206 H 283.5°. Best body text is #FFFFFF at 8.66:1 contrast (WCAG AA passes).

Color values

HEX#4C2EBC
RGBrgb(76, 46, 188)
HSLhsl(253, 61%, 46%)
HSVhsv(253, 76%, 74%)
CMYKcmyk(59.6%, 75.5%, 0%, 26.3%)
CIE-LABlab(32.08, 50.59, -69.59)
CIE-LCHlch(32.08, 86.03, 306.01°)
OKLaboklab(43.69% 0.0482 -0.2006)
OKLCHoklch(43.69% 0.206 283.5)
XYZxyz(13.0318, 7.1205, 48.2549)
Luminance0.0712 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C2EBC #9EBC2E
analogous
#2E57BC #4C2EBC #932EBC
triadic
#4C2EBC #BC4C2E #2EBC4C
tetradic
#4C2EBC #BC2E57 #9EBC2E #2EBC93
square
#4C2EBC #BC2E57 #9EBC2E #2EBC93
split-complementary
#4C2EBC #BC932E #57BC2E
monochromatic
#24165A #38228B #4C2EBC #6E52D5 #9784E1

Accessibility & contrast

On white

8.66
#4C2EBC on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.42
#4C2EBC on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4C2EBC
8.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C2EBC#FFFFFF#000000##FFFFFF
##4C2EBC1.008.662.428.66
#FFFFFF8.661.0021.001.00
#0000002.4221.001.0021.00
##FFFFFF8.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0050C0
Deuteranopia (green-blind)
#0047B9
Tritanopia (blue-blind)
#005673
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #4c2ebc;
/* rgb */ color: rgb(76, 46, 188);
/* oklch */ color: oklch(43.7% 0.206 283.5);
Tailwind
colors: {
  custom: {
    50: '#8b6bd1',
    500: '#4c2ebc',
    950: '#000000',
  },
}
SCSS
$custom: #4c2ebc;
$custom-light: #8b6bd1;
$custom-dark: #000000;
JSON
{
  "hex": "#4c2ebc",
  "rgb": {
    "r": 76,
    "g": 46,
    "b": 188
  },
  "hsl": {
    "h": 252.676,
    "s": 60.684,
    "l": 45.882
  },
  "oklch": {
    "l": 0.43694,
    "c": 0.20627,
    "h": 283.5
  },
  "luminance": 0.07121
}

Semantic roles & 50–950 ramp

primary
#4C2EBC
secondary
#B9CA7C
accent
#E444C2
background
#F9F6FD
surface
#F1EBFA
border
#CBC6D3
text
#0D0714
muted
#7E7A83

Preview Lab

Preview with #4C2EBC

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

Preview Lab → · Contrast checker → · Palette generator →

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