#4D2D83#4D2D83

#4D2D83 is a dark, vivid violet. Relative luminance 0.051; OKLCH L 38.6% C 0.138 H 296.5°. Best body text is #FFFFFF at 10.40:1 contrast (WCAG AA passes).

Color values

HEX#4D2D83
RGBrgb(77, 45, 131)
HSLhsl(262, 49%, 35%)
HSVhsv(262, 66%, 51%)
CMYKcmyk(41.2%, 65.6%, 0%, 48.6%)
CIE-LABlab(27.00, 34.65, -43.27)
CIE-LCHlch(27.00, 55.43, 308.68°)
OKLaboklab(38.56% 0.0615 -0.1233)
OKLCHoklch(38.56% 0.138 296.5)
XYZxyz(8.0946, 5.0931, 22.0249)
Luminance0.0509 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D2D83 #63832D
analogous
#2D3883 #4D2D83 #782D83
triadic
#4D2D83 #834D2D #2D834D
tetradic
#4D2D83 #832D38 #63832D #2D8378
square
#4D2D83 #832D38 #63832D #2D8378
split-complementary
#4D2D83 #83782D #38832D
monochromatic
#170E28 #321D55 #4D2D83 #683DB1 #8862C9

Accessibility & contrast

On white

10.40
#4D2D83 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4D2D83
10.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D2D83#FFFFFF#000000##FFFFFF
##4D2D831.0010.402.0210.40
#FFFFFF10.401.0021.001.00
#0000002.0221.001.0021.00
##FFFFFF10.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004086
Deuteranopia (green-blind)
#003F81
Tritanopia (blue-blind)
#404153
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #4d2d83;
/* rgb */ color: rgb(77, 45, 131);
/* oklch */ color: oklch(38.6% 0.138 296.5);
Tailwind
colors: {
  custom: {
    50: '#8368a8',
    500: '#4d2d83',
    950: '#000000',
  },
}
SCSS
$custom: #4d2d83;
$custom-light: #8368a8;
$custom-dark: #000000;
JSON
{
  "hex": "#4d2d83",
  "rgb": {
    "r": 77,
    "g": 45,
    "b": 131
  },
  "hsl": {
    "h": 262.326,
    "s": 48.864,
    "l": 34.51
  },
  "oklch": {
    "l": 0.38562,
    "c": 0.13779,
    "h": 296.5
  },
  "luminance": 0.05093
}

Semantic roles & 50–950 ramp

primary
#4D2D83
secondary
#90AF5C
accent
#D84FA5
background
#F8F6FA
surface
#EFEBF4
border
#CAC6CE
text
#0B0610
muted
#7C7A7F

Preview Lab

Preview with #4D2D83

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

Preview Lab → · Contrast checker → · Palette generator →

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