#4D2E73#4D2E73

#4D2E73 is a dark, moderate violet. Relative luminance 0.048; OKLCH L 37.5% C 0.115 H 301.8°. Best body text is #FFFFFF at 10.75:1 contrast (WCAG AA passes).

Color values

HEX#4D2E73
RGBrgb(77, 46, 115)
HSLhsl(267, 43%, 32%)
HSVhsv(267, 60%, 45%)
CMYKcmyk(33%, 60%, 0%, 54.9%)
CIE-LABlab(26.07, 29.56, -34.66)
CIE-LCHlch(26.07, 45.55, 310.46°)
OKLaboklab(37.52% 0.0608 -0.098)
OKLCHoklch(37.52% 0.115 301.8)
XYZxyz(7.1314, 4.7696, 16.7612)
Luminance0.0477 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D2E73 #54732E
analogous
#2E3273 #4D2E73 #702E73
triadic
#4D2E73 #734D2E #2E734D
tetradic
#4D2E73 #732E32 #54732E #2E7370
square
#4D2E73 #732E32 #54732E #2E7370
split-complementary
#4D2E73 #73702E #32732E
monochromatic
#120B1C #301D47 #4D2E73 #6A3F9F #895DBE

Accessibility & contrast

On white

10.75
#4D2E73 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.95
#4D2E73 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4D2E73
10.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D2E73#FFFFFF#000000##FFFFFF
##4D2E731.0010.751.9510.75
#FFFFFF10.751.0021.001.00
#0000001.9521.001.0021.00
##FFFFFF10.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0F3D75
Deuteranopia (green-blind)
#1C3D71
Tritanopia (blue-blind)
#463C4C
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #4d2e73;
/* rgb */ color: rgb(77, 46, 115);
/* oklch */ color: oklch(37.5% 0.115 301.8);
Tailwind
colors: {
  custom: {
    50: '#81689c',
    500: '#4d2e73',
    950: '#000000',
  },
}
SCSS
$custom: #4d2e73;
$custom-light: #81689c;
$custom-dark: #000000;
JSON
{
  "hex": "#4d2e73",
  "rgb": {
    "r": 77,
    "g": 46,
    "b": 115
  },
  "hsl": {
    "h": 266.957,
    "s": 42.857,
    "l": 31.569
  },
  "oklch": {
    "l": 0.37517,
    "c": 0.11537,
    "h": 301.8
  },
  "luminance": 0.0477
}

Semantic roles & 50–950 ramp

primary
#4D2E73
secondary
#82A458
accent
#D3559A
background
#F8F6F9
surface
#EFEBF2
border
#CAC6CC
text
#0B060E
muted
#7C7A7E

Preview Lab

Preview with #4D2E73

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

Preview Lab → · Contrast checker → · Palette generator →

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