#4D247A#4D247A

#4D247A is a dark, vivid violet. Relative luminance 0.042; OKLCH L 36.5% C 0.139 H 301.7°. Best body text is #FFFFFF at 11.36:1 contrast (WCAG AA passes).

Color values

HEX#4D247A
RGBrgb(77, 36, 122)
HSLhsl(269, 54%, 31%)
HSVhsv(269, 70%, 48%)
CMYKcmyk(36.9%, 70.5%, 0%, 52.2%)
CIE-LABlab(24.46, 37.18, -41.70)
CIE-LCHlch(24.46, 55.87, 311.72°)
OKLaboklab(36.52% 0.0732 -0.1187)
OKLCHoklch(36.52% 0.139 301.7)
XYZxyz(7.2035, 4.2446, 18.8484)
Luminance0.0425 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D247A #517A24
analogous
#24267A #4D247A #78247A
triadic
#4D247A #7A4D24 #247A4D
tetradic
#4D247A #7A2426 #517A24 #247A78
square
#4D247A #7A2426 #517A24 #247A78
split-complementary
#4D247A #7A7824 #267A24
monochromatic
#11081B #2F164B #4D247A #6B32A9 #894ECB

Accessibility & contrast

On white

11.36
#4D247A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.85
#4D247A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4D247A
11.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D247A#FFFFFF#000000##FFFFFF
##4D247A1.0011.361.8511.36
#FFFFFF11.361.0021.001.00
#0000001.8521.001.0021.00
##FFFFFF11.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003A7D
Deuteranopia (green-blind)
#003A78
Tritanopia (blue-blind)
#44384C
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #4d247a;
/* rgb */ color: rgb(77, 36, 122);
/* oklch */ color: oklch(36.5% 0.139 301.7);
Tailwind
colors: {
  custom: {
    50: '#8362a1',
    500: '#4d247a',
    950: '#000000',
  },
}
SCSS
$custom: #4d247a;
$custom-light: #8362a1;
$custom-dark: #000000;
JSON
{
  "hex": "#4d247a",
  "rgb": {
    "r": 77,
    "g": 36,
    "b": 122
  },
  "hsl": {
    "h": 268.605,
    "s": 54.43,
    "l": 30.98
  },
  "oklch": {
    "l": 0.36517,
    "c": 0.13943,
    "h": 301.7
  },
  "luminance": 0.04245
}

Semantic roles & 50–950 ramp

primary
#4D247A
secondary
#7FAC4D
accent
#DE4A97
background
#F8F5FA
surface
#EFEAF3
border
#CAC6CD
text
#0B050F
muted
#7C797F

Preview Lab

Preview with #4D247A

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

Preview Lab → · Contrast checker → · Palette generator →

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