#4E276F#4E276F

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

Color values

HEX#4E276F
RGBrgb(78, 39, 111)
HSLhsl(273, 48%, 29%)
HSVhsv(273, 65%, 44%)
CMYKcmyk(29.7%, 64.9%, 0%, 56.5%)
CIE-LABlab(24.38, 32.86, -34.80)
CIE-LCHlch(24.38, 47.86, 313.36°)
OKLaboklab(36.23% 0.0719 -0.0984)
OKLCHoklch(36.23% 0.122 306.2)
XYZxyz(6.7360, 4.2185, 15.4952)
Luminance0.0422 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E276F #486F27
analogous
#2A276F #4E276F #6F276C
triadic
#4E276F #6F4E27 #276F4E
tetradic
#4E276F #6F2A27 #486F27 #276C6F
square
#4E276F #6F2A27 #486F27 #276C6F
split-complementary
#4E276F #6C6F27 #276F2A
monochromatic
#100817 #2E1742 #4E276F #6E379C #8D4FC1

Accessibility & contrast

On white

11.39
#4E276F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4E276F
11.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E276F#FFFFFF#000000##FFFFFF
##4E276F1.0011.391.8411.39
#FFFFFF11.391.0021.001.00
#0000001.8421.001.0021.00
##FFFFFF11.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#013971
Deuteranopia (green-blind)
#183A6D
Tritanopia (blue-blind)
#483647
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #4e276f;
/* rgb */ color: rgb(78, 39, 111);
/* oklch */ color: oklch(36.2% 0.122 306.2);
Tailwind
colors: {
  custom: {
    50: '#826399',
    500: '#4e276f',
    950: '#000000',
  },
}
SCSS
$custom: #4e276f;
$custom-light: #826399;
$custom-dark: #000000;
JSON
{
  "hex": "#4e276f",
  "rgb": {
    "r": 78,
    "g": 39,
    "b": 111
  },
  "hsl": {
    "h": 272.5,
    "s": 48,
    "l": 29.412
  },
  "oklch": {
    "l": 0.36226,
    "c": 0.12186,
    "h": 306.2
  },
  "luminance": 0.04218
}

Semantic roles & 50–950 ramp

primary
#4E276F
secondary
#76A250
accent
#D8508E
background
#F8F6F9
surface
#EFEBF2
border
#CAC6CC
text
#0B050E
muted
#7C7A7E

Preview Lab

Preview with #4E276F

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

Preview Lab → · Contrast checker → · Palette generator →

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