#4E297D#4E297D

#4E297D is a dark, vivid violet. Relative luminance 0.047; OKLCH L 37.6% C 0.136 H 300.1°. Best body text is #FFFFFF at 10.84:1 contrast (WCAG AA passes).

Color values

HEX#4E297D
RGBrgb(78, 41, 125)
HSLhsl(266, 51%, 33%)
HSVhsv(266, 67%, 49%)
CMYKcmyk(37.6%, 67.2%, 0%, 51%)
CIE-LABlab(25.82, 35.48, -41.39)
CIE-LCHlch(25.82, 54.52, 310.60°)
OKLaboklab(37.59% 0.0684 -0.1178)
OKLCHoklch(37.59% 0.136 300.1)
XYZxyz(7.6356, 4.6862, 19.9003)
Luminance0.0469 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E297D #587D29
analogous
#292E7D #4E297D #78297D
triadic
#4E297D #7D4E29 #297D4E
tetradic
#4E297D #7D292E #587D29 #297D78
square
#4E297D #7D292E #587D29 #297D78
split-complementary
#4E297D #7D7829 #2E7D29
monochromatic
#140B21 #311A4F #4E297D #6B38AB #8A58C8

Accessibility & contrast

On white

10.84
#4E297D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.94
#4E297D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E297D
10.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E297D#FFFFFF#000000##FFFFFF
##4E297D1.0010.841.9410.84
#FFFFFF10.841.0021.001.00
#0000001.9421.001.0021.00
##FFFFFF10.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003D80
Deuteranopia (green-blind)
#013D7B
Tritanopia (blue-blind)
#443C4F
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #4e297d;
/* rgb */ color: rgb(78, 41, 125);
/* oklch */ color: oklch(37.6% 0.136 300.1);
Tailwind
colors: {
  custom: {
    50: '#8465a3',
    500: '#4e297d',
    950: '#000000',
  },
}
SCSS
$custom: #4e297d;
$custom-light: #8465a3;
$custom-dark: #000000;
JSON
{
  "hex": "#4e297d",
  "rgb": {
    "r": 78,
    "g": 41,
    "b": 125
  },
  "hsl": {
    "h": 266.429,
    "s": 50.602,
    "l": 32.549
  },
  "oklch": {
    "l": 0.37594,
    "c": 0.13616,
    "h": 300.1
  },
  "luminance": 0.04686
}

Semantic roles & 50–950 ramp

primary
#4E297D
secondary
#86AE54
accent
#DA4E9C
background
#F8F6FA
surface
#EFEBF4
border
#CAC6CE
text
#0B060F
muted
#7C7A7F

Preview Lab

Preview with #4E297D

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

Preview Lab → · Contrast checker → · Palette generator →

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