#4C2ABD#4C2ABD

#4C2ABD is a dark, highly saturated violet. Relative luminance 0.069; OKLCH L 43.3% C 0.211 H 283.8°. Best body text is #FFFFFF at 8.85:1 contrast (WCAG AA passes).

Color values

HEX#4C2ABD
RGBrgb(76, 42, 189)
HSLhsl(254, 64%, 45%)
HSVhsv(254, 78%, 74%)
CMYKcmyk(59.8%, 77.8%, 0%, 25.9%)
CIE-LABlab(31.50, 52.82, -71.13)
CIE-LCHlch(31.50, 88.60, 306.59°)
OKLaboklab(43.32% 0.0505 -0.205)
OKLCHoklch(43.32% 0.211 283.8)
XYZxyz(12.9909, 6.8657, 48.7749)
Luminance0.0687 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C2ABD #9BBD2A
analogous
#2A51BD #4C2ABD #962ABD
triadic
#4C2ABD #BD4C2A #2ABD4C
tetradic
#4C2ABD #BD2A51 #9BBD2A #2ABD96
square
#4C2ABD #BD2A51 #9BBD2A #2ABD96
split-complementary
#4C2ABD #BD962A #51BD2A
monochromatic
#241459 #381F8B #4C2ABD #6D4DD7 #967FE3

Accessibility & contrast

On white

8.85
#4C2ABD on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.37
#4C2ABD on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4C2ABD
8.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C2ABD#FFFFFF#000000##FFFFFF
##4C2ABD1.008.852.378.85
#FFFFFF8.851.0021.001.00
#0000002.3721.001.0021.00
##FFFFFF8.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004EC1
Deuteranopia (green-blind)
#0045BA
Tritanopia (blue-blind)
#005573
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #4c2abd;
/* rgb */ color: rgb(76, 42, 189);
/* oklch */ color: oklch(43.3% 0.211 283.8);
Tailwind
colors: {
  custom: {
    50: '#8c68d2',
    500: '#4c2abd',
    950: '#000000',
  },
}
SCSS
$custom: #4c2abd;
$custom-light: #8c68d2;
$custom-dark: #000000;
JSON
{
  "hex": "#4c2abd",
  "rgb": {
    "r": 76,
    "g": 42,
    "b": 189
  },
  "hsl": {
    "h": 253.878,
    "s": 63.636,
    "l": 45.294
  },
  "oklch": {
    "l": 0.43317,
    "c": 0.21118,
    "h": 283.8
  },
  "luminance": 0.06867
}

Semantic roles & 50–950 ramp

primary
#4C2ABD
secondary
#B8CB78
accent
#E741C0
background
#F9F6FD
surface
#F2EBFA
border
#CCC6D3
text
#0D0614
muted
#7E7A83

Preview Lab

Preview with #4C2ABD

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

Preview Lab → · Contrast checker → · Palette generator →

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