#4E4370#4E4370

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

Color values

HEX#4E4370
RGBrgb(78, 67, 112)
HSLhsl(255, 25%, 35%)
HSVhsv(255, 40%, 44%)
CMYKcmyk(30.4%, 40.2%, 0%, 56.1%)
CIE-LABlab(31.36, 15.67, -24.36)
CIE-LCHlch(31.36, 28.96, 302.75°)
OKLaboklab(41.44% 0.0305 -0.068)
OKLCHoklch(41.44% 0.075 294.1)
XYZxyz(8.0730, 6.8037, 16.2140)
Luminance0.0680 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E4370 #657043
analogous
#434E70 #4E4370 #654370
triadic
#4E4370 #704E43 #43704E
tetradic
#4E4370 #70434E #657043 #437065
square
#4E4370 #70434E #657043 #437065
split-complementary
#4E4370 #706543 #4E7043
monochromatic
#191523 #332C4A #4E4370 #695A96 #897CB1

Accessibility & contrast

On white

8.90
#4E4370 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.36
#4E4370 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E4370
8.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E4370#FFFFFF#000000##FFFFFF
##4E43701.008.902.368.90
#FFFFFF8.901.0021.001.00
#0000002.3621.001.0021.00
##FFFFFF8.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#364A72
Deuteranopia (green-blind)
#38496F
Tritanopia (blue-blind)
#474B54
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #4e4370;
/* rgb */ color: rgb(78, 67, 112);
/* oklch */ color: oklch(41.4% 0.074 294.1);
Tailwind
colors: {
  custom: {
    50: '#817799',
    500: '#4e4370',
    950: '#000000',
  },
}
SCSS
$custom: #4e4370;
$custom-light: #817799;
$custom-dark: #000000;
JSON
{
  "hex": "#4e4370",
  "rgb": {
    "r": 78,
    "g": 67,
    "b": 112
  },
  "hsl": {
    "h": 254.667,
    "s": 25.14,
    "l": 35.098
  },
  "oklch": {
    "l": 0.41441,
    "c": 0.0745,
    "h": 294.1
  },
  "luminance": 0.06804
}

Semantic roles & 50–950 ramp

primary
#4E4370
secondary
#929C72
accent
#C266AB
background
#F7F7F9
surface
#EEEDF2
border
#C9C8CC
text
#0A080E
muted
#7C7B7E

Preview Lab

Preview with #4E4370

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

Preview Lab → · Contrast checker → · Palette generator →

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