#4D2E80#4D2E80

#4D2E80 is a dark, vivid violet. Relative luminance 0.051; OKLCH L 38.5% C 0.132 H 297.2°. Best body text is #FFFFFF at 10.41:1 contrast (WCAG AA passes).

Color values

HEX#4D2E80
RGBrgb(77, 46, 128)
HSLhsl(263, 47%, 34%)
HSVhsv(263, 64%, 50%)
CMYKcmyk(39.8%, 64.1%, 0%, 49.8%)
CIE-LABlab(26.99, 33.20, -41.40)
CIE-LCHlch(26.99, 53.07, 308.73°)
OKLaboklab(38.49% 0.0605 -0.1178)
OKLCHoklch(38.49% 0.132 297.2)
XYZxyz(7.9328, 5.0902, 20.9824)
Luminance0.0509 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D2E80 #61802E
analogous
#2E3880 #4D2E80 #762E80
triadic
#4D2E80 #804D2E #2E804D
tetradic
#4D2E80 #802E38 #61802E #2E8076
square
#4D2E80 #802E38 #61802E #2E8076
split-complementary
#4D2E80 #80762E #38802E
monochromatic
#170E26 #321E53 #4D2E80 #683EAD #8862C7

Accessibility & contrast

On white

10.41
#4D2E80 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.02
#4D2E80 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4D2E80
10.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D2E80#FFFFFF#000000##FFFFFF
##4D2E801.0010.412.0210.41
#FFFFFF10.411.0021.001.00
#0000002.0221.001.0021.00
##FFFFFF10.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004083
Deuteranopia (green-blind)
#053F7E
Tritanopia (blue-blind)
#414052
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #4d2e80;
/* rgb */ color: rgb(77, 46, 128);
/* oklch */ color: oklch(38.5% 0.132 297.2);
Tailwind
colors: {
  custom: {
    50: '#8368a5',
    500: '#4d2e80',
    950: '#000000',
  },
}
SCSS
$custom: #4d2e80;
$custom-light: #8368a5;
$custom-dark: #000000;
JSON
{
  "hex": "#4d2e80",
  "rgb": {
    "r": 77,
    "g": 46,
    "b": 128
  },
  "hsl": {
    "h": 262.683,
    "s": 47.126,
    "l": 34.118
  },
  "oklch": {
    "l": 0.38485,
    "c": 0.13244,
    "h": 297.2
  },
  "luminance": 0.0509
}

Semantic roles & 50–950 ramp

primary
#4D2E80
secondary
#8FAD5D
accent
#D751A4
background
#F8F6FA
surface
#EFEBF4
border
#CAC6CE
text
#0B060F
muted
#7C7A7F

Preview Lab

Preview with #4D2E80

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

Preview Lab → · Contrast checker → · Palette generator →

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