#4E2565#4E2565

#4E2565 is a dark, moderate violet. Relative luminance 0.039; OKLCH L 35.2% C 0.113 H 311.5°. Best body text is #FFFFFF at 11.82:1 contrast (WCAG AA passes).

Color values

HEX#4E2565
RGBrgb(78, 37, 101)
HSLhsl(278, 46%, 27%)
HSVhsv(278, 63%, 40%)
CMYKcmyk(22.8%, 63.4%, 0%, 60.4%)
CIE-LABlab(23.28, 31.45, -30.08)
CIE-LCHlch(23.28, 43.52, 316.27°)
OKLaboklab(35.21% 0.0749 -0.0845)
OKLCHoklch(35.21% 0.113 311.5)
XYZxyz(6.1520, 3.8826, 12.7347)
Luminance0.0388 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E2565 #3C6525
analogous
#2E2565 #4E2565 #65255C
triadic
#4E2565 #654E25 #25654E
tetradic
#4E2565 #652E25 #3C6525 #255C65
square
#4E2565 #652E25 #3C6525 #255C65
split-complementary
#4E2565 #5C6525 #25652E
monochromatic
#110816 #2B1538 #4E2565 #713592 #9248BC

Accessibility & contrast

On white

11.82
#4E2565 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.78
#4E2565 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E2565
11.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E2565#FFFFFF#000000##FFFFFF
##4E25651.0011.821.7811.82
#FFFFFF11.821.0021.001.00
#0000001.7821.001.0021.00
##FFFFFF11.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0E3567
Deuteranopia (green-blind)
#203863
Tritanopia (blue-blind)
#4B3141
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #4e2565;
/* rgb */ color: rgb(78, 37, 101);
/* oklch */ color: oklch(35.2% 0.113 311.5);
Tailwind
colors: {
  custom: {
    50: '#826291',
    500: '#4e2565',
    950: '#000000',
  },
}
SCSS
$custom: #4e2565;
$custom-light: #826291;
$custom-dark: #000000;
JSON
{
  "hex": "#4e2565",
  "rgb": {
    "r": 78,
    "g": 37,
    "b": 101
  },
  "hsl": {
    "h": 278.438,
    "s": 46.377,
    "l": 27.059
  },
  "oklch": {
    "l": 0.35206,
    "c": 0.11292,
    "h": 311.5
  },
  "luminance": 0.03882
}

Semantic roles & 50–950 ramp

primary
#4E2565
secondary
#68984E
accent
#D65281
background
#F8F5F8
surface
#EFEAF0
border
#CAC6CB
text
#0B050D
muted
#7C797D

Preview Lab

Preview with #4E2565

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

Preview Lab → · Contrast checker → · Palette generator →

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