#4D247F#4D247F

#4D247F is a dark, vivid violet. Relative luminance 0.044; OKLCH L 36.9% C 0.145 H 299.9°. Best body text is #FFFFFF at 11.20:1 contrast (WCAG AA passes).

Color values

HEX#4D247F
RGBrgb(77, 36, 127)
HSLhsl(267, 56%, 32%)
HSVhsv(267, 72%, 50%)
CMYKcmyk(39.4%, 71.7%, 0%, 50.2%)
CIE-LABlab(24.86, 38.52, -44.21)
CIE-LCHlch(24.86, 58.64, 311.06°)
OKLaboklab(36.93% 0.0724 -0.1261)
OKLCHoklch(36.93% 0.145 299.9)
XYZxyz(7.5213, 4.3718, 20.5221)
Luminance0.0437 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D247F #567F24
analogous
#24297F #4D247F #7B247F
triadic
#4D247F #7F4D24 #247F4D
tetradic
#4D247F #7F2429 #567F24 #247F7B
square
#4D247F #7F2429 #567F24 #247F7B
split-complementary
#4D247F #7F7B24 #297F24
monochromatic
#130920 #30164F #4D247F #6A32AF #8950CD

Accessibility & contrast

On white

11.20
#4D247F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.87
#4D247F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4D247F
11.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D247F#FFFFFF#000000##FFFFFF
##4D247F1.0011.201.8711.20
#FFFFFF11.201.0021.001.00
#0000001.8721.001.0021.00
##FFFFFF11.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003B82
Deuteranopia (green-blind)
#003A7D
Tritanopia (blue-blind)
#423A4E
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #4d247f;
/* rgb */ color: rgb(77, 36, 127);
/* oklch */ color: oklch(36.9% 0.145 299.9);
Tailwind
colors: {
  custom: {
    50: '#8362a5',
    500: '#4d247f',
    950: '#000000',
  },
}
SCSS
$custom: #4d247f;
$custom-light: #8362a5;
$custom-dark: #000000;
JSON
{
  "hex": "#4d247f",
  "rgb": {
    "r": 77,
    "g": 36,
    "b": 127
  },
  "hsl": {
    "h": 267.033,
    "s": 55.828,
    "l": 31.961
  },
  "oklch": {
    "l": 0.36929,
    "c": 0.14538,
    "h": 299.9
  },
  "luminance": 0.04372
}

Semantic roles & 50–950 ramp

primary
#4D247F
secondary
#84B14E
accent
#DF499B
background
#F8F5FA
surface
#EFEAF4
border
#CAC6CE
text
#0B050F
muted
#7C797F

Preview Lab

Preview with #4D247F

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

Preview Lab → · Contrast checker → · Palette generator →

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