#4E335F#4E335F

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

Color values

HEX#4E335F
RGBrgb(78, 51, 95)
HSLhsl(277, 30%, 29%)
HSVhsv(277, 46%, 37%)
CMYKcmyk(17.9%, 46.3%, 0%, 62.7%)
CIE-LABlab(26.20, 21.43, -21.56)
CIE-LCHlch(26.20, 30.40, 314.84°)
OKLaboklab(37.25% 0.0525 -0.0598)
OKLCHoklch(37.25% 0.08 311.3)
XYZxyz(6.3909, 4.8137, 11.4167)
Luminance0.0481 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E335F #445F33
analogous
#38335F #4E335F #5F335A
triadic
#4E335F #5F4E33 #335F4E
tetradic
#4E335F #5F3833 #445F33 #335A5F
square
#4E335F #5F3833 #445F33 #335A5F
split-complementary
#4E335F #5A5F33 #335F38
monochromatic
#100B14 #2D1E37 #4E335F #6F4887 #8E62AB

Accessibility & contrast

On white

10.70
#4E335F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4E335F
10.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E335F#FFFFFF#000000##FFFFFF
##4E335F1.0010.701.9610.70
#FFFFFF10.701.0021.001.00
#0000001.9621.001.0021.00
##FFFFFF10.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2A3D61
Deuteranopia (green-blind)
#313F5E
Tritanopia (blue-blind)
#4C3A44
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #4e335f;
/* rgb */ color: rgb(78, 51, 95);
/* oklch */ color: oklch(37.2% 0.080 311.3);
Tailwind
colors: {
  custom: {
    50: '#806b8c',
    500: '#4e335f',
    950: '#000000',
  },
}
SCSS
$custom: #4e335f;
$custom-light: #806b8c;
$custom-dark: #000000;
JSON
{
  "hex": "#4e335f",
  "rgb": {
    "r": 78,
    "g": 51,
    "b": 95
  },
  "hsl": {
    "h": 276.818,
    "s": 30.137,
    "l": 28.627
  },
  "oklch": {
    "l": 0.37249,
    "c": 0.0796,
    "h": 311.3
  },
  "luminance": 0.04814
}

Semantic roles & 50–950 ramp

primary
#4E335F
secondary
#71905E
accent
#C66188
background
#F7F6F8
surface
#EEEBF0
border
#C9C6CB
text
#0A060C
muted
#7C7A7D

Preview Lab

Preview with #4E335F

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

Preview Lab → · Contrast checker → · Palette generator →

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