#4E417E#4E417E

#4E417E is a dark, moderate violet. Relative luminance 0.069; OKLCH L 41.9% C 0.099 H 291.3°. Best body text is #FFFFFF at 8.82:1 contrast (WCAG AA passes).

Color values

HEX#4E417E
RGBrgb(78, 65, 126)
HSLhsl(253, 32%, 37%)
HSVhsv(253, 48%, 49%)
CMYKcmyk(38.1%, 48.4%, 0%, 50.6%)
CIE-LABlab(31.59, 21.03, -32.77)
CIE-LCHlch(31.59, 38.93, 302.69°)
OKLaboklab(41.87% 0.0361 -0.0924)
OKLCHoklch(41.87% 0.099 291.3)
XYZxyz(8.7971, 6.9064, 20.6042)
Luminance0.0691 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E417E #717E41
analogous
#41527E #4E417E #6D417E
triadic
#4E417E #7E4E41 #417E4E
tetradic
#4E417E #7E4152 #717E41 #417E6D
square
#4E417E #7E4152 #717E41 #417E6D
split-complementary
#4E417E #7E6D41 #527E41
monochromatic
#1C172D #352C56 #4E417E #6756A6 #8B7DBC

Accessibility & contrast

On white

8.82
#4E417E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.38
#4E417E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E417E
8.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E417E#FFFFFF#000000##FFFFFF
##4E417E1.008.822.388.82
#FFFFFF8.821.0021.001.00
#0000002.3821.001.0021.00
##FFFFFF8.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2B4B80
Deuteranopia (green-blind)
#2D497D
Tritanopia (blue-blind)
#424D59
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #4e417e;
/* rgb */ color: rgb(78, 65, 126);
/* oklch */ color: oklch(41.9% 0.099 291.3);
Tailwind
colors: {
  custom: {
    50: '#8275a4',
    500: '#4e417e',
    950: '#000000',
  },
}
SCSS
$custom: #4e417e;
$custom-light: #8275a4;
$custom-dark: #000000;
JSON
{
  "hex": "#4e417e",
  "rgb": {
    "r": 78,
    "g": 65,
    "b": 126
  },
  "hsl": {
    "h": 252.787,
    "s": 31.937,
    "l": 37.451
  },
  "oklch": {
    "l": 0.41874,
    "c": 0.09924,
    "h": 291.3
  },
  "luminance": 0.06907
}

Semantic roles & 50–950 ramp

primary
#4E417E
secondary
#9CA774
accent
#C860B2
background
#F8F7FA
surface
#EFEDF4
border
#CAC8CE
text
#0B080F
muted
#7C7B7F

Preview Lab

Preview with #4E417E

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

Preview Lab → · Contrast checker → · Palette generator →

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