#4E296F#4E296F

#4E296F is a dark, moderate violet. Relative luminance 0.044; OKLCH L 36.5% C 0.119 H 305.7°. Best body text is #FFFFFF at 11.23:1 contrast (WCAG AA passes).

Color values

HEX#4E296F
RGBrgb(78, 41, 111)
HSLhsl(272, 46%, 30%)
HSVhsv(272, 63%, 44%)
CMYKcmyk(29.7%, 63.1%, 0%, 56.5%)
CIE-LABlab(24.81, 31.71, -34.11)
CIE-LCHlch(24.81, 46.58, 312.91°)
OKLaboklab(36.54% 0.0692 -0.0964)
OKLCHoklch(36.54% 0.119 305.7)
XYZxyz(6.8034, 4.3533, 15.5177)
Luminance0.0435 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E296F #4A6F29
analogous
#2B296F #4E296F #6F296D
triadic
#4E296F #6F4E29 #296F4E
tetradic
#4E296F #6F2B29 #4A6F29 #296D6F
square
#4E296F #6F2B29 #4A6F29 #296D6F
split-complementary
#4E296F #6D6F29 #296F2B
monochromatic
#100816 #2F1842 #4E296F #6D3A9C #8C53BF

Accessibility & contrast

On white

11.23
#4E296F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.87
#4E296F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E296F
11.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E296F#FFFFFF#000000##FFFFFF
##4E296F1.0011.231.8711.23
#FFFFFF11.231.0021.001.00
#0000001.8721.001.0021.00
##FFFFFF11.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#083A71
Deuteranopia (green-blind)
#1B3B6D
Tritanopia (blue-blind)
#483748
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #4e296f;
/* rgb */ color: rgb(78, 41, 111);
/* oklch */ color: oklch(36.5% 0.119 305.7);
Tailwind
colors: {
  custom: {
    50: '#826599',
    500: '#4e296f',
    950: '#000000',
  },
}
SCSS
$custom: #4e296f;
$custom-light: #826599;
$custom-dark: #000000;
JSON
{
  "hex": "#4e296f",
  "rgb": {
    "r": 78,
    "g": 41,
    "b": 111
  },
  "hsl": {
    "h": 271.714,
    "s": 46.053,
    "l": 29.804
  },
  "oklch": {
    "l": 0.36536,
    "c": 0.11865,
    "h": 305.7
  },
  "luminance": 0.04353
}

Semantic roles & 50–950 ramp

primary
#4E296F
secondary
#78A153
accent
#D65290
background
#F8F6F9
surface
#EFEBF2
border
#CAC6CC
text
#0B060E
muted
#7C7A7E

Preview Lab

Preview with #4E296F

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

Preview Lab → · Contrast checker → · Palette generator →

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