#4E2563#4E2563

#4E2563 is a dark, moderate violet. Relative luminance 0.038; OKLCH L 35.1% C 0.111 H 312.6°. Best body text is #FFFFFF at 11.87:1 contrast (WCAG AA passes).

Color values

HEX#4E2563
RGBrgb(78, 37, 99)
HSLhsl(280, 46%, 27%)
HSVhsv(280, 63%, 39%)
CMYKcmyk(21.2%, 62.6%, 0%, 61.2%)
CIE-LABlab(23.15, 30.95, -28.99)
CIE-LCHlch(23.15, 42.41, 316.88°)
OKLaboklab(35.07% 0.0748 -0.0813)
OKLCHoklch(35.07% 0.111 312.6)
XYZxyz(6.0552, 3.8438, 12.2249)
Luminance0.0384 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E2563 #3A6325
analogous
#2F2563 #4E2563 #632559
triadic
#4E2563 #634E25 #25634E
tetradic
#4E2563 #632F25 #3A6325 #255963
square
#4E2563 #632F25 #3A6325 #255963
split-complementary
#4E2563 #596325 #25632F
monochromatic
#120816 #2B1436 #4E2563 #713690 #9448BB

Accessibility & contrast

On white

11.87
#4E2563 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4E2563
11.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E2563#FFFFFF#000000##FFFFFF
##4E25631.0011.871.7711.87
#FFFFFF11.871.0021.001.00
#0000001.7721.001.0021.00
##FFFFFF11.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#113565
Deuteranopia (green-blind)
#213861
Tritanopia (blue-blind)
#4C3040
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #4e2563;
/* rgb */ color: rgb(78, 37, 99);
/* oklch */ color: oklch(35.1% 0.111 312.6);
Tailwind
colors: {
  custom: {
    50: '#826290',
    500: '#4e2563',
    950: '#000000',
  },
}
SCSS
$custom: #4e2563;
$custom-light: #826290;
$custom-dark: #000000;
JSON
{
  "hex": "#4e2563",
  "rgb": {
    "r": 78,
    "g": 37,
    "b": 99
  },
  "hsl": {
    "h": 279.677,
    "s": 45.588,
    "l": 26.667
  },
  "oklch": {
    "l": 0.35068,
    "c": 0.11052,
    "h": 312.6
  },
  "luminance": 0.03844
}

Semantic roles & 50–950 ramp

primary
#4E2563
secondary
#66964E
accent
#D5537F
background
#F8F5F8
surface
#EFEAF0
border
#CAC6CB
text
#0B050C
muted
#7C797D

Preview Lab

Preview with #4E2563

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

Preview Lab → · Contrast checker → · Palette generator →

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