#4D2595#4D2595

#4D2595 is a dark, vivid violet. Relative luminance 0.051; OKLCH L 39.0% C 0.170 H 293.1°. Best body text is #FFFFFF at 10.43:1 contrast (WCAG AA passes).

Color values

HEX#4D2595
RGBrgb(77, 37, 149)
HSLhsl(261, 60%, 36%)
HSVhsv(261, 75%, 58%)
CMYKcmyk(48.3%, 75.2%, 0%, 41.6%)
CIE-LABlab(26.93, 44.05, -54.54)
CIE-LCHlch(26.93, 70.11, 308.93°)
OKLaboklab(38.98% 0.0667 -0.1564)
OKLCHoklch(38.98% 0.17 293.1)
XYZxyz(9.1454, 5.0705, 28.9248)
Luminance0.0507 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D2595 #6D9525
analogous
#253595 #4D2595 #852595
triadic
#4D2595 #954D25 #25954D
tetradic
#4D2595 #952535 #6D9525 #259585
square
#4D2595 #952535 #6D9525 #259585
split-complementary
#4D2595 #958525 #359525
monochromatic
#1A0D33 #341964 #4D2595 #6631C6 #895ED7

Accessibility & contrast

On white

10.43
#4D2595 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.01
#4D2595 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4D2595
10.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D2595#FFFFFF#000000##FFFFFF
##4D25951.0010.432.0110.43
#FFFFFF10.431.0021.001.00
#0000002.0121.001.0021.00
##FFFFFF10.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004198
Deuteranopia (green-blind)
#003E93
Tritanopia (blue-blind)
#37435B
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #4d2595;
/* rgb */ color: rgb(77, 37, 149);
/* oklch */ color: oklch(39.0% 0.170 293.1);
Tailwind
colors: {
  custom: {
    50: '#8664b5',
    500: '#4d2595',
    950: '#000000',
  },
}
SCSS
$custom: #4d2595;
$custom-light: #8664b5;
$custom-dark: #000000;
JSON
{
  "hex": "#4d2595",
  "rgb": {
    "r": 77,
    "g": 37,
    "b": 149
  },
  "hsl": {
    "h": 261.429,
    "s": 60.215,
    "l": 36.471
  },
  "oklch": {
    "l": 0.38984,
    "c": 0.17006,
    "h": 293.1
  },
  "luminance": 0.05071
}

Semantic roles & 50–950 ramp

primary
#4D2595
secondary
#99BC5A
accent
#E344AB
background
#F8F6FB
surface
#F0EBF6
border
#CBC6D0
text
#0C0611
muted
#7D7A80

Preview Lab

Preview with #4D2595

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

Preview Lab → · Contrast checker → · Palette generator →

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