#4C247D#4C247D

#4C247D is a dark, vivid violet. Relative luminance 0.043; OKLCH L 36.6% C 0.143 H 299.9°. Best body text is #FFFFFF at 11.32:1 contrast (WCAG AA passes).

Color values

HEX#4C247D
RGBrgb(76, 36, 125)
HSLhsl(267, 55%, 32%)
HSVhsv(267, 71%, 49%)
CMYKcmyk(39.2%, 71.2%, 0%, 51%)
CIE-LABlab(24.57, 37.77, -43.43)
CIE-LCHlch(24.57, 57.56, 311.01°)
OKLaboklab(36.64% 0.0712 -0.1238)
OKLCHoklch(36.64% 0.143 299.9)
XYZxyz(7.3121, 4.2789, 19.8387)
Luminance0.0428 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C247D #557D24
analogous
#24297D #4C247D #79247D
triadic
#4C247D #7D4C24 #247D4C
tetradic
#4C247D #7D2429 #557D24 #247D79
square
#4C247D #7D2429 #557D24 #247D79
split-complementary
#4C247D #7D7924 #297D24
monochromatic
#12091E #2F164D #4C247D #6932AD #874FCC

Accessibility & contrast

On white

11.32
#4C247D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.86
#4C247D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4C247D
11.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C247D#FFFFFF#000000##FFFFFF
##4C247D1.0011.321.8611.32
#FFFFFF11.321.0021.001.00
#0000001.8621.001.0021.00
##FFFFFF11.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003A80
Deuteranopia (green-blind)
#003A7B
Tritanopia (blue-blind)
#41394D
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #4c247d;
/* rgb */ color: rgb(76, 36, 125);
/* oklch */ color: oklch(36.6% 0.143 299.9);
Tailwind
colors: {
  custom: {
    50: '#8362a3',
    500: '#4c247d',
    950: '#000000',
  },
}
SCSS
$custom: #4c247d;
$custom-light: #8362a3;
$custom-dark: #000000;
JSON
{
  "hex": "#4c247d",
  "rgb": {
    "r": 76,
    "g": 36,
    "b": 125
  },
  "hsl": {
    "h": 266.966,
    "s": 55.28,
    "l": 31.569
  },
  "oklch": {
    "l": 0.36641,
    "c": 0.14283,
    "h": 299.9
  },
  "luminance": 0.04279
}

Semantic roles & 50–950 ramp

primary
#4C247D
secondary
#83AF4D
accent
#DF499B
background
#F8F5FA
surface
#EFEAF4
border
#CAC6CE
text
#0B050F
muted
#7C797F

Preview Lab

Preview with #4C247D

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

Preview Lab → · Contrast checker → · Palette generator →

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