#4E427E#4E427E

#4E427E is a dark, moderate violet. Relative luminance 0.070; OKLCH L 42.1% C 0.098 H 290.8°. Best body text is #FFFFFF at 8.73:1 contrast (WCAG AA passes).

Color values

HEX#4E427E
RGBrgb(78, 66, 126)
HSLhsl(252, 31%, 38%)
HSVhsv(252, 48%, 49%)
CMYKcmyk(38.1%, 47.6%, 0%, 50.6%)
CIE-LABlab(31.86, 20.38, -32.35)
CIE-LCHlch(31.86, 38.23, 302.22°)
OKLaboklab(42.07% 0.0346 -0.0912)
OKLCHoklch(42.07% 0.098 290.8)
XYZxyz(8.8550, 7.0223, 20.6235)
Luminance0.0702 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E427E #727E42
analogous
#42547E #4E427E #6C427E
triadic
#4E427E #7E4E42 #427E4E
tetradic
#4E427E #7E4254 #727E42 #427E6C
square
#4E427E #7E4254 #727E42 #427E6C
split-complementary
#4E427E #7E6C42 #547E42
monochromatic
#1C182E #352D56 #4E427E #6757A6 #8B7FBC

Accessibility & contrast

On white

8.73
#4E427E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.40
#4E427E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E427E
8.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E427E#FFFFFF#000000##FFFFFF
##4E427E1.008.732.408.73
#FFFFFF8.731.0021.001.00
#0000002.4021.001.0021.00
##FFFFFF8.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2D4C80
Deuteranopia (green-blind)
#2E4A7D
Tritanopia (blue-blind)
#424E5A
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #4e427e;
/* rgb */ color: rgb(78, 66, 126);
/* oklch */ color: oklch(42.1% 0.098 290.8);
Tailwind
colors: {
  custom: {
    50: '#8276a4',
    500: '#4e427e',
    950: '#000000',
  },
}
SCSS
$custom: #4e427e;
$custom-light: #8276a4;
$custom-dark: #000000;
JSON
{
  "hex": "#4e427e",
  "rgb": {
    "r": 78,
    "g": 66,
    "b": 126
  },
  "hsl": {
    "h": 252,
    "s": 31.25,
    "l": 37.647
  },
  "oklch": {
    "l": 0.42074,
    "c": 0.09757,
    "h": 290.8
  },
  "luminance": 0.07022
}

Semantic roles & 50–950 ramp

primary
#4E427E
secondary
#9DA775
accent
#C760B3
background
#F8F7FA
surface
#EFEDF4
border
#CAC8CE
text
#0B080F
muted
#7C7B7F

Preview Lab

Preview with #4E427E

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

Preview Lab → · Contrast checker → · Palette generator →

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