#4E4173#4E4173

#4E4173 is a dark, moderate violet. Relative luminance 0.066; OKLCH L 41.2% C 0.083 H 294.5°. Best body text is #FFFFFF at 9.02:1 contrast (WCAG AA passes).

Color values

HEX#4E4173
RGBrgb(78, 65, 115)
HSLhsl(256, 28%, 35%)
HSVhsv(256, 43%, 45%)
CMYKcmyk(32.2%, 43.5%, 0%, 54.9%)
CIE-LABlab(30.97, 17.82, -26.86)
CIE-LCHlch(30.97, 32.23, 303.56°)
OKLaboklab(41.2% 0.0342 -0.0752)
OKLCHoklch(41.2% 0.083 294.5)
XYZxyz(8.1259, 6.6380, 17.0695)
Luminance0.0664 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E4173 #667341
analogous
#414D73 #4E4173 #674173
triadic
#4E4173 #734E41 #41734E
tetradic
#4E4173 #73414D #667341 #417367
square
#4E4173 #73414D #667341 #417367
split-complementary
#4E4173 #736741 #4D7341
monochromatic
#191525 #332B4C #4E4173 #69579A #897AB4

Accessibility & contrast

On white

9.02
#4E4173 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.33
#4E4173 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E4173
9.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E4173#FFFFFF#000000##FFFFFF
##4E41731.009.022.339.02
#FFFFFF9.021.0021.001.00
#0000002.3321.001.0021.00
##FFFFFF9.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#324975
Deuteranopia (green-blind)
#344872
Tritanopia (blue-blind)
#464A54
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #4e4173;
/* rgb */ color: rgb(78, 65, 115);
/* oklch */ color: oklch(41.2% 0.083 294.5);
Tailwind
colors: {
  custom: {
    50: '#81759b',
    500: '#4e4173',
    950: '#000000',
  },
}
SCSS
$custom: #4e4173;
$custom-light: #81759b;
$custom-dark: #000000;
JSON
{
  "hex": "#4e4173",
  "rgb": {
    "r": 78,
    "g": 65,
    "b": 115
  },
  "hsl": {
    "h": 255.6,
    "s": 27.778,
    "l": 35.294
  },
  "oklch": {
    "l": 0.41199,
    "c": 0.08264,
    "h": 294.5
  },
  "luminance": 0.06638
}

Semantic roles & 50–950 ramp

primary
#4E4173
secondary
#939F71
accent
#C464AB
background
#F8F7F9
surface
#EFEDF2
border
#CAC8CC
text
#0A080E
muted
#7C7B7E

Preview Lab

Preview with #4E4173

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

Preview Lab → · Contrast checker → · Palette generator →

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