#4E335D#4E335D

#4E335D is a dark, moderate violet. Relative luminance 0.048; OKLCH L 37.1% C 0.077 H 312.7°. Best body text is #FFFFFF at 10.74:1 contrast (WCAG AA passes).

Color values

HEX#4E335D
RGBrgb(78, 51, 93)
HSLhsl(279, 29%, 28%)
HSVhsv(279, 45%, 36%)
CMYKcmyk(16.1%, 45.2%, 0%, 63.5%)
CIE-LABlab(26.09, 20.93, -20.42)
CIE-LCHlch(26.09, 29.24, 315.71°)
OKLaboklab(37.14% 0.0521 -0.0565)
OKLCHoklch(37.14% 0.077 312.7)
XYZxyz(6.3012, 4.7778, 10.9441)
Luminance0.0478 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E335D #425D33
analogous
#39335D #4E335D #5D3357
triadic
#4E335D #5D4E33 #335D4E
tetradic
#4E335D #5D3933 #425D33 #33575D
square
#4E335D #5D3933 #425D33 #33575D
split-complementary
#4E335D #575D33 #335D39
monochromatic
#110B14 #2D1D35 #4E335D #6F4985 #8F62A9

Accessibility & contrast

On white

10.74
#4E335D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4E335D
10.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E335D#FFFFFF#000000##FFFFFF
##4E335D1.0010.741.9610.74
#FFFFFF10.741.0021.001.00
#0000001.9621.001.0021.00
##FFFFFF10.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2B3C5F
Deuteranopia (green-blind)
#323E5C
Tritanopia (blue-blind)
#4D3943
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #4e335d;
/* rgb */ color: rgb(78, 51, 93);
/* oklch */ color: oklch(37.1% 0.077 312.7);
Tailwind
colors: {
  custom: {
    50: '#806b8b',
    500: '#4e335d',
    950: '#000000',
  },
}
SCSS
$custom: #4e335d;
$custom-light: #806b8b;
$custom-dark: #000000;
JSON
{
  "hex": "#4e335d",
  "rgb": {
    "r": 78,
    "g": 51,
    "b": 93
  },
  "hsl": {
    "h": 278.571,
    "s": 29.167,
    "l": 28.235
  },
  "oklch": {
    "l": 0.37136,
    "c": 0.07689,
    "h": 312.7
  },
  "luminance": 0.04778
}

Semantic roles & 50–950 ramp

primary
#4E335D
secondary
#6F8E5E
accent
#C56286
background
#F7F6F8
surface
#EEEBF0
border
#C9C6CB
text
#0A060C
muted
#7C7A7D

Preview Lab

Preview with #4E335D

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

Preview Lab → · Contrast checker → · Palette generator →

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