#4C2EB9#4C2EB9

#4C2EB9 is a dark, highly saturated violet. Relative luminance 0.070; OKLCH L 43.4% C 0.203 H 284.0°. Best body text is #FFFFFF at 8.76:1 contrast (WCAG AA passes).

Color values

HEX#4C2EB9
RGBrgb(76, 46, 185)
HSLhsl(253, 60%, 45%)
HSVhsv(253, 75%, 73%)
CMYKcmyk(58.9%, 75.1%, 0%, 27.5%)
CIE-LABlab(31.79, 49.71, -68.29)
CIE-LCHlch(31.79, 84.47, 306.05°)
OKLaboklab(43.4% 0.0489 -0.1968)
OKLCHoklch(43.4% 0.203 284)
XYZxyz(12.7118, 6.9925, 46.5694)
Luminance0.0699 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C2EB9 #9BB92E
analogous
#2E55B9 #4C2EB9 #922EB9
triadic
#4C2EB9 #B94C2E #2EB94C
tetradic
#4C2EB9 #B92E55 #9BB92E #2EB992
square
#4C2EB9 #B92E55 #9BB92E #2EB992
split-complementary
#4C2EB9 #B9922E #55B92E
monochromatic
#241657 #382288 #4C2EB9 #6D51D4 #9682E0

Accessibility & contrast

On white

8.76
#4C2EB9 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.40
#4C2EB9 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4C2EB9
8.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C2EB9#FFFFFF#000000##FFFFFF
##4C2EB91.008.762.408.76
#FFFFFF8.761.0021.001.00
#0000002.4021.001.0021.00
##FFFFFF8.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004FBD
Deuteranopia (green-blind)
#0046B6
Tritanopia (blue-blind)
#065571
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #4c2eb9;
/* rgb */ color: rgb(76, 46, 185);
/* oklch */ color: oklch(43.4% 0.203 284.0);
Tailwind
colors: {
  custom: {
    50: '#8b6acf',
    500: '#4c2eb9',
    950: '#000000',
  },
}
SCSS
$custom: #4c2eb9;
$custom-light: #8b6acf;
$custom-dark: #000000;
JSON
{
  "hex": "#4c2eb9",
  "rgb": {
    "r": 76,
    "g": 46,
    "b": 185
  },
  "hsl": {
    "h": 252.95,
    "s": 60.173,
    "l": 45.294
  },
  "oklch": {
    "l": 0.43403,
    "c": 0.20277,
    "h": 284
  },
  "luminance": 0.06993
}

Semantic roles & 50–950 ramp

primary
#4C2EB9
secondary
#B8C97A
accent
#E344C1
background
#F9F6FC
surface
#F1EBF9
border
#CBC6D2
text
#0D0714
muted
#7E7A82

Preview Lab

Preview with #4C2EB9

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

Preview Lab → · Contrast checker → · Palette generator →

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