#4C249D#4C249D

#4C249D is a dark, vivid violet. Relative luminance 0.052; OKLCH L 39.5% C 0.180 H 290.8°. Best body text is #FFFFFF at 10.26:1 contrast (WCAG AA passes).

Color values

HEX#4C249D
RGBrgb(76, 36, 157)
HSLhsl(260, 63%, 38%)
HSVhsv(260, 77%, 62%)
CMYKcmyk(51.6%, 77.1%, 0%, 38.4%)
CIE-LABlab(27.39, 46.61, -58.71)
CIE-LCHlch(27.39, 74.96, 308.45°)
OKLaboklab(39.5% 0.0639 -0.1686)
OKLCHoklch(39.5% 0.18 290.8)
XYZxyz(9.6954, 5.2322, 32.3908)
Luminance0.0523 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C249D #759D24
analogous
#24389D #4C249D #88249D
triadic
#4C249D #9D4C24 #249D4C
tetradic
#4C249D #9D2438 #759D24 #249D88
square
#4C249D #9D2438 #759D24 #249D88
split-complementary
#4C249D #9D8824 #389D24
monochromatic
#1C0D39 #34196B #4C249D #642FCF #8961DB

Accessibility & contrast

On white

10.26
#4C249D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.05
#4C249D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4C249D
10.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C249D#FFFFFF#000000##FFFFFF
##4C249D1.0010.262.0510.26
#FFFFFF10.261.0021.001.00
#0000002.0521.001.0021.00
##FFFFFF10.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0043A0
Deuteranopia (green-blind)
#003E9B
Tritanopia (blue-blind)
#30465F
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #4c249d;
/* rgb */ color: rgb(76, 36, 157);
/* oklch */ color: oklch(39.5% 0.180 290.8);
Tailwind
colors: {
  custom: {
    50: '#8763bb',
    500: '#4c249d',
    950: '#000000',
  },
}
SCSS
$custom: #4c249d;
$custom-light: #8763bb;
$custom-dark: #000000;
JSON
{
  "hex": "#4c249d",
  "rgb": {
    "r": 76,
    "g": 36,
    "b": 157
  },
  "hsl": {
    "h": 259.835,
    "s": 62.694,
    "l": 37.843
  },
  "oklch": {
    "l": 0.39501,
    "c": 0.18036,
    "h": 290.8
  },
  "luminance": 0.05233
}

Semantic roles & 50–950 ramp

primary
#4C249D
secondary
#9FC05D
accent
#E642B0
background
#F8F6FB
surface
#F0EBF6
border
#CBC6D0
text
#0C0612
muted
#7D7A81

Preview Lab

Preview with #4C249D

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

Preview Lab → · Contrast checker → · Palette generator →

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