#4E336E#4E336E

#4E336E is a dark, moderate violet. Relative luminance 0.051; OKLCH L 38.2% C 0.100 H 303.1°. Best body text is #FFFFFF at 10.38:1 contrast (WCAG AA passes).

Color values

HEX#4E336E
RGBrgb(78, 51, 110)
HSLhsl(267, 37%, 32%)
HSVhsv(267, 54%, 43%)
CMYKcmyk(29.1%, 53.6%, 0%, 56.9%)
CIE-LABlab(27.05, 25.39, -29.88)
CIE-LCHlch(27.05, 39.21, 310.35°)
OKLaboklab(38.17% 0.0548 -0.084)
OKLCHoklch(38.17% 0.1 303.1)
XYZxyz(7.1396, 5.1132, 15.3596)
Luminance0.0511 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E336E #536E33
analogous
#33366E #4E336E #6C336E
triadic
#4E336E #6E4E33 #336E4E
tetradic
#4E336E #6E3336 #536E33 #336E6C
square
#4E336E #6E3336 #536E33 #336E6C
split-complementary
#4E336E #6E6C33 #366E33
monochromatic
#130C1A #302044 #4E336E #6C4698 #8A64B7

Accessibility & contrast

On white

10.38
#4E336E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.02
#4E336E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E336E
10.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E336E#FFFFFF#000000##FFFFFF
##4E336E1.0010.382.0210.38
#FFFFFF10.381.0021.001.00
#0000002.0221.001.0021.00
##FFFFFF10.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#203F70
Deuteranopia (green-blind)
#28406D
Tritanopia (blue-blind)
#483E4B
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #4e336e;
/* rgb */ color: rgb(78, 51, 110);
/* oklch */ color: oklch(38.2% 0.100 303.1);
Tailwind
colors: {
  custom: {
    50: '#816b98',
    500: '#4e336e',
    950: '#000000',
  },
}
SCSS
$custom: #4e336e;
$custom-light: #816b98;
$custom-dark: #000000;
JSON
{
  "hex": "#4e336e",
  "rgb": {
    "r": 78,
    "g": 51,
    "b": 110
  },
  "hsl": {
    "h": 267.458,
    "s": 36.646,
    "l": 31.569
  },
  "oklch": {
    "l": 0.38169,
    "c": 0.10028,
    "h": 303.1
  },
  "luminance": 0.05113
}

Semantic roles & 50–950 ramp

primary
#4E336E
secondary
#819F5E
accent
#CD5B99
background
#F8F6F9
surface
#EFEBF2
border
#CAC6CC
text
#0A070D
muted
#7C7A7E

Preview Lab

Preview with #4E336E

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

Preview Lab → · Contrast checker → · Palette generator →

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