#4E297A#4E297A

#4E297A is a dark, vivid violet. Relative luminance 0.046; OKLCH L 37.4% C 0.132 H 301.2°. Best body text is #FFFFFF at 10.92:1 contrast (WCAG AA passes).

Color values

HEX#4E297A
RGBrgb(78, 41, 122)
HSLhsl(267, 50%, 32%)
HSVhsv(267, 66%, 48%)
CMYKcmyk(36.1%, 66.4%, 0%, 52.2%)
CIE-LABlab(25.60, 34.66, -39.86)
CIE-LCHlch(25.60, 52.82, 311.01°)
OKLaboklab(37.36% 0.0686 -0.1133)
OKLCHoklch(37.36% 0.132 301.2)
XYZxyz(7.4468, 4.6107, 18.9062)
Luminance0.0461 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E297A #557A29
analogous
#292D7A #4E297A #77297A
triadic
#4E297A #7A4E29 #297A4E
tetradic
#4E297A #7A292D #557A29 #297A77
square
#4E297A #7A292D #557A29 #297A77
split-complementary
#4E297A #7A7729 #2D7A29
monochromatic
#130A1E #311A4C #4E297A #6B38A8 #8A57C7

Accessibility & contrast

On white

10.92
#4E297A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.92
#4E297A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E297A
10.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E297A#FFFFFF#000000##FFFFFF
##4E297A1.0010.921.9210.92
#FFFFFF10.921.0021.001.00
#0000001.9221.001.0021.00
##FFFFFF10.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003C7D
Deuteranopia (green-blind)
#093C78
Tritanopia (blue-blind)
#453B4D
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #4e297a;
/* rgb */ color: rgb(78, 41, 122);
/* oklch */ color: oklch(37.4% 0.132 301.2);
Tailwind
colors: {
  custom: {
    50: '#8365a1',
    500: '#4e297a',
    950: '#000000',
  },
}
SCSS
$custom: #4e297a;
$custom-light: #8365a1;
$custom-dark: #000000;
JSON
{
  "hex": "#4e297a",
  "rgb": {
    "r": 78,
    "g": 41,
    "b": 122
  },
  "hsl": {
    "h": 267.407,
    "s": 49.693,
    "l": 31.961
  },
  "oklch": {
    "l": 0.3736,
    "c": 0.13244,
    "h": 301.2
  },
  "luminance": 0.04611
}

Semantic roles & 50–950 ramp

primary
#4E297A
secondary
#83AC53
accent
#D94F9A
background
#F8F6FA
surface
#EFEBF3
border
#CAC6CD
text
#0B060F
muted
#7C7A7F

Preview Lab

Preview with #4E297A

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

Preview Lab → · Contrast checker → · Palette generator →

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