#4E386A#4E386A

#4E386A is a dark, moderate violet. Relative luminance 0.055; OKLCH L 38.9% C 0.086 H 302.9°. Best body text is #FFFFFF at 10.01:1 contrast (WCAG AA passes).

Color values

HEX#4E386A
RGBrgb(78, 56, 106)
HSLhsl(266, 31%, 32%)
HSVhsv(266, 47%, 42%)
CMYKcmyk(26.4%, 47.2%, 0%, 58.4%)
CIE-LABlab(28.08, 21.12, -25.69)
CIE-LCHlch(28.08, 33.26, 309.43°)
OKLaboklab(38.86% 0.0465 -0.0718)
OKLCHoklch(38.86% 0.086 302.9)
XYZxyz(7.1570, 5.4887, 14.3152)
Luminance0.0549 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E386A #546A38
analogous
#383B6A #4E386A #67386A
triadic
#4E386A #6A4E38 #386A4E
tetradic
#4E386A #6A383B #546A38 #386A67
square
#4E386A #6A383B #546A38 #386A67
split-complementary
#4E386A #6A6738 #3B6A38
monochromatic
#130E1A #312342 #4E386A #6B4D92 #8A6BB1

Accessibility & contrast

On white

10.01
#4E386A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.10
#4E386A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E386A
10.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E386A#FFFFFF#000000##FFFFFF
##4E386A1.0010.012.1010.01
#FFFFFF10.011.0021.001.00
#0000002.1021.001.0021.00
##FFFFFF10.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2B426C
Deuteranopia (green-blind)
#304269
Tritanopia (blue-blind)
#49414C
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #4e386a;
/* rgb */ color: rgb(78, 56, 106);
/* oklch */ color: oklch(38.9% 0.086 302.9);
Tailwind
colors: {
  custom: {
    50: '#816f95',
    500: '#4e386a',
    950: '#000000',
  },
}
SCSS
$custom: #4e386a;
$custom-light: #816f95;
$custom-dark: #000000;
JSON
{
  "hex": "#4e386a",
  "rgb": {
    "r": 78,
    "g": 56,
    "b": 106
  },
  "hsl": {
    "h": 266.4,
    "s": 30.864,
    "l": 31.765
  },
  "oklch": {
    "l": 0.38861,
    "c": 0.08556,
    "h": 302.9
  },
  "luminance": 0.05489
}

Semantic roles & 50–950 ramp

primary
#4E386A
secondary
#829A63
accent
#C7619A
background
#F7F6F9
surface
#EEECF1
border
#C9C7CB
text
#0A070D
muted
#7C7A7E

Preview Lab

Preview with #4E386A

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

Preview Lab → · Contrast checker → · Palette generator →

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