#4C249F#4C249F

#4C249F is a dark, vivid violet. Relative luminance 0.053; OKLCH L 39.7% C 0.183 H 290.3°. Best body text is #FFFFFF at 10.19:1 contrast (WCAG AA passes).

Color values

HEX#4C249F
RGBrgb(76, 36, 159)
HSLhsl(260, 63%, 38%)
HSVhsv(260, 77%, 62%)
CMYKcmyk(52.2%, 77.4%, 0%, 37.6%)
CIE-LABlab(27.58, 47.17, -59.61)
CIE-LCHlch(27.58, 76.02, 308.35°)
OKLaboklab(39.69% 0.0634 -0.1713)
OKLCHoklch(39.69% 0.183 290.3)
XYZxyz(9.8676, 5.3010, 33.2974)
Luminance0.0530 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C249F #779F24
analogous
#24399F #4C249F #89249F
triadic
#4C249F #9F4C24 #249F4C
tetradic
#4C249F #9F2439 #779F24 #249F89
square
#4C249F #9F2439 #779F24 #249F89
split-complementary
#4C249F #9F8924 #399F24
monochromatic
#1C0D3B #34196D #4C249F #6430D0 #8962DB

Accessibility & contrast

On white

10.19
#4C249F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.06
#4C249F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4C249F
10.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C249F#FFFFFF#000000##FFFFFF
##4C249F1.0010.192.0610.19
#FFFFFF10.191.0021.001.00
#0000002.0621.001.0021.00
##FFFFFF10.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0043A2
Deuteranopia (green-blind)
#003E9D
Tritanopia (blue-blind)
#2E4660
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #4c249f;
/* rgb */ color: rgb(76, 36, 159);
/* oklch */ color: oklch(39.7% 0.183 290.3);
Tailwind
colors: {
  custom: {
    50: '#8764bc',
    500: '#4c249f',
    950: '#000000',
  },
}
SCSS
$custom: #4c249f;
$custom-light: #8764bc;
$custom-dark: #000000;
JSON
{
  "hex": "#4c249f",
  "rgb": {
    "r": 76,
    "g": 36,
    "b": 159
  },
  "hsl": {
    "h": 259.512,
    "s": 63.077,
    "l": 38.235
  },
  "oklch": {
    "l": 0.39691,
    "c": 0.18265,
    "h": 290.3
  },
  "luminance": 0.05301
}

Semantic roles & 50–950 ramp

primary
#4C249F
secondary
#A1C15E
accent
#E642B1
background
#F8F6FB
surface
#F0EBF7
border
#CBC6D0
text
#0C0612
muted
#7D7A81

Preview Lab

Preview with #4C249F

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

Preview Lab → · Contrast checker → · Palette generator →

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