#4E2264#4E2264

#4E2264 is a dark, moderate purple. Relative luminance 0.037; OKLCH L 34.7% C 0.117 H 312.6°. Best body text is #FFFFFF at 12.09:1 contrast (WCAG AA passes).

Color values

HEX#4E2264
RGBrgb(78, 34, 100)
HSLhsl(280, 49%, 26%)
HSVhsv(280, 66%, 39%)
CMYKcmyk(22%, 66%, 0%, 60.8%)
CIE-LABlab(22.60, 32.87, -30.52)
CIE-LCHlch(22.60, 44.85, 317.12°)
OKLaboklab(34.69% 0.079 -0.0858)
OKLCHoklch(34.69% 0.117 312.6)
XYZxyz(6.0138, 3.6840, 12.4484)
Luminance0.0368 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E2264 #386422
analogous
#2D2264 #4E2264 #642259
triadic
#4E2264 #644E22 #22644E
tetradic
#4E2264 #642D22 #386422 #225964
square
#4E2264 #642D22 #386422 #225964
split-complementary
#4E2264 #596422 #22642D
monochromatic
#120817 #2A1236 #4E2264 #723292 #9542BF

Accessibility & contrast

On white

12.09
#4E2264 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4E2264
12.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E2264#FFFFFF#000000##FFFFFF
##4E22641.0012.091.7412.09
#FFFFFF12.091.0021.001.00
#0000001.7421.001.0021.00
##FFFFFF12.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#083466
Deuteranopia (green-blind)
#1E3762
Tritanopia (blue-blind)
#4C2E3F
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #4e2264;
/* rgb */ color: rgb(78, 34, 100);
/* oklch */ color: oklch(34.7% 0.117 312.6);
Tailwind
colors: {
  custom: {
    50: '#826090',
    500: '#4e2264',
    950: '#000000',
  },
}
SCSS
$custom: #4e2264;
$custom-light: #826090;
$custom-dark: #000000;
JSON
{
  "hex": "#4e2264",
  "rgb": {
    "r": 78,
    "g": 34,
    "b": 100
  },
  "hsl": {
    "h": 280,
    "s": 49.254,
    "l": 26.275
  },
  "oklch": {
    "l": 0.3469,
    "c": 0.11666,
    "h": 312.6
  },
  "luminance": 0.03684
}

Semantic roles & 50–950 ramp

primary
#4E2264
secondary
#64984A
accent
#D94F7D
background
#F8F5F8
surface
#EFEAF0
border
#CAC6CB
text
#0B050C
muted
#7C797D

Preview Lab

Preview with #4E2264

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

Preview Lab → · Contrast checker → · Palette generator →

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