#4E2A64#4E2A64

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

Color values

HEX#4E2A64
RGBrgb(78, 42, 100)
HSLhsl(277, 41%, 28%)
HSVhsv(277, 58%, 39%)
CMYKcmyk(22%, 58%, 0%, 60.8%)
CIE-LABlab(24.31, 28.28, -27.79)
CIE-LCHlch(24.31, 39.65, 315.50°)
OKLaboklab(35.94% 0.0675 -0.0779)
OKLCHoklch(35.94% 0.103 310.9)
XYZxyz(6.2697, 4.1959, 12.5337)
Luminance0.0420 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E2A64 #40642A
analogous
#312A64 #4E2A64 #642A5D
triadic
#4E2A64 #644E2A #2A644E
tetradic
#4E2A64 #64312A #40642A #2A5D64
square
#4E2A64 #64312A #40642A #2A5D64
split-complementary
#4E2A64 #5D642A #2A6431
monochromatic
#110916 #2C1839 #4E2A64 #703C8F #9052B6

Accessibility & contrast

On white

11.42
#4E2A64 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4E2A64
11.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E2A64#FFFFFF#000000##FFFFFF
##4E2A641.0011.421.8411.42
#FFFFFF11.421.0021.001.00
#0000001.8421.001.0021.00
##FFFFFF11.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#193866
Deuteranopia (green-blind)
#253A63
Tritanopia (blue-blind)
#4B3442
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #4e2a64;
/* rgb */ color: rgb(78, 42, 100);
/* oklch */ color: oklch(35.9% 0.103 310.9);
Tailwind
colors: {
  custom: {
    50: '#816590',
    500: '#4e2a64',
    950: '#000000',
  },
}
SCSS
$custom: #4e2a64;
$custom-light: #816590;
$custom-dark: #000000;
JSON
{
  "hex": "#4e2a64",
  "rgb": {
    "r": 78,
    "g": 42,
    "b": 100
  },
  "hsl": {
    "h": 277.241,
    "s": 40.845,
    "l": 27.843
  },
  "oklch": {
    "l": 0.35939,
    "c": 0.10305,
    "h": 310.9
  },
  "luminance": 0.04196
}

Semantic roles & 50–950 ramp

primary
#4E2A64
secondary
#6D9653
accent
#D15785
background
#F8F6F8
surface
#EFEBF0
border
#CAC6CB
text
#0A060C
muted
#7C7A7D

Preview Lab

Preview with #4E2A64

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

Preview Lab → · Contrast checker → · Palette generator →

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