#4E305B#4E305B

#4E305B is a dark, moderate purple. Relative luminance 0.045; OKLCH L 36.5% C 0.080 H 315.0°. Best body text is #FFFFFF at 11.07:1 contrast (WCAG AA passes).

Color values

HEX#4E305B
RGBrgb(78, 48, 91)
HSLhsl(282, 31%, 27%)
HSVhsv(282, 47%, 36%)
CMYKcmyk(14.3%, 47.3%, 0%, 64.3%)
CIE-LABlab(25.23, 22.34, -20.46)
CIE-LCHlch(25.23, 30.30, 317.51°)
OKLaboklab(36.45% 0.0567 -0.0566)
OKLCHoklch(36.45% 0.08 315)
XYZxyz(6.0869, 4.4891, 10.4413)
Luminance0.0449 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E305B #3D5B30
analogous
#38305B #4E305B #5B3053
triadic
#4E305B #5B4E30 #305B4E
tetradic
#4E305B #5B3830 #3D5B30 #30535B
square
#4E305B #5B3830 #3D5B30 #30535B
split-complementary
#4E305B #535B30 #305B38
monochromatic
#110B14 #2C1B33 #4E305B #704583 #925CA9

Accessibility & contrast

On white

11.07
#4E305B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.90
#4E305B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E305B
11.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E305B#FFFFFF#000000##FFFFFF
##4E305B1.0011.071.9011.07
#FFFFFF11.071.0021.001.00
#0000001.9021.001.0021.00
##FFFFFF11.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#283A5D
Deuteranopia (green-blind)
#303D5A
Tritanopia (blue-blind)
#4D3641
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #4e305b;
/* rgb */ color: rgb(78, 48, 91);
/* oklch */ color: oklch(36.5% 0.080 315.0);
Tailwind
colors: {
  custom: {
    50: '#806989',
    500: '#4e305b',
    950: '#000000',
  },
}
SCSS
$custom: #4e305b;
$custom-light: #806989;
$custom-dark: #000000;
JSON
{
  "hex": "#4e305b",
  "rgb": {
    "r": 78,
    "g": 48,
    "b": 91
  },
  "hsl": {
    "h": 281.86,
    "s": 30.935,
    "l": 27.255
  },
  "oklch": {
    "l": 0.36452,
    "c": 0.08015,
    "h": 315
  },
  "luminance": 0.04489
}

Semantic roles & 50–950 ramp

primary
#4E305B
secondary
#6A8C5A
accent
#C76180
background
#F7F6F8
surface
#EEEBF0
border
#C9C6CB
text
#0A060B
muted
#7C7A7C

Preview Lab

Preview with #4E305B

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

Preview Lab → · Contrast checker → · Palette generator →

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