#4E276B#4E276B

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

Color values

HEX#4E276B
RGBrgb(78, 39, 107)
HSLhsl(274, 47%, 29%)
HSVhsv(274, 64%, 42%)
CMYKcmyk(27.1%, 63.6%, 0%, 58%)
CIE-LABlab(24.10, 31.82, -32.66)
CIE-LCHlch(24.10, 45.60, 314.26°)
OKLaboklab(35.94% 0.072 -0.0921)
OKLCHoklch(35.94% 0.117 308)
XYZxyz(6.5207, 4.1324, 14.3612)
Luminance0.0413 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E276B #446B27
analogous
#2C276B #4E276B #6B2766
triadic
#4E276B #6B4E27 #276B4E
tetradic
#4E276B #6B2C27 #446B27 #27666B
square
#4E276B #6B2C27 #446B27 #27666B
split-complementary
#4E276B #666B27 #276B2C
monochromatic
#100816 #2D173E #4E276B #6F3798 #8E4EBE

Accessibility & contrast

On white

11.50
#4E276B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.83
#4E276B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E276B
11.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E276B#FFFFFF#000000##FFFFFF
##4E276B1.0011.501.8311.50
#FFFFFF11.501.0021.001.00
#0000001.8321.001.0021.00
##FFFFFF11.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#09386D
Deuteranopia (green-blind)
#1C3A69
Tritanopia (blue-blind)
#4A3445
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #4e276b;
/* rgb */ color: rgb(78, 39, 107);
/* oklch */ color: oklch(35.9% 0.117 308.0);
Tailwind
colors: {
  custom: {
    50: '#826396',
    500: '#4e276b',
    950: '#000000',
  },
}
SCSS
$custom: #4e276b;
$custom-light: #826396;
$custom-dark: #000000;
JSON
{
  "hex": "#4e276b",
  "rgb": {
    "r": 78,
    "g": 39,
    "b": 107
  },
  "hsl": {
    "h": 274.412,
    "s": 46.575,
    "l": 28.627
  },
  "oklch": {
    "l": 0.35936,
    "c": 0.11693,
    "h": 308
  },
  "luminance": 0.04132
}

Semantic roles & 50–950 ramp

primary
#4E276B
secondary
#719E50
accent
#D6528A
background
#F8F6F9
surface
#EFEBF2
border
#CAC6CC
text
#0B050D
muted
#7C7A7E

Preview Lab

Preview with #4E276B

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

Preview Lab → · Contrast checker → · Palette generator →

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