#4E2A63#4E2A63

#4E2A63 is a dark, moderate violet. Relative luminance 0.042; OKLCH L 35.9% C 0.102 H 311.5°. Best body text is #FFFFFF at 11.44:1 contrast (WCAG AA passes).

Color values

HEX#4E2A63
RGBrgb(78, 42, 99)
HSLhsl(278, 40%, 28%)
HSVhsv(278, 58%, 39%)
CMYKcmyk(21.2%, 57.6%, 0%, 61.2%)
CIE-LABlab(24.25, 28.03, -27.24)
CIE-LCHlch(24.25, 39.08, 315.82°)
OKLaboklab(35.87% 0.0674 -0.0763)
OKLCHoklch(35.87% 0.102 311.5)
XYZxyz(6.2216, 4.1766, 12.2804)
Luminance0.0418 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E2A63 #3F632A
analogous
#312A63 #4E2A63 #632A5B
triadic
#4E2A63 #634E2A #2A634E
tetradic
#4E2A63 #63312A #3F632A #2A5B63
square
#4E2A63 #63312A #3F632A #2A5B63
split-complementary
#4E2A63 #5B632A #2A6331
monochromatic
#110915 #2C1838 #4E2A63 #703C8E #9152B6

Accessibility & contrast

On white

11.44
#4E2A63 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.84
#4E2A63 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E2A63
11.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E2A63#FFFFFF#000000##FFFFFF
##4E2A631.0011.441.8411.44
#FFFFFF11.441.0021.001.00
#0000001.8421.001.0021.00
##FFFFFF11.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1A3865
Deuteranopia (green-blind)
#263A62
Tritanopia (blue-blind)
#4C3442
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #4e2a63;
/* rgb */ color: rgb(78, 42, 99);
/* oklch */ color: oklch(35.9% 0.102 311.5);
Tailwind
colors: {
  custom: {
    50: '#816590',
    500: '#4e2a63',
    950: '#000000',
  },
}
SCSS
$custom: #4e2a63;
$custom-light: #816590;
$custom-dark: #000000;
JSON
{
  "hex": "#4e2a63",
  "rgb": {
    "r": 78,
    "g": 42,
    "b": 99
  },
  "hsl": {
    "h": 277.895,
    "s": 40.426,
    "l": 27.647
  },
  "oklch": {
    "l": 0.35874,
    "c": 0.10178,
    "h": 311.5
  },
  "luminance": 0.04176
}

Semantic roles & 50–950 ramp

primary
#4E2A63
secondary
#6C9553
accent
#D05884
background
#F8F6F8
surface
#EFEBF0
border
#CAC6CB
text
#0A060C
muted
#7C7A7D

Preview Lab

Preview with #4E2A63

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

Preview Lab → · Contrast checker → · Palette generator →

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