#4E4275#4E4275

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

Color values

HEX#4E4275
RGBrgb(78, 66, 117)
HSLhsl(254, 28%, 36%)
HSVhsv(254, 44%, 46%)
CMYKcmyk(33.3%, 43.6%, 0%, 54.1%)
CIE-LABlab(31.35, 17.74, -27.52)
CIE-LCHlch(31.35, 32.75, 302.81°)
OKLaboklab(41.52% 0.0331 -0.0771)
OKLCHoklch(41.52% 0.084 293.2)
XYZxyz(8.3002, 6.8003, 17.7015)
Luminance0.0680 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E4275 #697542
analogous
#424F75 #4E4275 #674275
triadic
#4E4275 #754E42 #42754E
tetradic
#4E4275 #75424F #697542 #427567
square
#4E4275 #75424F #697542 #427567
split-complementary
#4E4275 #756742 #4F7542
monochromatic
#1A1627 #342C4E #4E4275 #68589C #8A7CB5

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##4E4275#FFFFFF#000000##FFFFFF
##4E42751.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)
#334A77
Deuteranopia (green-blind)
#344974
Tritanopia (blue-blind)
#454B56
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #4e4275;
/* rgb */ color: rgb(78, 66, 117);
/* oklch */ color: oklch(41.5% 0.084 293.2);
Tailwind
colors: {
  custom: {
    50: '#81769d',
    500: '#4e4275',
    950: '#000000',
  },
}
SCSS
$custom: #4e4275;
$custom-light: #81769d;
$custom-dark: #000000;
JSON
{
  "hex": "#4e4275",
  "rgb": {
    "r": 78,
    "g": 66,
    "b": 117
  },
  "hsl": {
    "h": 254.118,
    "s": 27.869,
    "l": 35.882
  },
  "oklch": {
    "l": 0.41522,
    "c": 0.08395,
    "h": 293.2
  },
  "luminance": 0.068
}

Semantic roles & 50–950 ramp

primary
#4E4275
secondary
#96A072
accent
#C464AD
background
#F8F7F9
surface
#EFEDF2
border
#CAC8CC
text
#0A080E
muted
#7C7B7E

Preview Lab

Preview with #4E4275

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

Preview Lab → · Contrast checker → · Palette generator →

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