#4D3285#4D3285

#4D3285 is a dark, vivid violet. Relative luminance 0.056; OKLCH L 39.5% C 0.133 H 294.5°. Best body text is #FFFFFF at 9.95:1 contrast (WCAG AA passes).

Color values

HEX#4D3285
RGBrgb(77, 50, 133)
HSLhsl(260, 45%, 36%)
HSVhsv(260, 62%, 52%)
CMYKcmyk(42.1%, 62.4%, 0%, 47.8%)
CIE-LABlab(28.25, 32.27, -42.49)
CIE-LCHlch(28.25, 53.35, 307.21°)
OKLaboklab(39.52% 0.0552 -0.121)
OKLCHoklch(39.52% 0.133 294.5)
XYZxyz(8.4337, 5.5522, 22.8131)
Luminance0.0555 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D3285 #6A8532
analogous
#324085 #4D3285 #763285
triadic
#4D3285 #854D32 #32854D
tetradic
#4D3285 #853240 #6A8532 #328576
square
#4D3285 #853240 #6A8532 #328576
split-complementary
#4D3285 #857632 #408532
monochromatic
#19112C #332159 #4D3285 #6743B1 #886AC7

Accessibility & contrast

On white

9.95
#4D3285 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.11
#4D3285 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4D3285
9.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D3285#FFFFFF#000000##FFFFFF
##4D32851.009.952.119.95
#FFFFFF9.951.0021.001.00
#0000002.1121.001.0021.00
##FFFFFF9.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004388
Deuteranopia (green-blind)
#044183
Tritanopia (blue-blind)
#3E4456
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #4d3285;
/* rgb */ color: rgb(77, 50, 133);
/* oklch */ color: oklch(39.5% 0.133 294.5);
Tailwind
colors: {
  custom: {
    50: '#836ba9',
    500: '#4d3285',
    950: '#000000',
  },
}
SCSS
$custom: #4d3285;
$custom-light: #836ba9;
$custom-dark: #000000;
JSON
{
  "hex": "#4d3285",
  "rgb": {
    "r": 77,
    "g": 50,
    "b": 133
  },
  "hsl": {
    "h": 259.518,
    "s": 45.355,
    "l": 35.882
  },
  "oklch": {
    "l": 0.39522,
    "c": 0.13302,
    "h": 294.5
  },
  "luminance": 0.05552
}

Semantic roles & 50–950 ramp

primary
#4D3285
secondary
#96AF64
accent
#D553AB
background
#F8F6FA
surface
#EFEBF4
border
#CAC6CE
text
#0B0710
muted
#7C7A7F

Preview Lab

Preview with #4D3285

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

Preview Lab → · Contrast checker → · Palette generator →

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