#4E286A#4E286A

#4E286A is a dark, moderate violet. Relative luminance 0.042; OKLCH L 36.0% C 0.114 H 308.3°. Best body text is #FFFFFF at 11.44:1 contrast (WCAG AA passes).

Color values

HEX#4E286A
RGBrgb(78, 40, 106)
HSLhsl(275, 45%, 29%)
HSVhsv(275, 62%, 42%)
CMYKcmyk(26.4%, 62.3%, 0%, 58.4%)
CIE-LABlab(24.25, 30.99, -31.78)
CIE-LCHlch(24.25, 44.39, 314.28°)
OKLaboklab(36.02% 0.0706 -0.0895)
OKLCHoklch(36.02% 0.114 308.3)
XYZxyz(6.5017, 4.1780, 14.0968)
Luminance0.0418 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E286A #446A28
analogous
#2D286A #4E286A #6A2865
triadic
#4E286A #6A4E28 #286A4E
tetradic
#4E286A #6A2D28 #446A28 #28656A
square
#4E286A #6A2D28 #446A28 #28656A
split-complementary
#4E286A #656A28 #286A2D
monochromatic
#100816 #2D173E #4E286A #6F3996 #8E50BD

Accessibility & contrast

On white

11.44
#4E286A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.84
#4E286A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E286A
11.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E286A#FFFFFF#000000##FFFFFF
##4E286A1.0011.441.8411.44
#FFFFFF11.441.0021.001.00
#0000001.8421.001.0021.00
##FFFFFF11.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0E386C
Deuteranopia (green-blind)
#1F3A68
Tritanopia (blue-blind)
#4A3545
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #4e286a;
/* rgb */ color: rgb(78, 40, 106);
/* oklch */ color: oklch(36.0% 0.114 308.3);
Tailwind
colors: {
  custom: {
    50: '#826495',
    500: '#4e286a',
    950: '#000000',
  },
}
SCSS
$custom: #4e286a;
$custom-light: #826495;
$custom-dark: #000000;
JSON
{
  "hex": "#4e286a",
  "rgb": {
    "r": 78,
    "g": 40,
    "b": 106
  },
  "hsl": {
    "h": 274.545,
    "s": 45.205,
    "l": 28.627
  },
  "oklch": {
    "l": 0.36022,
    "c": 0.11403,
    "h": 308.3
  },
  "luminance": 0.04178
}

Semantic roles & 50–950 ramp

primary
#4E286A
secondary
#719D51
accent
#D5538A
background
#F8F6F9
surface
#EFEBF1
border
#CAC6CB
text
#0B050D
muted
#7C7A7E

Preview Lab

Preview with #4E286A

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

Preview Lab → · Contrast checker → · Palette generator →

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