#4E286F#4E286F

#4E286F is a dark, vivid violet. Relative luminance 0.043; OKLCH L 36.4% C 0.120 H 305.9°. Best body text is #FFFFFF at 11.31:1 contrast (WCAG AA passes).

Color values

HEX#4E286F
RGBrgb(78, 40, 111)
HSLhsl(272, 47%, 30%)
HSVhsv(272, 64%, 44%)
CMYKcmyk(29.7%, 64%, 0%, 56.5%)
CIE-LABlab(24.59, 32.29, -34.46)
CIE-LCHlch(24.59, 47.22, 313.14°)
OKLaboklab(36.38% 0.0706 -0.0974)
OKLCHoklch(36.38% 0.12 305.9)
XYZxyz(6.7693, 4.2850, 15.5063)
Luminance0.0428 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E286F #496F28
analogous
#2B286F #4E286F #6F286D
triadic
#4E286F #6F4E28 #286F4E
tetradic
#4E286F #6F2B28 #496F28 #286D6F
square
#4E286F #6F2B28 #496F28 #286D6F
split-complementary
#4E286F #6D6F28 #286F2B
monochromatic
#100816 #2E1842 #4E286F #6E389C #8D51C0

Accessibility & contrast

On white

11.31
#4E286F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.86
#4E286F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E286F
11.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E286F#FFFFFF#000000##FFFFFF
##4E286F1.0011.311.8611.31
#FFFFFF11.311.0021.001.00
#0000001.8621.001.0021.00
##FFFFFF11.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#053971
Deuteranopia (green-blind)
#193B6D
Tritanopia (blue-blind)
#483647
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #4e286f;
/* rgb */ color: rgb(78, 40, 111);
/* oklch */ color: oklch(36.4% 0.120 305.9);
Tailwind
colors: {
  custom: {
    50: '#826499',
    500: '#4e286f',
    950: '#000000',
  },
}
SCSS
$custom: #4e286f;
$custom-light: #826499;
$custom-dark: #000000;
JSON
{
  "hex": "#4e286f",
  "rgb": {
    "r": 78,
    "g": 40,
    "b": 111
  },
  "hsl": {
    "h": 272.113,
    "s": 47.02,
    "l": 29.608
  },
  "oklch": {
    "l": 0.3638,
    "c": 0.12027,
    "h": 305.9
  },
  "luminance": 0.04285
}

Semantic roles & 50–950 ramp

primary
#4E286F
secondary
#77A151
accent
#D7518F
background
#F8F6F9
surface
#EFEBF2
border
#CAC6CC
text
#0B050E
muted
#7C7A7E

Preview Lab

Preview with #4E286F

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

Preview Lab → · Contrast checker → · Palette generator →

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