#4D249C#4D249C

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

Color values

HEX#4D249C
RGBrgb(77, 36, 156)
HSLhsl(261, 63%, 38%)
HSVhsv(261, 77%, 61%)
CMYKcmyk(50.6%, 76.9%, 0%, 38.8%)
CIE-LABlab(27.41, 46.48, -58.06)
CIE-LCHlch(27.41, 74.38, 308.68°)
OKLaboklab(39.51% 0.0658 -0.1667)
OKLCHoklch(39.51% 0.179 291.5)
XYZxyz(9.6905, 5.2395, 31.9468)
Luminance0.0524 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D249C #739C24
analogous
#24379C #4D249C #89249C
triadic
#4D249C #9C4D24 #249C4D
tetradic
#4D249C #9C2437 #739C24 #249C89
square
#4D249C #9C2437 #739C24 #249C89
split-complementary
#4D249C #9C8924 #379C24
monochromatic
#1C0D39 #34196A #4D249C #662FCE #8A60DA

Accessibility & contrast

On white

10.25
#4D249C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4D249C
10.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D249C#FFFFFF#000000##FFFFFF
##4D249C1.0010.252.0510.25
#FFFFFF10.251.0021.001.00
#0000002.0521.001.0021.00
##FFFFFF10.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00439F
Deuteranopia (green-blind)
#003E9A
Tritanopia (blue-blind)
#32455F
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #4d249c;
/* rgb */ color: rgb(77, 36, 156);
/* oklch */ color: oklch(39.5% 0.179 291.5);
Tailwind
colors: {
  custom: {
    50: '#8763ba',
    500: '#4d249c',
    950: '#000000',
  },
}
SCSS
$custom: #4d249c;
$custom-light: #8763ba;
$custom-dark: #000000;
JSON
{
  "hex": "#4d249c",
  "rgb": {
    "r": 77,
    "g": 36,
    "b": 156
  },
  "hsl": {
    "h": 260.5,
    "s": 62.5,
    "l": 37.647
  },
  "oklch": {
    "l": 0.39512,
    "c": 0.17922,
    "h": 291.5
  },
  "luminance": 0.0524
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #4D249C

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

Preview Lab → · Contrast checker → · Palette generator →

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