#4E276D#4E276D

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

Color values

HEX#4E276D
RGBrgb(78, 39, 109)
HSLhsl(273, 47%, 29%)
HSVhsv(273, 64%, 43%)
CMYKcmyk(28.4%, 64.2%, 0%, 57.3%)
CIE-LABlab(24.24, 32.34, -33.73)
CIE-LCHlch(24.24, 46.73, 313.79°)
OKLaboklab(36.08% 0.072 -0.0952)
OKLCHoklch(36.08% 0.119 307.1)
XYZxyz(6.6271, 4.1749, 14.9218)
Luminance0.0418 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E276D #466D27
analogous
#2B276D #4E276D #6D2769
triadic
#4E276D #6D4E27 #276D4E
tetradic
#4E276D #6D2B27 #466D27 #27696D
square
#4E276D #6D2B27 #466D27 #27696D
split-complementary
#4E276D #696D27 #276D2B
monochromatic
#100817 #2E1740 #4E276D #6E379A #8E4FC0

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##4E276D#FFFFFF#000000##FFFFFF
##4E276D1.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)
#05386F
Deuteranopia (green-blind)
#1A3A6B
Tritanopia (blue-blind)
#493546
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #4e276d;
/* rgb */ color: rgb(78, 39, 109);
/* oklch */ color: oklch(36.1% 0.119 307.1);
Tailwind
colors: {
  custom: {
    50: '#826397',
    500: '#4e276d',
    950: '#000000',
  },
}
SCSS
$custom: #4e276d;
$custom-light: #826397;
$custom-dark: #000000;
JSON
{
  "hex": "#4e276d",
  "rgb": {
    "r": 78,
    "g": 39,
    "b": 109
  },
  "hsl": {
    "h": 273.429,
    "s": 47.297,
    "l": 29.02
  },
  "oklch": {
    "l": 0.3608,
    "c": 0.11939,
    "h": 307.1
  },
  "luminance": 0.04175
}

Semantic roles & 50–950 ramp

primary
#4E276D
secondary
#73A050
accent
#D7518C
background
#F8F6F9
surface
#EFEBF2
border
#CAC6CC
text
#0B050D
muted
#7C7A7E

Preview Lab

Preview with #4E276D

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

Preview Lab → · Contrast checker → · Palette generator →

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