#4D2283#4D2283

#4D2283 is a dark, vivid violet. Relative luminance 0.044; OKLCH L 37.0% C 0.153 H 298.9°. Best body text is #FFFFFF at 11.22:1 contrast (WCAG AA passes).

Color values

HEX#4D2283
RGBrgb(77, 34, 131)
HSLhsl(267, 59%, 32%)
HSVhsv(267, 74%, 51%)
CMYKcmyk(41.2%, 74%, 0%, 48.6%)
CIE-LABlab(24.83, 40.63, -46.79)
CIE-LCHlch(24.83, 61.97, 310.97°)
OKLaboklab(37.01% 0.0738 -0.1336)
OKLCHoklch(37.01% 0.153 298.9)
XYZxyz(7.7283, 4.3604, 21.9028)
Luminance0.0436 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D2283 #588322
analogous
#222783 #4D2283 #7E2283
triadic
#4D2283 #834D22 #22834D
tetradic
#4D2283 #832227 #588322 #22837E
square
#4D2283 #832227 #588322 #22837E
split-complementary
#4D2283 #837E22 #278322
monochromatic
#140922 #301552 #4D2283 #6A2FB4 #884ED1

Accessibility & contrast

On white

11.22
#4D2283 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4D2283
11.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D2283#FFFFFF#000000##FFFFFF
##4D22831.0011.221.8711.22
#FFFFFF11.221.0021.001.00
#0000001.8721.001.0021.00
##FFFFFF11.221.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #4d2283;
/* rgb */ color: rgb(77, 34, 131);
/* oklch */ color: oklch(37.0% 0.153 298.9);
Tailwind
colors: {
  custom: {
    50: '#8461a8',
    500: '#4d2283',
    950: '#000000',
  },
}
SCSS
$custom: #4d2283;
$custom-light: #8461a8;
$custom-dark: #000000;
JSON
{
  "hex": "#4d2283",
  "rgb": {
    "r": 77,
    "g": 34,
    "b": 131
  },
  "hsl": {
    "h": 266.598,
    "s": 58.788,
    "l": 32.353
  },
  "oklch": {
    "l": 0.37007,
    "c": 0.15265,
    "h": 298.9
  },
  "luminance": 0.04361
}

Semantic roles & 50–950 ramp

primary
#4D2283
secondary
#86B44C
accent
#E2469D
background
#F8F5FA
surface
#F0EAF4
border
#CBC6CE
text
#0B0510
muted
#7C797F

Preview Lab

Preview with #4D2283

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

Preview Lab → · Contrast checker → · Palette generator →

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