#4D249F#4D249F

#4D249F is a dark, vivid violet. Relative luminance 0.053; OKLCH L 39.8% C 0.183 H 290.8°. Best body text is #FFFFFF at 10.15:1 contrast (WCAG AA passes).

Color values

HEX#4D249F
RGBrgb(77, 36, 159)
HSLhsl(260, 63%, 38%)
HSVhsv(260, 77%, 62%)
CMYKcmyk(51.6%, 77.4%, 0%, 37.6%)
CIE-LABlab(27.69, 47.32, -59.43)
CIE-LCHlch(27.69, 75.96, 308.53°)
OKLaboklab(39.8% 0.0649 -0.1707)
OKLCHoklch(39.8% 0.183 290.8)
XYZxyz(9.9477, 5.3423, 33.3012)
Luminance0.0534 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D249F #769F24
analogous
#24389F #4D249F #8A249F
triadic
#4D249F #9F4D24 #249F4D
tetradic
#4D249F #9F2438 #769F24 #249F8A
square
#4D249F #9F2438 #769F24 #249F8A
split-complementary
#4D249F #9F8A24 #389F24
monochromatic
#1D0D3B #35196D #4D249F #6530D0 #8A62DB

Accessibility & contrast

On white

10.15
#4D249F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.07
#4D249F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4D249F
10.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D249F#FFFFFF#000000##FFFFFF
##4D249F1.0010.152.0710.15
#FFFFFF10.151.0021.001.00
#0000002.0721.001.0021.00
##FFFFFF10.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0043A2
Deuteranopia (green-blind)
#003F9D
Tritanopia (blue-blind)
#304660
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #4d249f;
/* rgb */ color: rgb(77, 36, 159);
/* oklch */ color: oklch(39.8% 0.183 290.8);
Tailwind
colors: {
  custom: {
    50: '#8864bc',
    500: '#4d249f',
    950: '#000000',
  },
}
SCSS
$custom: #4d249f;
$custom-light: #8864bc;
$custom-dark: #000000;
JSON
{
  "hex": "#4d249f",
  "rgb": {
    "r": 77,
    "g": 36,
    "b": 159
  },
  "hsl": {
    "h": 260,
    "s": 63.077,
    "l": 38.235
  },
  "oklch": {
    "l": 0.39796,
    "c": 0.18264,
    "h": 290.8
  },
  "luminance": 0.05343
}

Semantic roles & 50–950 ramp

primary
#4D249F
secondary
#A0C15E
accent
#E642AF
background
#F8F6FB
surface
#F0EBF7
border
#CBC6D0
text
#0C0612
muted
#7D7A81

Preview Lab

Preview with #4D249F

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

Preview Lab → · Contrast checker → · Palette generator →

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