#4D259F#4D259F

#4D259F is a dark, vivid violet. Relative luminance 0.054; OKLCH L 39.9% C 0.182 H 290.7°. Best body text is #FFFFFF at 10.09:1 contrast (WCAG AA passes).

Color values

HEX#4D259F
RGBrgb(77, 37, 159)
HSLhsl(260, 62%, 38%)
HSVhsv(260, 77%, 62%)
CMYKcmyk(51.6%, 76.7%, 0%, 37.6%)
CIE-LABlab(27.86, 46.84, -59.15)
CIE-LCHlch(27.86, 75.45, 308.38°)
OKLaboklab(39.91% 0.0641 -0.1699)
OKLCHoklch(39.91% 0.182 290.7)
XYZxyz(9.9784, 5.4037, 33.3114)
Luminance0.0540 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D259F #779F25
analogous
#253A9F #4D259F #8A259F
triadic
#4D259F #9F4D25 #259F4D
tetradic
#4D259F #9F253A #779F25 #259F8A
square
#4D259F #9F253A #779F25 #259F8A
split-complementary
#4D259F #9F8A25 #3A9F25
monochromatic
#1D0E3C #35196D #4D259F #6632CF #8B64DB

Accessibility & contrast

On white

10.09
#4D259F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.08
#4D259F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4D259F
10.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D259F#FFFFFF#000000##FFFFFF
##4D259F1.0010.092.0810.09
#FFFFFF10.091.0021.001.00
#0000002.0821.001.0021.00
##FFFFFF10.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0044A2
Deuteranopia (green-blind)
#003F9D
Tritanopia (blue-blind)
#304761
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #4d259f;
/* rgb */ color: rgb(77, 37, 159);
/* oklch */ color: oklch(39.9% 0.182 290.7);
Tailwind
colors: {
  custom: {
    50: '#8864bc',
    500: '#4d259f',
    950: '#000000',
  },
}
SCSS
$custom: #4d259f;
$custom-light: #8864bc;
$custom-dark: #000000;
JSON
{
  "hex": "#4d259f",
  "rgb": {
    "r": 77,
    "g": 37,
    "b": 159
  },
  "hsl": {
    "h": 259.672,
    "s": 62.245,
    "l": 38.431
  },
  "oklch": {
    "l": 0.39913,
    "c": 0.18162,
    "h": 290.7
  },
  "luminance": 0.05404
}

Semantic roles & 50–950 ramp

primary
#4D259F
secondary
#A1C05F
accent
#E542B0
background
#F8F6FB
surface
#F0EBF7
border
#CBC6D0
text
#0C0612
muted
#7D7A81

Preview Lab

Preview with #4D259F

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

Preview Lab → · Contrast checker → · Palette generator →

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