#4D2B83#4D2B83

#4D2B83 is a dark, vivid violet. Relative luminance 0.049; OKLCH L 38.3% C 0.141 H 297.0°. Best body text is #FFFFFF at 10.56:1 contrast (WCAG AA passes).

Color values

HEX#4D2B83
RGBrgb(77, 43, 131)
HSLhsl(263, 51%, 34%)
HSVhsv(263, 67%, 51%)
CMYKcmyk(41.2%, 67.2%, 0%, 48.6%)
CIE-LABlab(26.57, 35.79, -43.95)
CIE-LCHlch(26.57, 56.68, 309.16°)
OKLaboklab(38.26% 0.0638 -0.1253)
OKLCHoklch(38.26% 0.141 297)
XYZxyz(8.0201, 4.9441, 22.0001)
Luminance0.0494 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D2B83 #61832B
analogous
#2B3583 #4D2B83 #792B83
triadic
#4D2B83 #834D2B #2B834D
tetradic
#4D2B83 #832B35 #61832B #2B8379
square
#4D2B83 #832B35 #61832B #2B8379
split-complementary
#4D2B83 #83792B #35832B
monochromatic
#170D27 #321C55 #4D2B83 #683AB1 #885ECA

Accessibility & contrast

On white

10.56
#4D2B83 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.99
#4D2B83 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4D2B83
10.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D2B83#FFFFFF#000000##FFFFFF
##4D2B831.0010.561.9910.56
#FFFFFF10.561.0021.001.00
#0000001.9921.001.0021.00
##FFFFFF10.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003F86
Deuteranopia (green-blind)
#003E81
Tritanopia (blue-blind)
#403F53
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #4d2b83;
/* rgb */ color: rgb(77, 43, 131);
/* oklch */ color: oklch(38.3% 0.141 297.0);
Tailwind
colors: {
  custom: {
    50: '#8366a8',
    500: '#4d2b83',
    950: '#000000',
  },
}
SCSS
$custom: #4d2b83;
$custom-light: #8366a8;
$custom-dark: #000000;
JSON
{
  "hex": "#4d2b83",
  "rgb": {
    "r": 77,
    "g": 43,
    "b": 131
  },
  "hsl": {
    "h": 263.182,
    "s": 50.575,
    "l": 34.118
  },
  "oklch": {
    "l": 0.38256,
    "c": 0.14065,
    "h": 297
  },
  "luminance": 0.04944
}

Semantic roles & 50–950 ramp

primary
#4D2B83
secondary
#8FB05A
accent
#DA4EA4
background
#F8F6FA
surface
#EFEBF4
border
#CAC6CE
text
#0B0610
muted
#7C7A7F

Preview Lab

Preview with #4D2B83

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

Preview Lab → · Contrast checker → · Palette generator →

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