#4D2280#4D2280

#4D2280 is a dark, vivid violet. Relative luminance 0.043; OKLCH L 36.8% C 0.149 H 299.9°. Best body text is #FFFFFF at 11.31:1 contrast (WCAG AA passes).

Color values

HEX#4D2280
RGBrgb(77, 34, 128)
HSLhsl(267, 58%, 32%)
HSVhsv(267, 73%, 50%)
CMYKcmyk(39.8%, 73.4%, 0%, 49.8%)
CIE-LABlab(24.58, 39.82, -45.31)
CIE-LCHlch(24.58, 60.32, 311.31°)
OKLaboklab(36.75% 0.0744 -0.1293)
OKLCHoklch(36.75% 0.149 299.9)
XYZxyz(7.5279, 4.2803, 20.8475)
Luminance0.0428 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D2280 #558022
analogous
#222680 #4D2280 #7C2280
triadic
#4D2280 #804D22 #22804D
tetradic
#4D2280 #802226 #558022 #22807C
square
#4D2280 #802226 #558022 #22807C
split-complementary
#4D2280 #807C22 #268022
monochromatic
#13081F #301550 #4D2280 #6A2FB0 #894DD0

Accessibility & contrast

On white

11.31
#4D2280 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.86
#4D2280 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4D2280
11.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D2280#FFFFFF#000000##FFFFFF
##4D22801.0011.311.8611.31
#FFFFFF11.311.0021.001.00
#0000001.8621.001.0021.00
##FFFFFF11.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003A83
Deuteranopia (green-blind)
#003A7E
Tritanopia (blue-blind)
#41394E
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #4d2280;
/* rgb */ color: rgb(77, 34, 128);
/* oklch */ color: oklch(36.8% 0.149 299.9);
Tailwind
colors: {
  custom: {
    50: '#8461a6',
    500: '#4d2280',
    950: '#000000',
  },
}
SCSS
$custom: #4d2280;
$custom-light: #8461a6;
$custom-dark: #000000;
JSON
{
  "hex": "#4d2280",
  "rgb": {
    "r": 77,
    "g": 34,
    "b": 128
  },
  "hsl": {
    "h": 267.447,
    "s": 58.025,
    "l": 31.765
  },
  "oklch": {
    "l": 0.3675,
    "c": 0.14916,
    "h": 299.9
  },
  "luminance": 0.0428
}

Semantic roles & 50–950 ramp

primary
#4D2280
secondary
#83B24B
accent
#E1479A
background
#F8F5FA
surface
#EFEAF4
border
#CAC6CE
text
#0B050F
muted
#7C797F

Preview Lab

Preview with #4D2280

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

Preview Lab → · Contrast checker → · Palette generator →

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