#4D2C73#4D2C73

#4D2C73 is a dark, moderate violet. Relative luminance 0.046; OKLCH L 37.2% C 0.119 H 302.4°. Best body text is #FFFFFF at 10.92:1 contrast (WCAG AA passes).

Color values

HEX#4D2C73
RGBrgb(77, 44, 115)
HSLhsl(268, 45%, 31%)
HSVhsv(268, 62%, 45%)
CMYKcmyk(33%, 61.7%, 0%, 54.9%)
CIE-LABlab(25.61, 30.76, -35.38)
CIE-LCHlch(25.61, 46.89, 311.00°)
OKLaboklab(37.19% 0.0636 -0.1001)
OKLCHoklch(37.19% 0.119 302.4)
XYZxyz(7.0550, 4.6169, 16.7358)
Luminance0.0462 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D2C73 #52732C
analogous
#2C2E73 #4D2C73 #702C73
triadic
#4D2C73 #734D2C #2C734D
tetradic
#4D2C73 #732C2E #52732C #2C7370
square
#4D2C73 #732C2E #52732C #2C7370
split-complementary
#4D2C73 #73702C #2E732C
monochromatic
#120A1A #2F1B47 #4D2C73 #6B3D9F #895AC0

Accessibility & contrast

On white

10.92
#4D2C73 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.92
#4D2C73 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4D2C73
10.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D2C73#FFFFFF#000000##FFFFFF
##4D2C731.0010.921.9210.92
#FFFFFF10.921.0021.001.00
#0000001.9221.001.0021.00
##FFFFFF10.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#093C75
Deuteranopia (green-blind)
#193C71
Tritanopia (blue-blind)
#463A4B
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #4d2c73;
/* rgb */ color: rgb(77, 44, 115);
/* oklch */ color: oklch(37.2% 0.119 302.4);
Tailwind
colors: {
  custom: {
    50: '#82679c',
    500: '#4d2c73',
    950: '#000000',
  },
}
SCSS
$custom: #4d2c73;
$custom-light: #82679c;
$custom-dark: #000000;
JSON
{
  "hex": "#4d2c73",
  "rgb": {
    "r": 77,
    "g": 44,
    "b": 115
  },
  "hsl": {
    "h": 267.887,
    "s": 44.654,
    "l": 31.176
  },
  "oklch": {
    "l": 0.37185,
    "c": 0.11864,
    "h": 302.4
  },
  "luminance": 0.04617
}

Semantic roles & 50–950 ramp

primary
#4D2C73
secondary
#80A556
accent
#D45398
background
#F8F6F9
surface
#EFEBF2
border
#CAC6CC
text
#0B060E
muted
#7C7A7E

Preview Lab

Preview with #4D2C73

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

Preview Lab → · Contrast checker → · Palette generator →

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