#4D249E#4D249E

#4D249E is a dark, vivid violet. Relative luminance 0.053; OKLCH L 39.7% C 0.181 H 291.0°. Best body text is #FFFFFF at 10.19:1 contrast (WCAG AA passes).

Color values

HEX#4D249E
RGBrgb(77, 36, 158)
HSLhsl(260, 63%, 38%)
HSVhsv(260, 77%, 62%)
CMYKcmyk(51.3%, 77.2%, 0%, 38%)
CIE-LABlab(27.59, 47.04, -58.97)
CIE-LCHlch(27.59, 75.43, 308.58°)
OKLaboklab(39.7% 0.0652 -0.1694)
OKLCHoklch(39.7% 0.182 291)
XYZxyz(9.8612, 5.3078, 32.8460)
Luminance0.0531 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D249E #759E24
analogous
#24389E #4D249E #8A249E
triadic
#4D249E #9E4D24 #249E4D
tetradic
#4D249E #9E2438 #759E24 #249E8A
square
#4D249E #9E2438 #759E24 #249E8A
split-complementary
#4D249E #9E8A24 #389E24
monochromatic
#1C0D3A #35196C #4D249E #652FD0 #8A61DB

Accessibility & contrast

On white

10.19
#4D249E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.06
#4D249E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4D249E
10.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D249E#FFFFFF#000000##FFFFFF
##4D249E1.0010.192.0610.19
#FFFFFF10.191.0021.001.00
#0000002.0621.001.0021.00
##FFFFFF10.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0043A1
Deuteranopia (green-blind)
#003E9C
Tritanopia (blue-blind)
#314660
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #4d249e;
/* rgb */ color: rgb(77, 36, 158);
/* oklch */ color: oklch(39.7% 0.181 291.0);
Tailwind
colors: {
  custom: {
    50: '#8864bc',
    500: '#4d249e',
    950: '#000000',
  },
}
SCSS
$custom: #4d249e;
$custom-light: #8864bc;
$custom-dark: #000000;
JSON
{
  "hex": "#4d249e",
  "rgb": {
    "r": 77,
    "g": 36,
    "b": 158
  },
  "hsl": {
    "h": 260.164,
    "s": 62.887,
    "l": 38.039
  },
  "oklch": {
    "l": 0.39701,
    "c": 0.1815,
    "h": 291
  },
  "luminance": 0.05308
}

Semantic roles & 50–950 ramp

primary
#4D249E
secondary
#9FC05E
accent
#E642AF
background
#F8F6FB
surface
#F0EBF6
border
#CBC6D0
text
#0C0612
muted
#7D7A81

Preview Lab

Preview with #4D249E

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

Preview Lab → · Contrast checker → · Palette generator →

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