#4E286E#4E286E

#4E286E is a dark, moderate violet. Relative luminance 0.043; OKLCH L 36.3% C 0.119 H 306.4°. Best body text is #FFFFFF at 11.34:1 contrast (WCAG AA passes).

Color values

HEX#4E286E
RGBrgb(78, 40, 110)
HSLhsl(273, 47%, 29%)
HSVhsv(273, 64%, 43%)
CMYKcmyk(29.1%, 63.6%, 0%, 56.9%)
CIE-LABlab(24.52, 32.03, -33.92)
CIE-LCHlch(24.52, 46.65, 313.35°)
OKLaboklab(36.31% 0.0706 -0.0958)
OKLCHoklch(36.31% 0.119 306.4)
XYZxyz(6.7146, 4.2631, 15.2180)
Luminance0.0426 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E286E #486E28
analogous
#2B286E #4E286E #6E286B
triadic
#4E286E #6E4E28 #286E4E
tetradic
#4E286E #6E2B28 #486E28 #286B6E
square
#4E286E #6E2B28 #486E28 #286B6E
split-complementary
#4E286E #6B6E28 #286E2B
monochromatic
#100816 #2E1841 #4E286E #6E389B #8D51C0

Accessibility & contrast

On white

11.34
#4E286E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4E286E
11.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E286E#FFFFFF#000000##FFFFFF
##4E286E1.0011.341.8511.34
#FFFFFF11.341.0021.001.00
#0000001.8521.001.0021.00
##FFFFFF11.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#073970
Deuteranopia (green-blind)
#1B3A6C
Tritanopia (blue-blind)
#493647
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #4e286e;
/* rgb */ color: rgb(78, 40, 110);
/* oklch */ color: oklch(36.3% 0.119 306.4);
Tailwind
colors: {
  custom: {
    50: '#826498',
    500: '#4e286e',
    950: '#000000',
  },
}
SCSS
$custom: #4e286e;
$custom-light: #826498;
$custom-dark: #000000;
JSON
{
  "hex": "#4e286e",
  "rgb": {
    "r": 78,
    "g": 40,
    "b": 110
  },
  "hsl": {
    "h": 272.571,
    "s": 46.667,
    "l": 29.412
  },
  "oklch": {
    "l": 0.36307,
    "c": 0.11903,
    "h": 306.4
  },
  "luminance": 0.04263
}

Semantic roles & 50–950 ramp

primary
#4E286E
secondary
#76A051
accent
#D6518E
background
#F8F6F9
surface
#EFEBF2
border
#CAC6CC
text
#0B050E
muted
#7C7A7E

Preview Lab

Preview with #4E286E

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

Preview Lab → · Contrast checker → · Palette generator →

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