#4C2DBF#4C2DBF

#4C2DBF is a dark, highly saturated violet. Relative luminance 0.072; OKLCH L 43.9% C 0.211 H 283.2°. Best body text is #FFFFFF at 8.62:1 contrast (WCAG AA passes).

Color values

HEX#4C2DBF
RGBrgb(76, 45, 191)
HSLhsl(253, 62%, 46%)
HSVhsv(253, 76%, 75%)
CMYKcmyk(60.2%, 76.4%, 0%, 25.1%)
CIE-LABlab(32.20, 51.95, -71.16)
CIE-LCHlch(32.20, 88.11, 306.13°)
OKLaboklab(43.87% 0.0481 -0.2051)
OKLCHoklch(43.87% 0.211 283.2)
XYZxyz(13.3199, 7.1740, 49.9629)
Luminance0.0717 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C2DBF #A0BF2D
analogous
#2D57BF #4C2DBF #952DBF
triadic
#4C2DBF #BF4C2D #2DBF4C
tetradic
#4C2DBF #BF2D57 #A0BF2D #2DBF95
square
#4C2DBF #BF2D57 #A0BF2D #2DBF95
split-complementary
#4C2DBF #BF952D #57BF2D
monochromatic
#25165C #38218D #4C2DBF #6F53D6 #9884E2

Accessibility & contrast

On white

8.62
#4C2DBF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.43
#4C2DBF on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4C2DBF
8.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C2DBF#FFFFFF#000000##FFFFFF
##4C2DBF1.008.622.438.62
#FFFFFF8.621.0021.001.00
#0000002.4321.001.0021.00
##FFFFFF8.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0050C3
Deuteranopia (green-blind)
#0047BC
Tritanopia (blue-blind)
#005775
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #4c2dbf;
/* rgb */ color: rgb(76, 45, 191);
/* oklch */ color: oklch(43.9% 0.211 283.2);
Tailwind
colors: {
  custom: {
    50: '#8c6ad4',
    500: '#4c2dbf',
    950: '#000000',
  },
}
SCSS
$custom: #4c2dbf;
$custom-light: #8c6ad4;
$custom-dark: #000000;
JSON
{
  "hex": "#4c2dbf",
  "rgb": {
    "r": 76,
    "g": 45,
    "b": 191
  },
  "hsl": {
    "h": 252.74,
    "s": 61.864,
    "l": 46.275
  },
  "oklch": {
    "l": 0.43867,
    "c": 0.2107,
    "h": 283.2
  },
  "luminance": 0.07175
}

Semantic roles & 50–950 ramp

primary
#4C2DBF
secondary
#BBCB7C
accent
#E543C3
background
#F9F6FD
surface
#F2EBFA
border
#CCC6D3
text
#0D0714
muted
#7E7A83

Preview Lab

Preview with #4C2DBF

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

Preview Lab → · Contrast checker → · Palette generator →

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