#4E2D63#4E2D63

#4E2D63 is a dark, moderate violet. Relative luminance 0.044; OKLCH L 36.4% C 0.096 H 310.7°. Best body text is #FFFFFF at 11.17:1 contrast (WCAG AA passes).

Color values

HEX#4E2D63
RGBrgb(78, 45, 99)
HSLhsl(277, 38%, 28%)
HSVhsv(277, 55%, 39%)
CMYKcmyk(21.2%, 54.5%, 0%, 61.2%)
CIE-LABlab(24.94, 26.21, -26.13)
CIE-LCHlch(24.94, 37.01, 315.08°)
OKLaboklab(36.39% 0.0628 -0.0731)
OKLCHoklch(36.39% 0.096 310.7)
XYZxyz(6.3320, 4.3974, 12.3172)
Luminance0.0440 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E2D63 #42632D
analogous
#332D63 #4E2D63 #632D5D
triadic
#4E2D63 #634E2D #2D634E
tetradic
#4E2D63 #63332D #42632D #2D5D63
square
#4E2D63 #63332D #42632D #2D5D63
split-complementary
#4E2D63 #5D632D #2D6333
monochromatic
#110A15 #2D1A39 #4E2D63 #6F408D #8F58B3

Accessibility & contrast

On white

11.17
#4E2D63 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.88
#4E2D63 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E2D63
11.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E2D63#FFFFFF#000000##FFFFFF
##4E2D631.0011.171.8811.17
#FFFFFF11.171.0021.001.00
#0000001.8821.001.0021.00
##FFFFFF11.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1F3A65
Deuteranopia (green-blind)
#293C62
Tritanopia (blue-blind)
#4C3643
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #4e2d63;
/* rgb */ color: rgb(78, 45, 99);
/* oklch */ color: oklch(36.4% 0.096 310.7);
Tailwind
colors: {
  custom: {
    50: '#816790',
    500: '#4e2d63',
    950: '#000000',
  },
}
SCSS
$custom: #4e2d63;
$custom-light: #816790;
$custom-dark: #000000;
JSON
{
  "hex": "#4e2d63",
  "rgb": {
    "r": 78,
    "g": 45,
    "b": 99
  },
  "hsl": {
    "h": 276.667,
    "s": 37.5,
    "l": 28.235
  },
  "oklch": {
    "l": 0.36388,
    "c": 0.09634,
    "h": 310.7
  },
  "luminance": 0.04397
}

Semantic roles & 50–950 ramp

primary
#4E2D63
secondary
#6F9557
accent
#CD5A87
background
#F8F6F8
surface
#EFEBF0
border
#CAC6CB
text
#0A060C
muted
#7C7A7D

Preview Lab

Preview with #4E2D63

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

Preview Lab → · Contrast checker → · Palette generator →

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