#4D3485#4D3485

#4D3485 is a dark, vivid violet. Relative luminance 0.057; OKLCH L 39.9% C 0.130 H 293.9°. Best body text is #FFFFFF at 9.79:1 contrast (WCAG AA passes).

Color values

HEX#4D3485
RGBrgb(77, 52, 133)
HSLhsl(259, 44%, 36%)
HSVhsv(259, 61%, 52%)
CMYKcmyk(42.1%, 60.9%, 0%, 47.8%)
CIE-LABlab(28.71, 31.05, -41.75)
CIE-LCHlch(28.71, 52.03, 306.64°)
OKLaboklab(39.86% 0.0527 -0.1188)
OKLCHoklch(39.86% 0.13 293.9)
XYZxyz(8.5211, 5.7270, 22.8422)
Luminance0.0573 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D3485 #6C8534
analogous
#344485 #4D3485 #763485
triadic
#4D3485 #854D34 #34854D
tetradic
#4D3485 #853444 #6C8534 #348576
square
#4D3485 #853444 #6C8534 #348576
split-complementary
#4D3485 #857634 #448534
monochromatic
#1A122D #342359 #4D3485 #6645B1 #896DC6

Accessibility & contrast

On white

9.79
#4D3485 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4D3485
9.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D3485#FFFFFF#000000##FFFFFF
##4D34851.009.792.159.79
#FFFFFF9.791.0021.001.00
#0000002.1521.001.0021.00
##FFFFFF9.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004588
Deuteranopia (green-blind)
#0B4283
Tritanopia (blue-blind)
#3E4657
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #4d3485;
/* rgb */ color: rgb(77, 52, 133);
/* oklch */ color: oklch(39.9% 0.130 293.9);
Tailwind
colors: {
  custom: {
    50: '#836ca9',
    500: '#4d3485',
    950: '#000000',
  },
}
SCSS
$custom: #4d3485;
$custom-light: #836ca9;
$custom-dark: #000000;
JSON
{
  "hex": "#4d3485",
  "rgb": {
    "r": 77,
    "g": 52,
    "b": 133
  },
  "hsl": {
    "h": 258.519,
    "s": 43.784,
    "l": 36.275
  },
  "oklch": {
    "l": 0.39858,
    "c": 0.13001,
    "h": 293.9
  },
  "luminance": 0.05727
}

Semantic roles & 50–950 ramp

primary
#4D3485
secondary
#98AE67
accent
#D454AC
background
#F8F6FA
surface
#EFEBF4
border
#CAC6CE
text
#0B0710
muted
#7C7A7F

Preview Lab

Preview with #4D3485

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

Preview Lab → · Contrast checker → · Palette generator →

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