#4E265A#4E265A

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

Color values

HEX#4E265A
RGBrgb(78, 38, 90)
HSLhsl(286, 41%, 25%)
HSVhsv(286, 58%, 35%)
CMYKcmyk(13.3%, 57.8%, 0%, 64.7%)
CIE-LABlab(22.81, 28.21, -23.61)
CIE-LCHlch(22.81, 36.79, 320.07°)
OKLaboklab(34.64% 0.0727 -0.0657)
OKLCHoklch(34.64% 0.098 317.9)
XYZxyz(5.6802, 3.7443, 10.0944)
Luminance0.0374 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E265A #325A26
analogous
#34265A #4E265A #5A264C
triadic
#4E265A #5A4E26 #265A4E
tetradic
#4E265A #5A3426 #325A26 #264C5A
square
#4E265A #5A3426 #325A26 #264C5A
split-complementary
#4E265A #4C5A26 #265A34
monochromatic
#130916 #29142F #4E265A #733885 #994AB0

Accessibility & contrast

On white

12.01
#4E265A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4E265A
12.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E265A#FFFFFF#000000##FFFFFF
##4E265A1.0012.011.7512.01
#FFFFFF12.011.0021.001.00
#0000001.7521.001.0021.00
##FFFFFF12.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1B345C
Deuteranopia (green-blind)
#283859
Tritanopia (blue-blind)
#4E2E3C
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #4e265a;
/* rgb */ color: rgb(78, 38, 90);
/* oklch */ color: oklch(34.6% 0.098 317.9);
Tailwind
colors: {
  custom: {
    50: '#816289',
    500: '#4e265a',
    950: '#000000',
  },
}
SCSS
$custom: #4e265a;
$custom-light: #816289;
$custom-dark: #000000;
JSON
{
  "hex": "#4e265a",
  "rgb": {
    "r": 78,
    "g": 38,
    "b": 90
  },
  "hsl": {
    "h": 286.154,
    "s": 40.625,
    "l": 25.098
  },
  "oklch": {
    "l": 0.34638,
    "c": 0.09799,
    "h": 317.9
  },
  "luminance": 0.03744
}

Semantic roles & 50–950 ramp

primary
#4E265A
secondary
#5D8D4F
accent
#D05773
background
#F8F5F8
surface
#EFEAF0
border
#CAC6CB
text
#0A050B
muted
#7C797C

Preview Lab

Preview with #4E265A

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

Preview Lab → · Contrast checker → · Palette generator →

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