#4E265F#4E265F

#4E265F is a dark, moderate purple. Relative luminance 0.038; OKLCH L 35.0% C 0.104 H 314.7°. Best body text is #FFFFFF at 11.89:1 contrast (WCAG AA passes).

Color values

HEX#4E265F
RGBrgb(78, 38, 95)
HSLhsl(282, 43%, 26%)
HSVhsv(282, 60%, 37%)
CMYKcmyk(17.9%, 60%, 0%, 62.7%)
CIE-LABlab(23.11, 29.40, -26.43)
CIE-LCHlch(23.11, 39.53, 318.05°)
OKLaboklab(34.96% 0.0732 -0.0739)
OKLCHoklch(34.96% 0.104 314.7)
XYZxyz(5.9002, 3.8323, 11.2532)
Luminance0.0383 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E265F #375F26
analogous
#31265F #4E265F #5F2653
triadic
#4E265F #5F4E26 #265F4E
tetradic
#4E265F #5F3126 #375F26 #26535F
square
#4E265F #5F3126 #375F26 #26535F
split-complementary
#4E265F #535F26 #265F31
monochromatic
#120916 #2A1533 #4E265F #72378B #9649B6

Accessibility & contrast

On white

11.89
#4E265F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.77
#4E265F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E265F
11.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E265F#FFFFFF#000000##FFFFFF
##4E265F1.0011.891.7711.89
#FFFFFF11.891.0021.001.00
#0000001.7721.001.0021.00
##FFFFFF11.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#173561
Deuteranopia (green-blind)
#25385E
Tritanopia (blue-blind)
#4D2F3E
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #4e265f;
/* rgb */ color: rgb(78, 38, 95);
/* oklch */ color: oklch(35.0% 0.104 314.7);
Tailwind
colors: {
  custom: {
    50: '#81628d',
    500: '#4e265f',
    950: '#000000',
  },
}
SCSS
$custom: #4e265f;
$custom-light: #81628d;
$custom-dark: #000000;
JSON
{
  "hex": "#4e265f",
  "rgb": {
    "r": 78,
    "g": 38,
    "b": 95
  },
  "hsl": {
    "h": 282.105,
    "s": 42.857,
    "l": 26.078
  },
  "oklch": {
    "l": 0.34958,
    "c": 0.10397,
    "h": 314.7
  },
  "luminance": 0.03832
}

Semantic roles & 50–950 ramp

primary
#4E265F
secondary
#63924F
accent
#D3557B
background
#F8F5F8
surface
#EFEAF0
border
#CAC6CB
text
#0A050C
muted
#7C797D

Preview Lab

Preview with #4E265F

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

Preview Lab → · Contrast checker → · Palette generator →

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