#4D249D#4D249D

#4D249D is a dark, vivid violet. Relative luminance 0.053; OKLCH L 39.6% C 0.180 H 291.3°. Best body text is #FFFFFF at 10.22:1 contrast (WCAG AA passes).

Color values

HEX#4D249D
RGBrgb(77, 36, 157)
HSLhsl(260, 63%, 38%)
HSVhsv(260, 77%, 62%)
CMYKcmyk(51%, 77.1%, 0%, 38.4%)
CIE-LABlab(27.50, 46.76, -58.52)
CIE-LCHlch(27.50, 74.91, 308.63°)
OKLaboklab(39.61% 0.0655 -0.1681)
OKLCHoklch(39.61% 0.18 291.3)
XYZxyz(9.7755, 5.2735, 32.3946)
Luminance0.0527 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D249D #749D24
analogous
#24379D #4D249D #8A249D
triadic
#4D249D #9D4D24 #249D4D
tetradic
#4D249D #9D2437 #749D24 #249D8A
square
#4D249D #9D2437 #749D24 #249D8A
split-complementary
#4D249D #9D8A24 #379D24
monochromatic
#1C0D39 #35196B #4D249D #652FCF #8A61DB

Accessibility & contrast

On white

10.22
#4D249D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.05
#4D249D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4D249D
10.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D249D#FFFFFF#000000##FFFFFF
##4D249D1.0010.222.0510.22
#FFFFFF10.221.0021.001.00
#0000002.0521.001.0021.00
##FFFFFF10.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0043A0
Deuteranopia (green-blind)
#003E9B
Tritanopia (blue-blind)
#32455F
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #4d249d;
/* rgb */ color: rgb(77, 36, 157);
/* oklch */ color: oklch(39.6% 0.180 291.3);
Tailwind
colors: {
  custom: {
    50: '#8764bb',
    500: '#4d249d',
    950: '#000000',
  },
}
SCSS
$custom: #4d249d;
$custom-light: #8764bb;
$custom-dark: #000000;
JSON
{
  "hex": "#4d249d",
  "rgb": {
    "r": 77,
    "g": 36,
    "b": 157
  },
  "hsl": {
    "h": 260.331,
    "s": 62.694,
    "l": 37.843
  },
  "oklch": {
    "l": 0.39607,
    "c": 0.18036,
    "h": 291.3
  },
  "luminance": 0.05274
}

Semantic roles & 50–950 ramp

primary
#4D249D
secondary
#9EC05D
accent
#E642AE
background
#F8F6FB
surface
#F0EBF6
border
#CBC6D0
text
#0C0612
muted
#7D7A81

Preview Lab

Preview with #4D249D

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

Preview Lab → · Contrast checker → · Palette generator →

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