#4E335E#4E335E

#4E335E is a dark, moderate violet. Relative luminance 0.048; OKLCH L 37.2% C 0.078 H 312.0°. Best body text is #FFFFFF at 10.72:1 contrast (WCAG AA passes).

Color values

HEX#4E335E
RGBrgb(78, 51, 94)
HSLhsl(278, 30%, 28%)
HSVhsv(278, 46%, 37%)
CMYKcmyk(17%, 45.7%, 0%, 63.1%)
CIE-LABlab(26.14, 21.18, -20.99)
CIE-LCHlch(26.14, 29.82, 315.26°)
OKLaboklab(37.19% 0.0523 -0.0582)
OKLCHoklch(37.19% 0.078 312)
XYZxyz(6.3457, 4.7956, 11.1789)
Luminance0.0480 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E335E #435E33
analogous
#38335E #4E335E #5E3358
triadic
#4E335E #5E4E33 #335E4E
tetradic
#4E335E #5E3833 #435E33 #33585E
square
#4E335E #5E3833 #435E33 #33585E
split-complementary
#4E335E #585E33 #335E38
monochromatic
#100B14 #2D1D36 #4E335E #6F4986 #8F62AA

Accessibility & contrast

On white

10.72
#4E335E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.96
#4E335E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E335E
10.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E335E#FFFFFF#000000##FFFFFF
##4E335E1.0010.721.9610.72
#FFFFFF10.721.0021.001.00
#0000001.9621.001.0021.00
##FFFFFF10.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2A3C60
Deuteranopia (green-blind)
#313E5D
Tritanopia (blue-blind)
#4C3944
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #4e335e;
/* rgb */ color: rgb(78, 51, 94);
/* oklch */ color: oklch(37.2% 0.078 312.0);
Tailwind
colors: {
  custom: {
    50: '#806b8c',
    500: '#4e335e',
    950: '#000000',
  },
}
SCSS
$custom: #4e335e;
$custom-light: #806b8c;
$custom-dark: #000000;
JSON
{
  "hex": "#4e335e",
  "rgb": {
    "r": 78,
    "g": 51,
    "b": 94
  },
  "hsl": {
    "h": 277.674,
    "s": 29.655,
    "l": 28.431
  },
  "oklch": {
    "l": 0.37192,
    "c": 0.07824,
    "h": 312
  },
  "luminance": 0.04796
}

Semantic roles & 50–950 ramp

primary
#4E335E
secondary
#708F5E
accent
#C66287
background
#F7F6F8
surface
#EEEBF0
border
#C9C6CB
text
#0A060C
muted
#7C7A7D

Preview Lab

Preview with #4E335E

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

Preview Lab → · Contrast checker → · Palette generator →

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