#4E3666#4E3666

#4E3666 is a dark, moderate violet. Relative luminance 0.052; OKLCH L 38.2% C 0.084 H 305.9°. Best body text is #FFFFFF at 10.28:1 contrast (WCAG AA passes).

Color values

HEX#4E3666
RGBrgb(78, 54, 102)
HSLhsl(270, 31%, 31%)
HSVhsv(270, 47%, 40%)
CMYKcmyk(23.5%, 47.1%, 0%, 60%)
CIE-LABlab(27.35, 21.33, -24.29)
CIE-LCHlch(27.35, 32.32, 311.29°)
OKLaboklab(38.24% 0.049 -0.0677)
OKLCHoklch(38.24% 0.084 305.9)
XYZxyz(6.8588, 5.2174, 13.2135)
Luminance0.0522 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E3666 #4E6636
analogous
#363666 #4E3666 #663666
triadic
#4E3666 #664E36 #36664E
tetradic
#4E3666 #663636 #4E6636 #366666
square
#4E3666 #663636 #4E6636 #366666
split-complementary
#4E3666 #666636 #366636
monochromatic
#110C16 #2F213E #4E3666 #6D4B8E #8B68AF

Accessibility & contrast

On white

10.28
#4E3666 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.04
#4E3666 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E3666
10.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E3666#FFFFFF#000000##FFFFFF
##4E36661.0010.282.0410.28
#FFFFFF10.281.0021.001.00
#0000002.0421.001.0021.00
##FFFFFF10.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2A4068
Deuteranopia (green-blind)
#304165
Tritanopia (blue-blind)
#4A3E49
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #4e3666;
/* rgb */ color: rgb(78, 54, 102);
/* oklch */ color: oklch(38.2% 0.084 305.9);
Tailwind
colors: {
  custom: {
    50: '#816d92',
    500: '#4e3666',
    950: '#000000',
  },
}
SCSS
$custom: #4e3666;
$custom-light: #816d92;
$custom-dark: #000000;
JSON
{
  "hex": "#4e3666",
  "rgb": {
    "r": 78,
    "g": 54,
    "b": 102
  },
  "hsl": {
    "h": 270,
    "s": 30.769,
    "l": 30.588
  },
  "oklch": {
    "l": 0.38235,
    "c": 0.08359,
    "h": 305.9
  },
  "luminance": 0.05217
}

Semantic roles & 50–950 ramp

primary
#4E3666
secondary
#7C9761
accent
#C76194
background
#F7F6F8
surface
#EEEBF0
border
#C9C6CB
text
#0A070D
muted
#7C7A7D

Preview Lab

Preview with #4E3666

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

Preview Lab → · Contrast checker → · Palette generator →

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