#4D259E#4D259E

#4D259E is a dark, vivid violet. Relative luminance 0.054; OKLCH L 39.8% C 0.180 H 290.9°. Best body text is #FFFFFF at 10.13:1 contrast (WCAG AA passes).

Color values

HEX#4D259E
RGBrgb(77, 37, 158)
HSLhsl(260, 62%, 38%)
HSVhsv(260, 77%, 62%)
CMYKcmyk(51.3%, 76.6%, 0%, 38%)
CIE-LABlab(27.76, 46.56, -58.70)
CIE-LCHlch(27.76, 74.92, 308.42°)
OKLaboklab(39.82% 0.0644 -0.1686)
OKLCHoklch(39.82% 0.18 290.9)
XYZxyz(9.8919, 5.3691, 32.8563)
Luminance0.0537 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D259E #769E25
analogous
#25399E #4D259E #89259E
triadic
#4D259E #9E4D25 #259E4D
tetradic
#4D259E #9E2539 #769E25 #259E89
square
#4D259E #9E2539 #769E25 #259E89
split-complementary
#4D259E #9E8925 #399E25
monochromatic
#1D0E3B #35196C #4D259E #6531CF #8A63DA

Accessibility & contrast

On white

10.13
#4D259E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4D259E
10.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D259E#FFFFFF#000000##FFFFFF
##4D259E1.0010.132.0710.13
#FFFFFF10.131.0021.001.00
#0000002.0721.001.0021.00
##FFFFFF10.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0044A1
Deuteranopia (green-blind)
#003F9C
Tritanopia (blue-blind)
#314660
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #4d259e;
/* rgb */ color: rgb(77, 37, 158);
/* oklch */ color: oklch(39.8% 0.180 290.9);
Tailwind
colors: {
  custom: {
    50: '#8764bc',
    500: '#4d259e',
    950: '#000000',
  },
}
SCSS
$custom: #4d259e;
$custom-light: #8764bc;
$custom-dark: #000000;
JSON
{
  "hex": "#4d259e",
  "rgb": {
    "r": 77,
    "g": 37,
    "b": 158
  },
  "hsl": {
    "h": 259.835,
    "s": 62.051,
    "l": 38.235
  },
  "oklch": {
    "l": 0.39819,
    "c": 0.18048,
    "h": 290.9
  },
  "luminance": 0.0537
}

Semantic roles & 50–950 ramp

primary
#4D259E
secondary
#A0C05F
accent
#E543AF
background
#F8F6FB
surface
#F0EBF6
border
#CBC6D0
text
#0C0612
muted
#7D7A81

Preview Lab

Preview with #4D259E

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

Preview Lab → · Contrast checker → · Palette generator →

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