#4E297B#4E297B

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

Color values

HEX#4E297B
RGBrgb(78, 41, 123)
HSLhsl(267, 50%, 32%)
HSVhsv(267, 67%, 48%)
CMYKcmyk(36.6%, 66.7%, 0%, 51.8%)
CIE-LABlab(25.67, 34.93, -40.37)
CIE-LCHlch(25.67, 53.39, 310.87°)
OKLaboklab(37.44% 0.0686 -0.1148)
OKLCHoklch(37.44% 0.134 300.9)
XYZxyz(7.5091, 4.6356, 19.2342)
Luminance0.0464 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E297B #567B29
analogous
#292D7B #4E297B #77297B
triadic
#4E297B #7B4E29 #297B4E
tetradic
#4E297B #7B292D #567B29 #297B77
square
#4E297B #7B292D #567B29 #297B77
split-complementary
#4E297B #7B7729 #2D7B29
monochromatic
#140A1F #311A4D #4E297B #6B38A9 #8A57C7

Accessibility & contrast

On white

10.90
#4E297B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.93
#4E297B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E297B
10.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E297B#FFFFFF#000000##FFFFFF
##4E297B1.0010.901.9310.90
#FFFFFF10.901.0021.001.00
#0000001.9321.001.0021.00
##FFFFFF10.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003C7E
Deuteranopia (green-blind)
#063C79
Tritanopia (blue-blind)
#443B4E
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #4e297b;
/* rgb */ color: rgb(78, 41, 123);
/* oklch */ color: oklch(37.4% 0.134 300.9);
Tailwind
colors: {
  custom: {
    50: '#8365a2',
    500: '#4e297b',
    950: '#000000',
  },
}
SCSS
$custom: #4e297b;
$custom-light: #8365a2;
$custom-dark: #000000;
JSON
{
  "hex": "#4e297b",
  "rgb": {
    "r": 78,
    "g": 41,
    "b": 123
  },
  "hsl": {
    "h": 267.073,
    "s": 50,
    "l": 32.157
  },
  "oklch": {
    "l": 0.37437,
    "c": 0.13367,
    "h": 300.9
  },
  "luminance": 0.04636
}

Semantic roles & 50–950 ramp

primary
#4E297B
secondary
#84AC53
accent
#DA4E9B
background
#F8F6FA
surface
#EFEBF3
border
#CAC6CD
text
#0B060F
muted
#7C7A7F

Preview Lab

Preview with #4E297B

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

Preview Lab → · Contrast checker → · Palette generator →

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