#4D259A#4D259A

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

Color values

HEX#4D259A
RGBrgb(77, 37, 154)
HSLhsl(261, 61%, 37%)
HSVhsv(261, 76%, 60%)
CMYKcmyk(50%, 76%, 0%, 39.6%)
CIE-LABlab(27.39, 45.45, -56.86)
CIE-LCHlch(27.39, 72.79, 308.63°)
OKLaboklab(39.44% 0.0655 -0.1632)
OKLCHoklch(39.44% 0.176 291.9)
XYZxyz(9.5532, 5.2337, 31.0724)
Luminance0.0523 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D259A #729A25
analogous
#25379A #4D259A #88259A
triadic
#4D259A #9A4D25 #259A4D
tetradic
#4D259A #9A2537 #729A25 #259A88
square
#4D259A #9A2537 #729A25 #259A88
split-complementary
#4D259A #9A8825 #379A25
monochromatic
#1C0D37 #341969 #4D259A #6631CB #8A60D9

Accessibility & contrast

On white

10.26
#4D259A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4D259A
10.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D259A#FFFFFF#000000##FFFFFF
##4D259A1.0010.262.0510.26
#FFFFFF10.261.0021.001.00
#0000002.0521.001.0021.00
##FFFFFF10.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00429D
Deuteranopia (green-blind)
#003E98
Tritanopia (blue-blind)
#34455E
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #4d259a;
/* rgb */ color: rgb(77, 37, 154);
/* oklch */ color: oklch(39.4% 0.176 291.9);
Tailwind
colors: {
  custom: {
    50: '#8764b9',
    500: '#4d259a',
    950: '#000000',
  },
}
SCSS
$custom: #4d259a;
$custom-light: #8764b9;
$custom-dark: #000000;
JSON
{
  "hex": "#4d259a",
  "rgb": {
    "r": 77,
    "g": 37,
    "b": 154
  },
  "hsl": {
    "h": 260.513,
    "s": 61.257,
    "l": 37.451
  },
  "oklch": {
    "l": 0.39444,
    "c": 0.17586,
    "h": 291.9
  },
  "luminance": 0.05234
}

Semantic roles & 50–950 ramp

primary
#4D259A
secondary
#9DBE5D
accent
#E443AD
background
#F8F6FB
surface
#F0EBF6
border
#CBC6D0
text
#0C0612
muted
#7D7A81

Preview Lab

Preview with #4D259A

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

Preview Lab → · Contrast checker → · Palette generator →

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