#4C249B#4C249B

#4C249B is a dark, vivid violet. Relative luminance 0.052; OKLCH L 39.3% C 0.178 H 291.2°. Best body text is #FFFFFF at 10.33:1 contrast (WCAG AA passes).

Color values

HEX#4C249B
RGBrgb(76, 36, 155)
HSLhsl(260, 62%, 37%)
HSVhsv(260, 77%, 61%)
CMYKcmyk(51%, 76.8%, 0%, 39.2%)
CIE-LABlab(27.20, 46.05, -57.79)
CIE-LCHlch(27.20, 73.90, 308.55°)
OKLaboklab(39.31% 0.0645 -0.166)
OKLCHoklch(39.31% 0.178 291.2)
XYZxyz(9.5261, 5.1644, 31.4989)
Luminance0.0517 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C249B #739B24
analogous
#24379B #4C249B #88249B
triadic
#4C249B #9B4C24 #249B4C
tetradic
#4C249B #9B2437 #739B24 #249B88
square
#4C249B #9B2437 #739B24 #249B88
split-complementary
#4C249B #9B8824 #379B24
monochromatic
#1B0D38 #341869 #4C249B #6430CD #895FDA

Accessibility & contrast

On white

10.33
#4C249B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.03
#4C249B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4C249B
10.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C249B#FFFFFF#000000##FFFFFF
##4C249B1.0010.332.0310.33
#FFFFFF10.331.0021.001.00
#0000002.0321.001.0021.00
##FFFFFF10.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00429E
Deuteranopia (green-blind)
#003E99
Tritanopia (blue-blind)
#31455E
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #4c249b;
/* rgb */ color: rgb(76, 36, 155);
/* oklch */ color: oklch(39.3% 0.178 291.2);
Tailwind
colors: {
  custom: {
    50: '#8763ba',
    500: '#4c249b',
    950: '#000000',
  },
}
SCSS
$custom: #4c249b;
$custom-light: #8763ba;
$custom-dark: #000000;
JSON
{
  "hex": "#4c249b",
  "rgb": {
    "r": 76,
    "g": 36,
    "b": 155
  },
  "hsl": {
    "h": 260.168,
    "s": 62.304,
    "l": 37.451
  },
  "oklch": {
    "l": 0.39311,
    "c": 0.17806,
    "h": 291.2
  },
  "luminance": 0.05165
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #4C249B

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

Preview Lab → · Contrast checker → · Palette generator →

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