#4D247B#4D247B

#4D247B is a dark, vivid violet. Relative luminance 0.043; OKLCH L 36.6% C 0.141 H 301.3°. Best body text is #FFFFFF at 11.33:1 contrast (WCAG AA passes).

Color values

HEX#4D247B
RGBrgb(77, 36, 123)
HSLhsl(268, 55%, 31%)
HSVhsv(268, 71%, 48%)
CMYKcmyk(37.4%, 70.7%, 0%, 51.8%)
CIE-LABlab(24.54, 37.45, -42.20)
CIE-LCHlch(24.54, 56.42, 311.58°)
OKLaboklab(36.6% 0.073 -0.1202)
OKLCHoklch(36.6% 0.141 301.3)
XYZxyz(7.2657, 4.2696, 19.1764)
Luminance0.0427 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D247B #527B24
analogous
#24267B #4D247B #78247B
triadic
#4D247B #7B4D24 #247B4D
tetradic
#4D247B #7B2426 #527B24 #247B78
square
#4D247B #7B2426 #527B24 #247B78
split-complementary
#4D247B #7B7824 #267B24
monochromatic
#12081C #2F164C #4D247B #6B32AA #894ECB

Accessibility & contrast

On white

11.33
#4D247B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4D247B
11.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D247B#FFFFFF#000000##FFFFFF
##4D247B1.0011.331.8511.33
#FFFFFF11.331.0021.001.00
#0000001.8521.001.0021.00
##FFFFFF11.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003A7E
Deuteranopia (green-blind)
#003A79
Tritanopia (blue-blind)
#43384C
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #4d247b;
/* rgb */ color: rgb(77, 36, 123);
/* oklch */ color: oklch(36.6% 0.141 301.3);
Tailwind
colors: {
  custom: {
    50: '#8362a2',
    500: '#4d247b',
    950: '#000000',
  },
}
SCSS
$custom: #4d247b;
$custom-light: #8362a2;
$custom-dark: #000000;
JSON
{
  "hex": "#4d247b",
  "rgb": {
    "r": 77,
    "g": 36,
    "b": 123
  },
  "hsl": {
    "h": 268.276,
    "s": 54.717,
    "l": 31.176
  },
  "oklch": {
    "l": 0.36599,
    "c": 0.14062,
    "h": 301.3
  },
  "luminance": 0.0427
}

Semantic roles & 50–950 ramp

primary
#4D247B
secondary
#80AD4D
accent
#DE4A98
background
#F8F5FA
surface
#EFEAF3
border
#CAC6CD
text
#0B050F
muted
#7C797F

Preview Lab

Preview with #4D247B

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

Preview Lab → · Contrast checker → · Palette generator →

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