#4C246F#4C246F

#4C246F is a dark, vivid violet. Relative luminance 0.039; OKLCH L 35.5% C 0.126 H 305.4°. Best body text is #FFFFFF at 11.74:1 contrast (WCAG AA passes).

Color values

HEX#4C246F
RGBrgb(76, 36, 111)
HSLhsl(272, 51%, 29%)
HSVhsv(272, 68%, 44%)
CMYKcmyk(31.5%, 67.6%, 0%, 56.5%)
CIE-LABlab(23.49, 34.03, -36.24)
CIE-LCHlch(23.49, 49.72, 313.20°)
OKLaboklab(35.52% 0.0729 -0.1027)
OKLCHoklch(35.52% 0.126 305.4)
XYZxyz(6.4800, 3.9460, 15.4561)
Luminance0.0395 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C246F #476F24
analogous
#27246F #4C246F #6F246D
triadic
#4C246F #6F4C24 #246F4C
tetradic
#4C246F #6F2724 #476F24 #246D6F
square
#4C246F #6F2724 #476F24 #246D6F
split-complementary
#4C246F #6D6F24 #246F27
monochromatic
#100717 #2C1541 #4C246F #6C339D #8B49C4

Accessibility & contrast

On white

11.74
#4C246F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.79
#4C246F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4C246F
11.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C246F#FFFFFF#000000##FFFFFF
##4C246F1.0011.741.7911.74
#FFFFFF11.741.0021.001.00
#0000001.7921.001.0021.00
##FFFFFF11.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003771
Deuteranopia (green-blind)
#11386D
Tritanopia (blue-blind)
#463446
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #4c246f;
/* rgb */ color: rgb(76, 36, 111);
/* oklch */ color: oklch(35.5% 0.126 305.4);
Tailwind
colors: {
  custom: {
    50: '#816199',
    500: '#4c246f',
    950: '#000000',
  },
}
SCSS
$custom: #4c246f;
$custom-light: #816199;
$custom-dark: #000000;
JSON
{
  "hex": "#4c246f",
  "rgb": {
    "r": 76,
    "g": 36,
    "b": 111
  },
  "hsl": {
    "h": 272,
    "s": 51.02,
    "l": 28.824
  },
  "oklch": {
    "l": 0.35523,
    "c": 0.12594,
    "h": 305.4
  },
  "luminance": 0.03946
}

Semantic roles & 50–950 ramp

primary
#4C246F
secondary
#75A24D
accent
#DA4D8F
background
#F8F5F9
surface
#EFEAF2
border
#CAC6CC
text
#0B050E
muted
#7C797E

Preview Lab

Preview with #4C246F

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

Preview Lab → · Contrast checker → · Palette generator →

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