#4D249B#4D249B

#4D249B is a dark, vivid violet. Relative luminance 0.052; OKLCH L 39.4% C 0.178 H 291.8°. Best body text is #FFFFFF at 10.29:1 contrast (WCAG AA passes).

Color values

HEX#4D249B
RGBrgb(77, 36, 155)
HSLhsl(261, 62%, 37%)
HSVhsv(261, 77%, 61%)
CMYKcmyk(50.3%, 76.8%, 0%, 39.2%)
CIE-LABlab(27.31, 46.21, -57.60)
CIE-LCHlch(27.31, 73.85, 308.74°)
OKLaboklab(39.42% 0.066 -0.1654)
OKLCHoklch(39.42% 0.178 291.8)
XYZxyz(9.6062, 5.2057, 31.5026)
Luminance0.0521 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D249B #729B24
analogous
#24379B #4D249B #88249B
triadic
#4D249B #9B4D24 #249B4D
tetradic
#4D249B #9B2437 #729B24 #249B88
square
#4D249B #9B2437 #729B24 #249B88
split-complementary
#4D249B #9B8824 #379B24
monochromatic
#1C0D38 #341869 #4D249B #6630CD #8A5FDA

Accessibility & contrast

On white

10.29
#4D249B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.04
#4D249B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4D249B
10.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D249B#FFFFFF#000000##FFFFFF
##4D249B1.0010.292.0410.29
#FFFFFF10.291.0021.001.00
#0000002.0421.001.0021.00
##FFFFFF10.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00429E
Deuteranopia (green-blind)
#003E99
Tritanopia (blue-blind)
#33455E
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #4d249b;
/* rgb */ color: rgb(77, 36, 155);
/* oklch */ color: oklch(39.4% 0.178 291.8);
Tailwind
colors: {
  custom: {
    50: '#8763ba',
    500: '#4d249b',
    950: '#000000',
  },
}
SCSS
$custom: #4d249b;
$custom-light: #8763ba;
$custom-dark: #000000;
JSON
{
  "hex": "#4d249b",
  "rgb": {
    "r": 77,
    "g": 36,
    "b": 155
  },
  "hsl": {
    "h": 260.672,
    "s": 62.304,
    "l": 37.451
  },
  "oklch": {
    "l": 0.39418,
    "c": 0.17807,
    "h": 291.8
  },
  "luminance": 0.05206
}

Semantic roles & 50–950 ramp

primary
#4D249B
secondary
#9DBF5C
accent
#E542AD
background
#F8F6FB
surface
#F0EBF6
border
#CBC6D0
text
#0C0612
muted
#7D7A81

Preview Lab

Preview with #4D249B

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

Preview Lab → · Contrast checker → · Palette generator →

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