#4E386E#4E386E

#4E386E is a dark, moderate violet. Relative luminance 0.056; OKLCH L 39.1% C 0.091 H 301.1°. Best body text is #FFFFFF at 9.93:1 contrast (WCAG AA passes).

Color values

HEX#4E386E
RGBrgb(78, 56, 110)
HSLhsl(264, 33%, 33%)
HSVhsv(264, 49%, 43%)
CMYKcmyk(29.1%, 49.1%, 0%, 56.9%)
CIE-LABlab(28.31, 22.22, -27.89)
CIE-LCHlch(28.31, 35.66, 308.54°)
OKLaboklab(39.11% 0.0472 -0.0782)
OKLCHoklch(39.11% 0.091 301.1)
XYZxyz(7.3699, 5.5738, 15.4364)
Luminance0.0557 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E386E #586E38
analogous
#383D6E #4E386E #69386E
triadic
#4E386E #6E4E38 #386E4E
tetradic
#4E386E #6E383D #586E38 #386E69
square
#4E386E #6E383D #586E38 #386E69
split-complementary
#4E386E #6E6938 #3D6E38
monochromatic
#140F1D #312345 #4E386E #6B4D97 #8A6CB4

Accessibility & contrast

On white

9.93
#4E386E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.11
#4E386E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E386E
9.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E386E#FFFFFF#000000##FFFFFF
##4E386E1.009.932.119.93
#FFFFFF9.931.0021.001.00
#0000002.1121.001.0021.00
##FFFFFF9.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#284270
Deuteranopia (green-blind)
#2D436D
Tritanopia (blue-blind)
#48424D
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #4e386e;
/* rgb */ color: rgb(78, 56, 110);
/* oklch */ color: oklch(39.1% 0.091 301.1);
Tailwind
colors: {
  custom: {
    50: '#816f98',
    500: '#4e386e',
    950: '#000000',
  },
}
SCSS
$custom: #4e386e;
$custom-light: #816f98;
$custom-dark: #000000;
JSON
{
  "hex": "#4e386e",
  "rgb": {
    "r": 78,
    "g": 56,
    "b": 110
  },
  "hsl": {
    "h": 264.444,
    "s": 32.53,
    "l": 32.549
  },
  "oklch": {
    "l": 0.39106,
    "c": 0.09133,
    "h": 301.1
  },
  "luminance": 0.05574
}

Semantic roles & 50–950 ramp

primary
#4E386E
secondary
#869E64
accent
#C95F9E
background
#F8F6F9
surface
#EFECF2
border
#CAC7CC
text
#0A070D
muted
#7C7A7E

Preview Lab

Preview with #4E386E

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

Preview Lab → · Contrast checker → · Palette generator →

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