#4E336F#4E336F

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

Color values

HEX#4E336F
RGBrgb(78, 51, 111)
HSLhsl(267, 37%, 32%)
HSVhsv(267, 54%, 44%)
CMYKcmyk(29.7%, 54.1%, 0%, 56.5%)
CIE-LABlab(27.12, 25.66, -30.42)
CIE-LCHlch(27.12, 39.80, 310.15°)
OKLaboklab(38.23% 0.0549 -0.0856)
OKLCHoklch(38.23% 0.102 302.7)
XYZxyz(7.1943, 5.1351, 15.6480)
Luminance0.0513 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E336F #546F33
analogous
#33366F #4E336F #6C336F
triadic
#4E336F #6F4E33 #336F4E
tetradic
#4E336F #6F3336 #546F33 #336F6C
square
#4E336F #6F3336 #546F33 #336F6C
split-complementary
#4E336F #6F6C33 #366F33
monochromatic
#130C1B #312045 #4E336F #6B4699 #8A64B8

Accessibility & contrast

On white

10.36
#4E336F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.03
#4E336F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E336F
10.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E336F#FFFFFF#000000##FFFFFF
##4E336F1.0010.362.0310.36
#FFFFFF10.361.0021.001.00
#0000002.0321.001.0021.00
##FFFFFF10.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1F4071
Deuteranopia (green-blind)
#27406E
Tritanopia (blue-blind)
#483E4C
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #4e336f;
/* rgb */ color: rgb(78, 51, 111);
/* oklch */ color: oklch(38.2% 0.102 302.7);
Tailwind
colors: {
  custom: {
    50: '#816b99',
    500: '#4e336f',
    950: '#000000',
  },
}
SCSS
$custom: #4e336f;
$custom-light: #816b99;
$custom-dark: #000000;
JSON
{
  "hex": "#4e336f",
  "rgb": {
    "r": 78,
    "g": 51,
    "b": 111
  },
  "hsl": {
    "h": 267,
    "s": 37.037,
    "l": 31.765
  },
  "oklch": {
    "l": 0.38234,
    "c": 0.10166,
    "h": 302.7
  },
  "luminance": 0.05135
}

Semantic roles & 50–950 ramp

primary
#4E336F
secondary
#82A05E
accent
#CD5B9A
background
#F8F6F9
surface
#EFEBF2
border
#CAC6CC
text
#0A070E
muted
#7C7A7E

Preview Lab

Preview with #4E336F

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

Preview Lab → · Contrast checker → · Palette generator →

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