#4E276E#4E276E

#4E276E is a dark, vivid violet. Relative luminance 0.042; OKLCH L 36.2% C 0.121 H 306.6°. Best body text is #FFFFFF at 11.42:1 contrast (WCAG AA passes).

Color values

HEX#4E276E
RGBrgb(78, 39, 110)
HSLhsl(273, 48%, 29%)
HSVhsv(273, 65%, 43%)
CMYKcmyk(29.1%, 64.5%, 0%, 56.9%)
CIE-LABlab(24.31, 32.60, -34.26)
CIE-LCHlch(24.31, 47.29, 313.57°)
OKLaboklab(36.15% 0.072 -0.0968)
OKLCHoklch(36.15% 0.121 306.6)
XYZxyz(6.6813, 4.1966, 15.2069)
Luminance0.0420 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E276E #476E27
analogous
#2B276E #4E276E #6E276B
triadic
#4E276E #6E4E27 #276E4E
tetradic
#4E276E #6E2B27 #476E27 #276B6E
square
#4E276E #6E2B27 #476E27 #276B6E
split-complementary
#4E276E #6B6E27 #276E2B
monochromatic
#100817 #2E1741 #4E276E #6E379B #8D4FC1

Accessibility & contrast

On white

11.42
#4E276E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4E276E
11.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E276E#FFFFFF#000000##FFFFFF
##4E276E1.0011.421.8411.42
#FFFFFF11.421.0021.001.00
#0000001.8421.001.0021.00
##FFFFFF11.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#033870
Deuteranopia (green-blind)
#193A6C
Tritanopia (blue-blind)
#493546
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #4e276e;
/* rgb */ color: rgb(78, 39, 110);
/* oklch */ color: oklch(36.2% 0.121 306.6);
Tailwind
colors: {
  custom: {
    50: '#826398',
    500: '#4e276e',
    950: '#000000',
  },
}
SCSS
$custom: #4e276e;
$custom-light: #826398;
$custom-dark: #000000;
JSON
{
  "hex": "#4e276e",
  "rgb": {
    "r": 78,
    "g": 39,
    "b": 110
  },
  "hsl": {
    "h": 272.958,
    "s": 47.651,
    "l": 29.216
  },
  "oklch": {
    "l": 0.36153,
    "c": 0.12063,
    "h": 306.6
  },
  "luminance": 0.04197
}

Semantic roles & 50–950 ramp

primary
#4E276E
secondary
#74A150
accent
#D7518D
background
#F8F6F9
surface
#EFEBF2
border
#CAC6CC
text
#0B050E
muted
#7C7A7E

Preview Lab

Preview with #4E276E

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

Preview Lab → · Contrast checker → · Palette generator →

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