#4D247C#4D247C

#4D247C is a dark, vivid violet. Relative luminance 0.043; OKLCH L 36.7% C 0.142 H 300.9°. Best body text is #FFFFFF at 11.30:1 contrast (WCAG AA passes).

Color values

HEX#4D247C
RGBrgb(77, 36, 124)
HSLhsl(268, 55%, 31%)
HSVhsv(268, 71%, 49%)
CMYKcmyk(37.9%, 71%, 0%, 51.4%)
CIE-LABlab(24.62, 37.72, -42.71)
CIE-LCHlch(24.62, 56.98, 311.45°)
OKLaboklab(36.68% 0.0729 -0.1216)
OKLCHoklch(36.68% 0.142 300.9)
XYZxyz(7.3287, 4.2947, 19.5077)
Luminance0.0430 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D247C #537C24
analogous
#24277C #4D247C #79247C
triadic
#4D247C #7C4D24 #247C4D
tetradic
#4D247C #7C2427 #537C24 #247C79
square
#4D247C #7C2427 #537C24 #247C79
split-complementary
#4D247C #7C7924 #277C24
monochromatic
#12081D #30164D #4D247C #6A32AB #894FCC

Accessibility & contrast

On white

11.30
#4D247C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.86
#4D247C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4D247C
11.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D247C#FFFFFF#000000##FFFFFF
##4D247C1.0011.301.8611.30
#FFFFFF11.301.0021.001.00
#0000001.8621.001.0021.00
##FFFFFF11.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003A7F
Deuteranopia (green-blind)
#003A7A
Tritanopia (blue-blind)
#43394D
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #4d247c;
/* rgb */ color: rgb(77, 36, 124);
/* oklch */ color: oklch(36.7% 0.142 300.9);
Tailwind
colors: {
  custom: {
    50: '#8362a3',
    500: '#4d247c',
    950: '#000000',
  },
}
SCSS
$custom: #4d247c;
$custom-light: #8362a3;
$custom-dark: #000000;
JSON
{
  "hex": "#4d247c",
  "rgb": {
    "r": 77,
    "g": 36,
    "b": 124
  },
  "hsl": {
    "h": 267.955,
    "s": 55,
    "l": 31.373
  },
  "oklch": {
    "l": 0.3668,
    "c": 0.14182,
    "h": 300.9
  },
  "luminance": 0.04295
}

Semantic roles & 50–950 ramp

primary
#4D247C
secondary
#81AE4D
accent
#DE4999
background
#F8F5FA
surface
#EFEAF4
border
#CAC6CE
text
#0B050F
muted
#7C797F

Preview Lab

Preview with #4D247C

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

Preview Lab → · Contrast checker → · Palette generator →

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