#4C249E#4C249E

#4C249E is a dark, vivid violet. Relative luminance 0.053; OKLCH L 39.6% C 0.182 H 290.5°. Best body text is #FFFFFF at 10.23:1 contrast (WCAG AA passes).

Color values

HEX#4C249E
RGBrgb(76, 36, 158)
HSLhsl(260, 63%, 38%)
HSVhsv(260, 77%, 62%)
CMYKcmyk(51.9%, 77.2%, 0%, 38%)
CIE-LABlab(27.48, 46.89, -59.16)
CIE-LCHlch(27.48, 75.49, 308.40°)
OKLaboklab(39.6% 0.0637 -0.17)
OKLCHoklch(39.6% 0.182 290.5)
XYZxyz(9.7812, 5.2665, 32.8423)
Luminance0.0527 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C249E #769E24
analogous
#24399E #4C249E #89249E
triadic
#4C249E #9E4C24 #249E4C
tetradic
#4C249E #9E2439 #769E24 #249E89
square
#4C249E #9E2439 #769E24 #249E89
split-complementary
#4C249E #9E8924 #399E24
monochromatic
#1C0D3A #34196C #4C249E #642FD0 #8961DB

Accessibility & contrast

On white

10.23
#4C249E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4C249E
10.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C249E#FFFFFF#000000##FFFFFF
##4C249E1.0010.232.0510.23
#FFFFFF10.231.0021.001.00
#0000002.0521.001.0021.00
##FFFFFF10.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0043A1
Deuteranopia (green-blind)
#003E9C
Tritanopia (blue-blind)
#2F4660
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #4c249e;
/* rgb */ color: rgb(76, 36, 158);
/* oklch */ color: oklch(39.6% 0.182 290.5);
Tailwind
colors: {
  custom: {
    50: '#8763bc',
    500: '#4c249e',
    950: '#000000',
  },
}
SCSS
$custom: #4c249e;
$custom-light: #8763bc;
$custom-dark: #000000;
JSON
{
  "hex": "#4c249e",
  "rgb": {
    "r": 76,
    "g": 36,
    "b": 158
  },
  "hsl": {
    "h": 259.672,
    "s": 62.887,
    "l": 38.039
  },
  "oklch": {
    "l": 0.39596,
    "c": 0.18151,
    "h": 290.5
  },
  "luminance": 0.05267
}

Semantic roles & 50–950 ramp

primary
#4C249E
secondary
#A0C05E
accent
#E642B0
background
#F8F6FB
surface
#F0EBF6
border
#CBC6D0
text
#0C0612
muted
#7D7A81

Preview Lab

Preview with #4C249E

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

Preview Lab → · Contrast checker → · Palette generator →

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