#4E2568#4E2568

#4E2568 is a dark, moderate violet. Relative luminance 0.039; OKLCH L 35.4% C 0.117 H 310.0°. Best body text is #FFFFFF at 11.74:1 contrast (WCAG AA passes).

Color values

HEX#4E2568
RGBrgb(78, 37, 104)
HSLhsl(277, 48%, 28%)
HSVhsv(277, 64%, 41%)
CMYKcmyk(25%, 64.4%, 0%, 59.2%)
CIE-LABlab(23.48, 32.20, -31.72)
CIE-LCHlch(23.48, 45.19, 315.43°)
OKLaboklab(35.42% 0.0748 -0.0893)
OKLCHoklch(35.42% 0.117 310)
XYZxyz(6.3017, 3.9424, 13.5230)
Luminance0.0394 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E2568 #3F6825
analogous
#2C2568 #4E2568 #682561
triadic
#4E2568 #684E25 #25684E
tetradic
#4E2568 #682C25 #3F6825 #256168
square
#4E2568 #682C25 #3F6825 #256168
split-complementary
#4E2568 #616825 #25682C
monochromatic
#110817 #2C153B #4E2568 #703595 #9149BE

Accessibility & contrast

On white

11.74
#4E2568 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.79
#4E2568 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E2568
11.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E2568#FFFFFF#000000##FFFFFF
##4E25681.0011.741.7911.74
#FFFFFF11.741.0021.001.00
#0000001.7921.001.0021.00
##FFFFFF11.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#09366A
Deuteranopia (green-blind)
#1D3966
Tritanopia (blue-blind)
#4B3242
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #4e2568;
/* rgb */ color: rgb(78, 37, 104);
/* oklch */ color: oklch(35.4% 0.117 310.0);
Tailwind
colors: {
  custom: {
    50: '#826293',
    500: '#4e2568',
    950: '#000000',
  },
}
SCSS
$custom: #4e2568;
$custom-light: #826293;
$custom-dark: #000000;
JSON
{
  "hex": "#4e2568",
  "rgb": {
    "r": 78,
    "g": 37,
    "b": 104
  },
  "hsl": {
    "h": 276.716,
    "s": 47.518,
    "l": 27.647
  },
  "oklch": {
    "l": 0.35417,
    "c": 0.11654,
    "h": 310
  },
  "luminance": 0.03942
}

Semantic roles & 50–950 ramp

primary
#4E2568
secondary
#6C9B4E
accent
#D75185
background
#F8F5F9
surface
#EFEAF1
border
#CAC6CB
text
#0B050D
muted
#7C797E

Preview Lab

Preview with #4E2568

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

Preview Lab → · Contrast checker → · Palette generator →

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