#4E305E#4E305E

#4E305E is a dark, moderate violet. Relative luminance 0.045; OKLCH L 36.6% C 0.084 H 312.9°. Best body text is #FFFFFF at 11.00:1 contrast (WCAG AA passes).

Color values

HEX#4E305E
RGBrgb(78, 48, 94)
HSLhsl(279, 32%, 28%)
HSVhsv(279, 49%, 37%)
CMYKcmyk(17%, 48.9%, 0%, 63.1%)
CIE-LABlab(25.39, 23.08, -22.17)
CIE-LCHlch(25.39, 32.01, 316.15°)
OKLaboklab(36.63% 0.0573 -0.0616)
OKLCHoklch(36.63% 0.084 312.9)
XYZxyz(6.2189, 4.5419, 11.1366)
Luminance0.0454 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E305E #405E30
analogous
#37305E #4E305E #5E3057
triadic
#4E305E #5E4E30 #305E4E
tetradic
#4E305E #5E3730 #405E30 #30575E
square
#4E305E #5E3730 #405E30 #30575E
split-complementary
#4E305E #575E30 #305E37
monochromatic
#110A14 #2C1B35 #4E305E #704587 #905CAC

Accessibility & contrast

On white

11.00
#4E305E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.91
#4E305E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E305E
11.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E305E#FFFFFF#000000##FFFFFF
##4E305E1.0011.001.9111.00
#FFFFFF11.001.0021.001.00
#0000001.9121.001.0021.00
##FFFFFF11.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#263B60
Deuteranopia (green-blind)
#2F3D5D
Tritanopia (blue-blind)
#4D3742
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #4e305e;
/* rgb */ color: rgb(78, 48, 94);
/* oklch */ color: oklch(36.6% 0.084 312.9);
Tailwind
colors: {
  custom: {
    50: '#81698c',
    500: '#4e305e',
    950: '#000000',
  },
}
SCSS
$custom: #4e305e;
$custom-light: #81698c;
$custom-dark: #000000;
JSON
{
  "hex": "#4e305e",
  "rgb": {
    "r": 78,
    "g": 48,
    "b": 94
  },
  "hsl": {
    "h": 279.13,
    "s": 32.394,
    "l": 27.843
  },
  "oklch": {
    "l": 0.36625,
    "c": 0.0841,
    "h": 312.9
  },
  "luminance": 0.04542
}

Semantic roles & 50–950 ramp

primary
#4E305E
secondary
#6D8F5A
accent
#C95F84
background
#F7F6F8
surface
#EEEBF0
border
#C9C6CB
text
#0A060C
muted
#7C7A7D

Preview Lab

Preview with #4E305E

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

Preview Lab → · Contrast checker → · Palette generator →

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