#4E4273#4E4273

#4E4273 is a dark, moderate violet. Relative luminance 0.068; OKLCH L 41.4% C 0.081 H 293.8°. Best body text is #FFFFFF at 8.93:1 contrast (WCAG AA passes).

Color values

HEX#4E4273
RGBrgb(78, 66, 115)
HSLhsl(255, 27%, 35%)
HSVhsv(255, 43%, 45%)
CMYKcmyk(32.2%, 42.6%, 0%, 54.9%)
CIE-LABlab(31.24, 17.17, -26.43)
CIE-LCHlch(31.24, 31.52, 303.00°)
OKLaboklab(41.4% 0.0327 -0.074)
OKLCHoklch(41.4% 0.081 293.8)
XYZxyz(8.1838, 6.7538, 17.0888)
Luminance0.0675 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E4273 #677342
analogous
#424E73 #4E4273 #664273
triadic
#4E4273 #734E42 #42734E
tetradic
#4E4273 #73424E #677342 #427366
square
#4E4273 #73424E #677342 #427366
split-complementary
#4E4273 #736642 #4E7342
monochromatic
#191525 #342C4C #4E4273 #68589A #897CB4

Accessibility & contrast

On white

8.93
#4E4273 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.35
#4E4273 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E4273
8.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E4273#FFFFFF#000000##FFFFFF
##4E42731.008.932.358.93
#FFFFFF8.931.0021.001.00
#0000002.3521.001.0021.00
##FFFFFF8.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#344A75
Deuteranopia (green-blind)
#354972
Tritanopia (blue-blind)
#464B55
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #4e4273;
/* rgb */ color: rgb(78, 66, 115);
/* oklch */ color: oklch(41.4% 0.081 293.8);
Tailwind
colors: {
  custom: {
    50: '#81769b',
    500: '#4e4273',
    950: '#000000',
  },
}
SCSS
$custom: #4e4273;
$custom-light: #81769b;
$custom-dark: #000000;
JSON
{
  "hex": "#4e4273",
  "rgb": {
    "r": 78,
    "g": 66,
    "b": 115
  },
  "hsl": {
    "h": 254.694,
    "s": 27.072,
    "l": 35.49
  },
  "oklch": {
    "l": 0.41405,
    "c": 0.08089,
    "h": 293.8
  },
  "luminance": 0.06754
}

Semantic roles & 50–950 ramp

primary
#4E4273
secondary
#949F72
accent
#C364AC
background
#F8F7F9
surface
#EFEDF2
border
#CAC8CC
text
#0A080E
muted
#7C7B7E

Preview Lab

Preview with #4E4273

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

Preview Lab → · Contrast checker → · Palette generator →

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