#4E276A#4E276A

#4E276A is a dark, moderate violet. Relative luminance 0.041; OKLCH L 35.9% C 0.116 H 308.5°. Best body text is #FFFFFF at 11.52:1 contrast (WCAG AA passes).

Color values

HEX#4E276A
RGBrgb(78, 39, 106)
HSLhsl(275, 46%, 28%)
HSVhsv(275, 63%, 42%)
CMYKcmyk(26.4%, 63.2%, 0%, 58.4%)
CIE-LABlab(24.04, 31.57, -32.12)
CIE-LCHlch(24.04, 45.04, 314.50°)
OKLaboklab(35.87% 0.072 -0.0905)
OKLCHoklch(35.87% 0.116 308.5)
XYZxyz(6.4684, 4.1114, 14.0857)
Luminance0.0411 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E276A #436A27
analogous
#2C276A #4E276A #6A2764
triadic
#4E276A #6A4E27 #276A4E
tetradic
#4E276A #6A2C27 #436A27 #27646A
square
#4E276A #6A2C27 #436A27 #27646A
split-complementary
#4E276A #646A27 #276A2C
monochromatic
#100816 #2D173D #4E276A #6F3797 #8F4EBE

Accessibility & contrast

On white

11.52
#4E276A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.82
#4E276A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E276A
11.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E276A#FFFFFF#000000##FFFFFF
##4E276A1.0011.521.8211.52
#FFFFFF11.521.0021.001.00
#0000001.8221.001.0021.00
##FFFFFF11.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0B386C
Deuteranopia (green-blind)
#1D3A68
Tritanopia (blue-blind)
#4A3444
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #4e276a;
/* rgb */ color: rgb(78, 39, 106);
/* oklch */ color: oklch(35.9% 0.116 308.5);
Tailwind
colors: {
  custom: {
    50: '#826395',
    500: '#4e276a',
    950: '#000000',
  },
}
SCSS
$custom: #4e276a;
$custom-light: #826395;
$custom-dark: #000000;
JSON
{
  "hex": "#4e276a",
  "rgb": {
    "r": 78,
    "g": 39,
    "b": 106
  },
  "hsl": {
    "h": 274.925,
    "s": 46.207,
    "l": 28.431
  },
  "oklch": {
    "l": 0.35865,
    "c": 0.1157,
    "h": 308.5
  },
  "luminance": 0.04111
}

Semantic roles & 50–950 ramp

primary
#4E276A
secondary
#709D50
accent
#D65289
background
#F8F6F9
surface
#EFEBF1
border
#CAC6CB
text
#0B050D
muted
#7C7A7E

Preview Lab

Preview with #4E276A

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

Preview Lab → · Contrast checker → · Palette generator →

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