#4C249C#4C249C

#4C249C is a dark, vivid violet. Relative luminance 0.052; OKLCH L 39.4% C 0.179 H 291.0°. Best body text is #FFFFFF at 10.30:1 contrast (WCAG AA passes).

Color values

HEX#4C249C
RGBrgb(76, 36, 156)
HSLhsl(260, 63%, 38%)
HSVhsv(260, 77%, 61%)
CMYKcmyk(51.3%, 76.9%, 0%, 38.8%)
CIE-LABlab(27.29, 46.33, -58.25)
CIE-LCHlch(27.29, 74.43, 308.50°)
OKLaboklab(39.41% 0.0642 -0.1673)
OKLCHoklch(39.41% 0.179 291)
XYZxyz(9.6104, 5.1982, 31.9430)
Luminance0.0520 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C249C #749C24
analogous
#24389C #4C249C #88249C
triadic
#4C249C #9C4C24 #249C4C
tetradic
#4C249C #9C2438 #749C24 #249C88
square
#4C249C #9C2438 #749C24 #249C88
split-complementary
#4C249C #9C8824 #389C24
monochromatic
#1C0D39 #34196A #4C249C #642FCE #8960DA

Accessibility & contrast

On white

10.30
#4C249C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.04
#4C249C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4C249C
10.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C249C#FFFFFF#000000##FFFFFF
##4C249C1.0010.302.0410.30
#FFFFFF10.301.0021.001.00
#0000002.0421.001.0021.00
##FFFFFF10.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00429F
Deuteranopia (green-blind)
#003E9A
Tritanopia (blue-blind)
#30455F
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #4c249c;
/* rgb */ color: rgb(76, 36, 156);
/* oklch */ color: oklch(39.4% 0.179 291.0);
Tailwind
colors: {
  custom: {
    50: '#8763ba',
    500: '#4c249c',
    950: '#000000',
  },
}
SCSS
$custom: #4c249c;
$custom-light: #8763ba;
$custom-dark: #000000;
JSON
{
  "hex": "#4c249c",
  "rgb": {
    "r": 76,
    "g": 36,
    "b": 156
  },
  "hsl": {
    "h": 260,
    "s": 62.5,
    "l": 37.647
  },
  "oklch": {
    "l": 0.39406,
    "c": 0.17922,
    "h": 291
  },
  "luminance": 0.05199
}

Semantic roles & 50–950 ramp

primary
#4C249C
secondary
#9EBF5C
accent
#E642AF
background
#F8F6FB
surface
#F0EBF6
border
#CBC6D0
text
#0C0612
muted
#7D7A81

Preview Lab

Preview with #4C249C

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

Preview Lab → · Contrast checker → · Palette generator →

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