#4D094E#4D094E

#4D094E is a dark, vivid purple. Relative luminance 0.023; OKLCH L 30.2% C 0.127 H 327.5°. Best body text is #FFFFFF at 14.34:1 contrast (WCAG AA passes).

Color values

HEX#4D094E
RGBrgb(77, 9, 78)
HSLhsl(299, 79%, 17%)
HSVhsv(299, 88%, 31%)
CMYKcmyk(1.3%, 88.5%, 0%, 69.4%)
CIE-LABlab(17.10, 38.65, -24.61)
CIE-LCHlch(17.10, 45.82, 327.52°)
OKLaboklab(30.23% 0.1074 -0.0684)
OKLCHoklch(30.23% 0.127 327.5)
XYZxyz(4.5333, 2.3236, 7.4160)
Luminance0.0232 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D094E #0A4E09
analogous
#2A094E #4D094E #4E092D
triadic
#4D094E #4E4D09 #094E4D
tetradic
#4D094E #4E2A09 #0A4E09 #092D4E
square
#4D094E #4E2A09 #0A4E09 #092D4E
split-complementary
#4D094E #2D4E09 #094E2A
monochromatic
#1B031B #1B031B #4D094E #830F85 #B916BC

Accessibility & contrast

On white

14.34
#4D094E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.46
#4D094E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4D094E
14.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D094E#FFFFFF#000000##FFFFFF
##4D094E1.0014.341.4614.34
#FFFFFF14.341.0021.001.00
#0000001.4621.001.0021.00
##FFFFFF14.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002550
Deuteranopia (green-blind)
#1D2D4C
Tritanopia (blue-blind)
#50162C
Achromatopsia (no color)
#2A2A2A

Design tokens & code

CSS
--color: #4d094e;
/* rgb */ color: rgb(77, 9, 78);
/* oklch */ color: oklch(30.2% 0.127 327.5);
Tailwind
colors: {
  custom: {
    50: '#825380',
    500: '#4d094e',
    950: '#000000',
  },
}
SCSS
$custom: #4d094e;
$custom-light: #825380;
$custom-dark: #000000;
JSON
{
  "hex": "#4d094e",
  "rgb": {
    "r": 77,
    "g": 9,
    "b": 78
  },
  "hsl": {
    "h": 299.13,
    "s": 79.31,
    "l": 17.059
  },
  "oklch": {
    "l": 0.30233,
    "c": 0.12727,
    "h": 327.5
  },
  "luminance": 0.02323
}

Semantic roles & 50–950 ramp

primary
#4D094E
secondary
#298B28
accent
#F63235
background
#F8F5F7
surface
#EFE9EE
border
#CAC5C9
text
#0B030A
muted
#7C787C

Preview Lab

Preview with #4D094E

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

Preview Lab → · Contrast checker → · Palette generator →

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