#4D247D#4D247D

#4D247D is a dark, vivid violet. Relative luminance 0.043; OKLCH L 36.8% C 0.143 H 300.6°. Best body text is #FFFFFF at 11.27:1 contrast (WCAG AA passes).

Color values

HEX#4D247D
RGBrgb(77, 36, 125)
HSLhsl(268, 55%, 32%)
HSVhsv(268, 71%, 49%)
CMYKcmyk(38.4%, 71.2%, 0%, 51%)
CIE-LABlab(24.70, 37.98, -43.21)
CIE-LCHlch(24.70, 57.53, 311.32°)
OKLaboklab(36.76% 0.0727 -0.1231)
OKLCHoklch(36.76% 0.143 300.6)
XYZxyz(7.3922, 4.3201, 19.8425)
Luminance0.0432 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D247D #547D24
analogous
#24287D #4D247D #7A247D
triadic
#4D247D #7D4D24 #247D4D
tetradic
#4D247D #7D2428 #547D24 #247D7A
square
#4D247D #7D2428 #547D24 #247D7A
split-complementary
#4D247D #7D7A24 #287D24
monochromatic
#12091E #30164D #4D247D #6A32AD #894FCC

Accessibility & contrast

On white

11.27
#4D247D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4D247D
11.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D247D#FFFFFF#000000##FFFFFF
##4D247D1.0011.271.8611.27
#FFFFFF11.271.0021.001.00
#0000001.8621.001.0021.00
##FFFFFF11.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003A80
Deuteranopia (green-blind)
#003A7B
Tritanopia (blue-blind)
#42394D
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #4d247d;
/* rgb */ color: rgb(77, 36, 125);
/* oklch */ color: oklch(36.8% 0.143 300.6);
Tailwind
colors: {
  custom: {
    50: '#8362a3',
    500: '#4d247d',
    950: '#000000',
  },
}
SCSS
$custom: #4d247d;
$custom-light: #8362a3;
$custom-dark: #000000;
JSON
{
  "hex": "#4d247d",
  "rgb": {
    "r": 77,
    "g": 36,
    "b": 125
  },
  "hsl": {
    "h": 267.64,
    "s": 55.28,
    "l": 31.569
  },
  "oklch": {
    "l": 0.36763,
    "c": 0.14301,
    "h": 300.6
  },
  "luminance": 0.0432
}

Semantic roles & 50–950 ramp

primary
#4D247D
secondary
#82AF4D
accent
#DF499A
background
#F8F5FA
surface
#EFEAF4
border
#CAC6CE
text
#0B050F
muted
#7C797F

Preview Lab

Preview with #4D247D

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

Preview Lab → · Contrast checker → · Palette generator →

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