#4D328F#4D328F

#4D328F is a dark, vivid violet. Relative luminance 0.058; OKLCH L 40.3% C 0.146 H 291.9°. Best body text is #FFFFFF at 9.68:1 contrast (WCAG AA passes).

Color values

HEX#4D328F
RGBrgb(77, 50, 143)
HSLhsl(257, 48%, 38%)
HSVhsv(257, 65%, 56%)
CMYKcmyk(46.2%, 65%, 0%, 43.9%)
CIE-LABlab(29.01, 35.21, -47.46)
CIE-LCHlch(29.01, 59.10, 306.57°)
OKLaboklab(40.31% 0.0545 -0.1357)
OKLCHoklch(40.31% 0.146 291.9)
XYZxyz(9.1577, 5.8419, 26.6264)
Luminance0.0584 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D328F #748F32
analogous
#32468F #4D328F #7B328F
triadic
#4D328F #8F4D32 #328F4D
tetradic
#4D328F #8F3246 #748F32 #328F7B
square
#4D328F #8F3246 #748F32 #328F7B
split-complementary
#4D328F #8F7B32 #468F32
monochromatic
#1C1234 #352262 #4D328F #6542BC #8A6FCD

Accessibility & contrast

On white

9.68
#4D328F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.17
#4D328F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4D328F
9.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D328F#FFFFFF#000000##FFFFFF
##4D328F1.009.682.179.68
#FFFFFF9.681.0021.001.00
#0000002.1721.001.0021.00
##FFFFFF9.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004692
Deuteranopia (green-blind)
#00428D
Tritanopia (blue-blind)
#3A485C
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #4d328f;
/* rgb */ color: rgb(77, 50, 143);
/* oklch */ color: oklch(40.3% 0.146 291.9);
Tailwind
colors: {
  custom: {
    50: '#846bb0',
    500: '#4d328f',
    950: '#000000',
  },
}
SCSS
$custom: #4d328f;
$custom-light: #846bb0;
$custom-dark: #000000;
JSON
{
  "hex": "#4d328f",
  "rgb": {
    "r": 77,
    "g": 50,
    "b": 143
  },
  "hsl": {
    "h": 257.419,
    "s": 48.187,
    "l": 37.843
  },
  "oklch": {
    "l": 0.40312,
    "c": 0.1462,
    "h": 291.9
  },
  "luminance": 0.05842
}

Semantic roles & 50–950 ramp

primary
#4D328F
secondary
#9EB468
accent
#D850B0
background
#F8F6FA
surface
#F0EBF5
border
#CBC6CF
text
#0B0711
muted
#7C7A80

Preview Lab

Preview with #4D328F

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

Preview Lab → · Contrast checker → · Palette generator →

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