#4E3662#4E3662

#4E3662 is a dark, moderate violet. Relative luminance 0.051; OKLCH L 38.0% C 0.078 H 308.2°. Best body text is #FFFFFF at 10.36:1 contrast (WCAG AA passes).

Color values

HEX#4E3662
RGBrgb(78, 54, 98)
HSLhsl(273, 29%, 30%)
HSVhsv(273, 45%, 38%)
CMYKcmyk(20.4%, 44.9%, 0%, 61.6%)
CIE-LABlab(27.13, 20.28, -22.04)
CIE-LCHlch(27.13, 29.95, 312.62°)
OKLaboklab(38% 0.0482 -0.0612)
OKLCHoklch(38% 0.078 308.2)
XYZxyz(6.6652, 5.1400, 12.1939)
Luminance0.0514 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E3662 #4A6236
analogous
#383662 #4E3662 #623660
triadic
#4E3662 #624E36 #36624E
tetradic
#4E3662 #623836 #4A6236 #366062
square
#4E3662 #623836 #4A6236 #366062
split-complementary
#4E3662 #606236 #366238
monochromatic
#100B14 #2F203B #4E3662 #6D4C89 #8C67AB

Accessibility & contrast

On white

10.36
#4E3662 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.03
#4E3662 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E3662
10.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E3662#FFFFFF#000000##FFFFFF
##4E36621.0010.362.0310.36
#FFFFFF10.361.0021.001.00
#0000002.0321.001.0021.00
##FFFFFF10.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2C3F64
Deuteranopia (green-blind)
#324061
Tritanopia (blue-blind)
#4B3D47
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #4e3662;
/* rgb */ color: rgb(78, 54, 98);
/* oklch */ color: oklch(38.0% 0.078 308.2);
Tailwind
colors: {
  custom: {
    50: '#806d8f',
    500: '#4e3662',
    950: '#000000',
  },
}
SCSS
$custom: #4e3662;
$custom-light: #806d8f;
$custom-dark: #000000;
JSON
{
  "hex": "#4e3662",
  "rgb": {
    "r": 78,
    "g": 54,
    "b": 98
  },
  "hsl": {
    "h": 272.727,
    "s": 28.947,
    "l": 29.804
  },
  "oklch": {
    "l": 0.38002,
    "c": 0.07793,
    "h": 308.2
  },
  "luminance": 0.0514
}

Semantic roles & 50–950 ramp

primary
#4E3662
secondary
#789361
accent
#C5638F
background
#F7F6F8
surface
#EEEBF0
border
#C9C6CB
text
#0A070C
muted
#7C7A7D

Preview Lab

Preview with #4E3662

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

Preview Lab → · Contrast checker → · Palette generator →

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