#4E245F#4E245F

#4E245F is a dark, moderate purple. Relative luminance 0.037; OKLCH L 34.6% C 0.107 H 315.1°. Best body text is #FFFFFF at 12.06:1 contrast (WCAG AA passes).

Color values

HEX#4E245F
RGBrgb(78, 36, 95)
HSLhsl(283, 45%, 26%)
HSVhsv(283, 62%, 37%)
CMYKcmyk(17.9%, 62.1%, 0%, 62.7%)
CIE-LABlab(22.68, 30.55, -27.11)
CIE-LCHlch(22.68, 40.84, 318.42°)
OKLaboklab(34.64% 0.0761 -0.0758)
OKLCHoklch(34.64% 0.107 315.1)
XYZxyz(5.8380, 3.7079, 11.2324)
Luminance0.0371 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E245F #355F24
analogous
#30245F #4E245F #5F2452
triadic
#4E245F #5F4E24 #245F4E
tetradic
#4E245F #5F3024 #355F24 #24525F
square
#4E245F #5F3024 #355F24 #24525F
split-complementary
#4E245F #525F24 #245F30
monochromatic
#120816 #2A1333 #4E245F #72358B #9746B8

Accessibility & contrast

On white

12.06
#4E245F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.74
#4E245F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E245F
12.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E245F#FFFFFF#000000##FFFFFF
##4E245F1.0012.061.7412.06
#FFFFFF12.061.0021.001.00
#0000001.7421.001.0021.00
##FFFFFF12.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#133461
Deuteranopia (green-blind)
#23375E
Tritanopia (blue-blind)
#4D2E3D
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #4e245f;
/* rgb */ color: rgb(78, 36, 95);
/* oklch */ color: oklch(34.6% 0.107 315.1);
Tailwind
colors: {
  custom: {
    50: '#81618d',
    500: '#4e245f',
    950: '#000000',
  },
}
SCSS
$custom: #4e245f;
$custom-light: #81618d;
$custom-dark: #000000;
JSON
{
  "hex": "#4e245f",
  "rgb": {
    "r": 78,
    "g": 36,
    "b": 95
  },
  "hsl": {
    "h": 282.712,
    "s": 45.038,
    "l": 25.686
  },
  "oklch": {
    "l": 0.34645,
    "c": 0.10746,
    "h": 315.1
  },
  "luminance": 0.03708
}

Semantic roles & 50–950 ramp

primary
#4E245F
secondary
#61934C
accent
#D55378
background
#F8F5F8
surface
#EFEAF0
border
#CAC6CB
text
#0A050C
muted
#7C797D

Preview Lab

Preview with #4E245F

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

Preview Lab → · Contrast checker → · Palette generator →

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