#4E304F#4E304F

#4E304F is a dark, moderate purple. Relative luminance 0.043; OKLCH L 35.8% C 0.065 H 325.7°. Best body text is #FFFFFF at 11.29:1 contrast (WCAG AA passes).

Color values

HEX#4E304F
RGBrgb(78, 48, 79)
HSLhsl(298, 24%, 25%)
HSVhsv(298, 39%, 31%)
CMYKcmyk(1.3%, 39.2%, 0%, 69%)
CIE-LABlab(24.63, 19.53, -13.46)
CIE-LCHlch(24.63, 23.72, 325.42°)
OKLaboklab(35.81% 0.0538 -0.0366)
OKLCHoklch(35.81% 0.065 325.7)
XYZxyz(5.6100, 4.2983, 7.9298)
Luminance0.0430 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E304F #314F30
analogous
#3F304F #4E304F #4F3040
triadic
#4E304F #4F4E30 #304F4E
tetradic
#4E304F #4F3F30 #314F30 #30404F
square
#4E304F #4F3F30 #314F30 #30404F
split-complementary
#4E304F #404F30 #304F3F
monochromatic
#130C13 #281929 #4E304F #744775 #995E9B

Accessibility & contrast

On white

11.29
#4E304F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.86
#4E304F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E304F
11.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E304F#FFFFFF#000000##FFFFFF
##4E304F1.0011.291.8611.29
#FFFFFF11.291.0021.001.00
#0000001.8621.001.0021.00
##FFFFFF11.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2D3850
Deuteranopia (green-blind)
#353C4E
Tritanopia (blue-blind)
#50333C
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #4e304f;
/* rgb */ color: rgb(78, 48, 79);
/* oklch */ color: oklch(35.8% 0.065 325.7);
Tailwind
colors: {
  custom: {
    50: '#806980',
    500: '#4e304f',
    950: '#000000',
  },
}
SCSS
$custom: #4e304f;
$custom-light: #806980;
$custom-dark: #000000;
JSON
{
  "hex": "#4e304f",
  "rgb": {
    "r": 78,
    "g": 48,
    "b": 79
  },
  "hsl": {
    "h": 298.065,
    "s": 24.409,
    "l": 24.902
  },
  "oklch": {
    "l": 0.35813,
    "c": 0.06506,
    "h": 325.7
  },
  "luminance": 0.04298
}

Semantic roles & 50–950 ramp

primary
#4E304F
secondary
#5C805B
accent
#C1676A
background
#F7F6F7
surface
#EEEBEE
border
#C9C6C9
text
#0A060A
muted
#7C7A7C

Preview Lab

Preview with #4E304F

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

Preview Lab → · Contrast checker → · Palette generator →

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