#4D2282#4D2282

#4D2282 is a dark, vivid violet. Relative luminance 0.043; OKLCH L 36.9% C 0.151 H 299.2°. Best body text is #FFFFFF at 11.25:1 contrast (WCAG AA passes).

Color values

HEX#4D2282
RGBrgb(77, 34, 130)
HSLhsl(267, 59%, 32%)
HSVhsv(267, 74%, 51%)
CMYKcmyk(40.8%, 73.8%, 0%, 49%)
CIE-LABlab(24.74, 40.36, -46.30)
CIE-LCHlch(24.74, 61.42, 311.08°)
OKLaboklab(36.92% 0.074 -0.1322)
OKLCHoklch(36.92% 0.151 299.2)
XYZxyz(7.6608, 4.3334, 21.5476)
Luminance0.0433 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D2282 #578222
analogous
#222782 #4D2282 #7D2282
triadic
#4D2282 #824D22 #22824D
tetradic
#4D2282 #822227 #578222 #22827D
square
#4D2282 #822227 #578222 #22827D
split-complementary
#4D2282 #827D22 #278222
monochromatic
#140921 #301551 #4D2282 #6A2FB3 #884ED1

Accessibility & contrast

On white

11.25
#4D2282 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.87
#4D2282 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4D2282
11.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D2282#FFFFFF#000000##FFFFFF
##4D22821.0011.251.8711.25
#FFFFFF11.251.0021.001.00
#0000001.8721.001.0021.00
##FFFFFF11.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003B85
Deuteranopia (green-blind)
#003A80
Tritanopia (blue-blind)
#403A50
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #4d2282;
/* rgb */ color: rgb(77, 34, 130);
/* oklch */ color: oklch(36.9% 0.151 299.2);
Tailwind
colors: {
  custom: {
    50: '#8461a7',
    500: '#4d2282',
    950: '#000000',
  },
}
SCSS
$custom: #4d2282;
$custom-light: #8461a7;
$custom-dark: #000000;
JSON
{
  "hex": "#4d2282",
  "rgb": {
    "r": 77,
    "g": 34,
    "b": 130
  },
  "hsl": {
    "h": 266.875,
    "s": 58.537,
    "l": 32.157
  },
  "oklch": {
    "l": 0.36921,
    "c": 0.15148,
    "h": 299.2
  },
  "luminance": 0.04334
}

Semantic roles & 50–950 ramp

primary
#4D2282
secondary
#85B44C
accent
#E2469C
background
#F8F5FA
surface
#F0EAF4
border
#CBC6CE
text
#0B050F
muted
#7C797F

Preview Lab

Preview with #4D2282

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

Preview Lab → · Contrast checker → · Palette generator →

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