#4D195F#4D195F

#4D195F is a dark, vivid purple. Relative luminance 0.031; OKLCH L 33.0% C 0.124 H 316.0°. Best body text is #FFFFFF at 12.96:1 contrast (WCAG AA passes).

Color values

HEX#4D195F
RGBrgb(77, 25, 95)
HSLhsl(285, 58%, 24%)
HSVhsv(285, 74%, 37%)
CMYKcmyk(18.9%, 73.7%, 0%, 62.7%)
CIE-LABlab(20.44, 36.02, -30.70)
CIE-LCHlch(20.44, 47.33, 319.56°)
OKLaboklab(32.99% 0.0895 -0.0863)
OKLCHoklch(32.99% 0.124 316)
XYZxyz(5.4734, 3.0995, 11.1342)
Luminance0.0310 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D195F #2B5F19
analogous
#2A195F #4D195F #5F194E
triadic
#4D195F #5F4D19 #195F4D
tetradic
#4D195F #5F2A19 #2B5F19 #194E5F
square
#4D195F #5F2A19 #2B5F19 #194E5F
split-complementary
#4D195F #4E5F19 #195F2A
monochromatic
#140618 #260C2F #4D195F #74268F #9C32C0

Accessibility & contrast

On white

12.96
#4D195F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.62
#4D195F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4D195F
12.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D195F#FFFFFF#000000##FFFFFF
##4D195F1.0012.961.6212.96
#FFFFFF12.961.0021.001.00
#0000001.6221.001.0021.00
##FFFFFF12.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002E61
Deuteranopia (green-blind)
#19335D
Tritanopia (blue-blind)
#4C273A
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #4d195f;
/* rgb */ color: rgb(77, 25, 95);
/* oklch */ color: oklch(33.0% 0.124 316.0);
Tailwind
colors: {
  custom: {
    50: '#815b8d',
    500: '#4d195f',
    950: '#000000',
  },
}
SCSS
$custom: #4d195f;
$custom-light: #815b8d;
$custom-dark: #000000;
JSON
{
  "hex": "#4d195f",
  "rgb": {
    "r": 77,
    "g": 25,
    "b": 95
  },
  "hsl": {
    "h": 284.571,
    "s": 58.333,
    "l": 23.529
  },
  "oklch": {
    "l": 0.3299,
    "c": 0.12435,
    "h": 316
  },
  "luminance": 0.03099
}

Semantic roles & 50–950 ramp

primary
#4D195F
secondary
#55953F
accent
#E2466E
background
#F8F5F8
surface
#EFE9F0
border
#CAC5CB
text
#0B040C
muted
#7C797D

Preview Lab

Preview with #4D195F

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

Preview Lab → · Contrast checker → · Palette generator →

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