#4E325E#4E325E

#4E325E is a dark, moderate violet. Relative luminance 0.047; OKLCH L 37.0% C 0.080 H 312.3°. Best body text is #FFFFFF at 10.81:1 contrast (WCAG AA passes).

Color values

HEX#4E325E
RGBrgb(78, 50, 94)
HSLhsl(278, 31%, 28%)
HSVhsv(278, 47%, 37%)
CMYKcmyk(17%, 46.8%, 0%, 63.1%)
CIE-LABlab(25.89, 21.82, -21.39)
CIE-LCHlch(25.89, 30.55, 315.57°)
OKLaboklab(37% 0.054 -0.0593)
OKLCHoklch(37% 0.08 312.3)
XYZxyz(6.3025, 4.7092, 11.1645)
Luminance0.0471 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E325E #425E32
analogous
#38325E #4E325E #5E3258
triadic
#4E325E #5E4E32 #325E4E
tetradic
#4E325E #5E3832 #425E32 #32585E
square
#4E325E #5E3832 #425E32 #32585E
split-complementary
#4E325E #585E32 #325E38
monochromatic
#110B14 #2D1D36 #4E325E #6F4786 #8F60AA

Accessibility & contrast

On white

10.81
#4E325E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.94
#4E325E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E325E
10.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E325E#FFFFFF#000000##FFFFFF
##4E325E1.0010.811.9410.81
#FFFFFF10.811.0021.001.00
#0000001.9421.001.0021.00
##FFFFFF10.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#293C60
Deuteranopia (green-blind)
#303E5D
Tritanopia (blue-blind)
#4C3943
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #4e325e;
/* rgb */ color: rgb(78, 50, 94);
/* oklch */ color: oklch(37.0% 0.080 312.3);
Tailwind
colors: {
  custom: {
    50: '#806a8c',
    500: '#4e325e',
    950: '#000000',
  },
}
SCSS
$custom: #4e325e;
$custom-light: #806a8c;
$custom-dark: #000000;
JSON
{
  "hex": "#4e325e",
  "rgb": {
    "r": 78,
    "g": 50,
    "b": 94
  },
  "hsl": {
    "h": 278.182,
    "s": 30.556,
    "l": 28.235
  },
  "oklch": {
    "l": 0.37001,
    "c": 0.08021,
    "h": 312.3
  },
  "luminance": 0.04709
}

Semantic roles & 50–950 ramp

primary
#4E325E
secondary
#6F8F5D
accent
#C76186
background
#F7F6F8
surface
#EEEBF0
border
#C9C6CB
text
#0A060C
muted
#7C7A7D

Preview Lab

Preview with #4E325E

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

Preview Lab → · Contrast checker → · Palette generator →

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