#4D3582#4D3582

#4D3582 is a dark, vivid violet. Relative luminance 0.057; OKLCH L 39.8% C 0.124 H 294.4°. Best body text is #FFFFFF at 9.78:1 contrast (WCAG AA passes).

Color values

HEX#4D3582
RGBrgb(77, 53, 130)
HSLhsl(259, 42%, 36%)
HSVhsv(259, 59%, 51%)
CMYKcmyk(40.8%, 59.2%, 0%, 49%)
CIE-LABlab(28.74, 29.55, -39.84)
CIE-LCHlch(28.74, 49.61, 306.57°)
OKLaboklab(39.81% 0.0515 -0.1132)
OKLCHoklch(39.81% 0.124 294.4)
XYZxyz(8.3619, 5.7355, 21.7813)
Luminance0.0574 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D3582 #6A8235
analogous
#354382 #4D3582 #733582
triadic
#4D3582 #824D35 #35824D
tetradic
#4D3582 #823543 #6A8235 #358273
square
#4D3582 #823543 #6A8235 #358273
split-complementary
#4D3582 #827335 #438235
monochromatic
#19122B #332357 #4D3582 #6747AD #886EC4

Accessibility & contrast

On white

9.78
#4D3582 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.15
#4D3582 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4D3582
9.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D3582#FFFFFF#000000##FFFFFF
##4D35821.009.782.159.78
#FFFFFF9.781.0021.001.00
#0000002.1521.001.0021.00
##FFFFFF9.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0A4485
Deuteranopia (green-blind)
#144380
Tritanopia (blue-blind)
#404556
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #4d3582;
/* rgb */ color: rgb(77, 53, 130);
/* oklch */ color: oklch(39.8% 0.124 294.4);
Tailwind
colors: {
  custom: {
    50: '#836da7',
    500: '#4d3582',
    950: '#000000',
  },
}
SCSS
$custom: #4d3582;
$custom-light: #836da7;
$custom-dark: #000000;
JSON
{
  "hex": "#4d3582",
  "rgb": {
    "r": 77,
    "g": 53,
    "b": 130
  },
  "hsl": {
    "h": 258.701,
    "s": 42.077,
    "l": 35.882
  },
  "oklch": {
    "l": 0.39806,
    "c": 0.12438,
    "h": 294.4
  },
  "luminance": 0.05736
}

Semantic roles & 50–950 ramp

primary
#4D3582
secondary
#96AC67
accent
#D256AB
background
#F8F6FA
surface
#EFEBF4
border
#CAC6CE
text
#0B070F
muted
#7C7A7F

Preview Lab

Preview with #4D3582

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

Preview Lab → · Contrast checker → · Palette generator →

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