#4E2750#4E2750

#4E2750 is a dark, moderate purple. Relative luminance 0.036; OKLCH L 34.2% C 0.085 H 325.4°. Best body text is #FFFFFF at 12.14:1 contrast (WCAG AA passes).

Color values

HEX#4E2750
RGBrgb(78, 39, 80)
HSLhsl(297, 34%, 23%)
HSVhsv(297, 51%, 31%)
CMYKcmyk(2.5%, 51.2%, 0%, 68.6%)
CIE-LABlab(22.48, 25.34, -17.47)
CIE-LCHlch(22.48, 30.78, 325.43°)
OKLaboklab(34.22% 0.0696 -0.048)
OKLCHoklch(34.22% 0.085 325.4)
XYZxyz(5.3153, 3.6502, 8.0124)
Luminance0.0365 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E2750 #295027
analogous
#392750 #4E2750 #50273D
triadic
#4E2750 #504E27 #27504E
tetradic
#4E2750 #503927 #295027 #273D50
square
#4E2750 #503927 #295027 #273D50
split-complementary
#4E2750 #3D5027 #275039
monochromatic
#140A15 #261327 #4E2750 #763B79 #9E4FA2

Accessibility & contrast

On white

12.14
#4E2750 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.73
#4E2750 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E2750
12.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E2750#FFFFFF#000000##FFFFFF
##4E27501.0012.141.7312.14
#FFFFFF12.141.0021.001.00
#0000001.7321.001.0021.00
##FFFFFF12.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#233351
Deuteranopia (green-blind)
#2E374F
Tritanopia (blue-blind)
#502C37
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #4e2750;
/* rgb */ color: rgb(78, 39, 80);
/* oklch */ color: oklch(34.2% 0.085 325.4);
Tailwind
colors: {
  custom: {
    50: '#816381',
    500: '#4e2750',
    950: '#000000',
  },
}
SCSS
$custom: #4e2750;
$custom-light: #816381;
$custom-dark: #000000;
JSON
{
  "hex": "#4e2750",
  "rgb": {
    "r": 78,
    "g": 39,
    "b": 80
  },
  "hsl": {
    "h": 297.073,
    "s": 34.454,
    "l": 23.333
  },
  "oklch": {
    "l": 0.34215,
    "c": 0.0845,
    "h": 325.4
  },
  "luminance": 0.0365
}

Semantic roles & 50–950 ramp

primary
#4E2750
secondary
#528350
accent
#CB5D63
background
#F7F5F7
surface
#EEEAEE
border
#C9C6C9
text
#0A050A
muted
#7C797C

Preview Lab

Preview with #4E2750

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

Preview Lab → · Contrast checker → · Palette generator →

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