#4E265B#4E265B

#4E265B is a dark, moderate purple. Relative luminance 0.038; OKLCH L 34.7% C 0.099 H 317.3°. Best body text is #FFFFFF at 11.98:1 contrast (WCAG AA passes).

Color values

HEX#4E265B
RGBrgb(78, 38, 91)
HSLhsl(285, 41%, 25%)
HSVhsv(285, 58%, 36%)
CMYKcmyk(14.3%, 58.2%, 0%, 64.3%)
CIE-LABlab(22.87, 28.45, -24.18)
CIE-LCHlch(22.87, 37.33, 319.64°)
OKLaboklab(34.7% 0.0728 -0.0673)
OKLCHoklch(34.7% 0.099 317.3)
XYZxyz(5.7231, 3.7615, 10.3201)
Luminance0.0376 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E265B #335B26
analogous
#33265B #4E265B #5B264D
triadic
#4E265B #5B4E26 #265B4E
tetradic
#4E265B #5B3326 #335B26 #264D5B
square
#4E265B #5B3326 #335B26 #264D5B
split-complementary
#4E265B #4D5B26 #265B33
monochromatic
#130916 #291430 #4E265B #733886 #984AB1

Accessibility & contrast

On white

11.98
#4E265B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.75
#4E265B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E265B
11.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E265B#FFFFFF#000000##FFFFFF
##4E265B1.0011.981.7511.98
#FFFFFF11.981.0021.001.00
#0000001.7521.001.0021.00
##FFFFFF11.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1A345D
Deuteranopia (green-blind)
#28385A
Tritanopia (blue-blind)
#4E2E3C
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #4e265b;
/* rgb */ color: rgb(78, 38, 91);
/* oklch */ color: oklch(34.7% 0.099 317.3);
Tailwind
colors: {
  custom: {
    50: '#816289',
    500: '#4e265b',
    950: '#000000',
  },
}
SCSS
$custom: #4e265b;
$custom-light: #816289;
$custom-dark: #000000;
JSON
{
  "hex": "#4e265b",
  "rgb": {
    "r": 78,
    "g": 38,
    "b": 91
  },
  "hsl": {
    "h": 285.283,
    "s": 41.085,
    "l": 25.294
  },
  "oklch": {
    "l": 0.34701,
    "c": 0.09918,
    "h": 317.3
  },
  "luminance": 0.03761
}

Semantic roles & 50–950 ramp

primary
#4E265B
secondary
#5E8E4F
accent
#D15775
background
#F8F5F8
surface
#EFEAF0
border
#CAC6CB
text
#0A050B
muted
#7C797C

Preview Lab

Preview with #4E265B

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

Preview Lab → · Contrast checker → · Palette generator →

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