#4E2999#4E2999

#4E2999 is a dark, vivid violet. Relative luminance 0.055; OKLCH L 40.0% C 0.170 H 292.0°. Best body text is #FFFFFF at 10.00:1 contrast (WCAG AA passes).

Color values

HEX#4E2999
RGBrgb(78, 41, 153)
HSLhsl(260, 58%, 38%)
HSVhsv(260, 73%, 60%)
CMYKcmyk(49%, 73.2%, 0%, 40%)
CIE-LABlab(28.13, 43.32, -55.04)
CIE-LCHlch(28.13, 70.04, 308.20°)
OKLaboklab(39.96% 0.0637 -0.1579)
OKLCHoklch(39.96% 0.17 292)
XYZxyz(9.6830, 5.5051, 30.6832)
Luminance0.0551 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E2999 #749929
analogous
#293C99 #4E2999 #862999
triadic
#4E2999 #994E29 #29994E
tetradic
#4E2999 #99293C #749929 #299986
square
#4E2999 #99293C #749929 #299986
split-complementary
#4E2999 #998629 #3C9929
monochromatic
#1D0F38 #351C69 #4E2999 #6736C9 #8B66D6

Accessibility & contrast

On white

10.00
#4E2999 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.10
#4E2999 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E2999
10.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E2999#FFFFFF#000000##FFFFFF
##4E29991.0010.002.1010.00
#FFFFFF10.001.0021.001.00
#0000002.1021.001.0021.00
##FFFFFF10.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00449C
Deuteranopia (green-blind)
#004097
Tritanopia (blue-blind)
#36465E
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #4e2999;
/* rgb */ color: rgb(78, 41, 153);
/* oklch */ color: oklch(40.0% 0.170 292.0);
Tailwind
colors: {
  custom: {
    50: '#8766b8',
    500: '#4e2999',
    950: '#000000',
  },
}
SCSS
$custom: #4e2999;
$custom-light: #8766b8;
$custom-dark: #000000;
JSON
{
  "hex": "#4e2999",
  "rgb": {
    "r": 78,
    "g": 41,
    "b": 153
  },
  "hsl": {
    "h": 259.821,
    "s": 57.732,
    "l": 38.039
  },
  "oklch": {
    "l": 0.39964,
    "c": 0.17022,
    "h": 292
  },
  "luminance": 0.05505
}

Semantic roles & 50–950 ramp

primary
#4E2999
secondary
#9EBC62
accent
#E147AE
background
#F8F6FB
surface
#F0EBF6
border
#CBC6D0
text
#0C0611
muted
#7D7A80

Preview Lab

Preview with #4E2999

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

Preview Lab → · Contrast checker → · Palette generator →

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