#4E286D#4E286D

#4E286D is a dark, moderate violet. Relative luminance 0.042; OKLCH L 36.2% C 0.118 H 306.8°. Best body text is #FFFFFF at 11.36:1 contrast (WCAG AA passes).

Color values

HEX#4E286D
RGBrgb(78, 40, 109)
HSLhsl(273, 46%, 29%)
HSVhsv(273, 63%, 43%)
CMYKcmyk(28.4%, 63.3%, 0%, 57.3%)
CIE-LABlab(24.45, 31.77, -33.39)
CIE-LCHlch(24.45, 46.09, 313.57°)
OKLaboklab(36.24% 0.0706 -0.0942)
OKLCHoklch(36.24% 0.118 306.8)
XYZxyz(6.6604, 4.2415, 14.9328)
Luminance0.0424 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E286D #476D28
analogous
#2B286D #4E286D #6D286A
triadic
#4E286D #6D4E28 #286D4E
tetradic
#4E286D #6D2B28 #476D28 #286A6D
square
#4E286D #6D2B28 #476D28 #286A6D
split-complementary
#4E286D #6A6D28 #286D2B
monochromatic
#100816 #2E1840 #4E286D #6E389A #8D50BF

Accessibility & contrast

On white

11.36
#4E286D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.85
#4E286D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E286D
11.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E286D#FFFFFF#000000##FFFFFF
##4E286D1.0011.361.8511.36
#FFFFFF11.361.0021.001.00
#0000001.8521.001.0021.00
##FFFFFF11.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#09396F
Deuteranopia (green-blind)
#1C3A6B
Tritanopia (blue-blind)
#493646
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #4e286d;
/* rgb */ color: rgb(78, 40, 109);
/* oklch */ color: oklch(36.2% 0.118 306.8);
Tailwind
colors: {
  custom: {
    50: '#826497',
    500: '#4e286d',
    950: '#000000',
  },
}
SCSS
$custom: #4e286d;
$custom-light: #826497;
$custom-dark: #000000;
JSON
{
  "hex": "#4e286d",
  "rgb": {
    "r": 78,
    "g": 40,
    "b": 109
  },
  "hsl": {
    "h": 273.043,
    "s": 46.309,
    "l": 29.216
  },
  "oklch": {
    "l": 0.36235,
    "c": 0.11777,
    "h": 306.8
  },
  "luminance": 0.04241
}

Semantic roles & 50–950 ramp

primary
#4E286D
secondary
#749F51
accent
#D6528D
background
#F8F6F9
surface
#EFEBF2
border
#CAC6CC
text
#0B050D
muted
#7C7A7E

Preview Lab

Preview with #4E286D

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

Preview Lab → · Contrast checker → · Palette generator →

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