#4C2EBB#4C2EBB

#4C2EBB is a dark, highly saturated violet. Relative luminance 0.071; OKLCH L 43.6% C 0.205 H 283.7°. Best body text is #FFFFFF at 8.69:1 contrast (WCAG AA passes).

Color values

HEX#4C2EBB
RGBrgb(76, 46, 187)
HSLhsl(253, 61%, 46%)
HSVhsv(253, 75%, 73%)
CMYKcmyk(59.4%, 75.4%, 0%, 26.7%)
CIE-LABlab(31.98, 50.29, -69.16)
CIE-LCHlch(31.98, 85.51, 306.03°)
OKLaboklab(43.6% 0.0484 -0.1993)
OKLCHoklch(43.6% 0.205 283.7)
XYZxyz(12.9244, 7.0775, 47.6891)
Luminance0.0708 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C2EBB #9DBB2E
analogous
#2E56BB #4C2EBB #922EBB
triadic
#4C2EBB #BB4C2E #2EBB4C
tetradic
#4C2EBB #BB2E56 #9DBB2E #2EBB92
square
#4C2EBB #BB2E56 #9DBB2E #2EBB92
split-complementary
#4C2EBB #BB922E #56BB2E
monochromatic
#241659 #38228A #4C2EBB #6E52D4 #9783E0

Accessibility & contrast

On white

8.69
#4C2EBB on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4C2EBB
8.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C2EBB#FFFFFF#000000##FFFFFF
##4C2EBB1.008.692.428.69
#FFFFFF8.691.0021.001.00
#0000002.4221.001.0021.00
##FFFFFF8.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004FBF
Deuteranopia (green-blind)
#0047B8
Tritanopia (blue-blind)
#005673
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #4c2ebb;
/* rgb */ color: rgb(76, 46, 187);
/* oklch */ color: oklch(43.6% 0.205 283.7);
Tailwind
colors: {
  custom: {
    50: '#8b6bd1',
    500: '#4c2ebb',
    950: '#000000',
  },
}
SCSS
$custom: #4c2ebb;
$custom-light: #8b6bd1;
$custom-dark: #000000;
JSON
{
  "hex": "#4c2ebb",
  "rgb": {
    "r": 76,
    "g": 46,
    "b": 187
  },
  "hsl": {
    "h": 252.766,
    "s": 60.515,
    "l": 45.686
  },
  "oklch": {
    "l": 0.43597,
    "c": 0.20511,
    "h": 283.7
  },
  "luminance": 0.07078
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #4C2EBB

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

Preview Lab → · Contrast checker → · Palette generator →

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