#4E388E#4E388E

#4E388E is a dark, vivid violet. Relative luminance 0.064; OKLCH L 41.3% C 0.136 H 291.0°. Best body text is #FFFFFF at 9.21:1 contrast (WCAG AA passes).

Color values

HEX#4E388E
RGBrgb(78, 56, 142)
HSLhsl(255, 43%, 39%)
HSVhsv(255, 61%, 56%)
CMYKcmyk(45.1%, 60.6%, 0%, 44.3%)
CIE-LABlab(30.40, 31.52, -44.59)
CIE-LCHlch(30.40, 54.61, 305.26°)
OKLaboklab(41.33% 0.0489 -0.1272)
OKLCHoklch(41.33% 0.136 291)
XYZxyz(9.4372, 6.4007, 26.3242)
Luminance0.0640 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E388E #788E38
analogous
#384D8E #4E388E #79388E
triadic
#4E388E #8E4E38 #388E4E
tetradic
#4E388E #8E384D #788E38 #388E79
square
#4E388E #8E384D #788E38 #388E79
split-complementary
#4E388E #8E7938 #4D8E38
monochromatic
#1E1536 #362762 #4E388E #674BB8 #8C77C9

Accessibility & contrast

On white

9.21
#4E388E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.28
#4E388E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E388E
9.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E388E#FFFFFF#000000##FFFFFF
##4E388E1.009.212.289.21
#FFFFFF9.211.0021.001.00
#0000002.2821.001.0021.00
##FFFFFF9.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004991
Deuteranopia (green-blind)
#01468C
Tritanopia (blue-blind)
#3B4B5D
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #4e388e;
/* rgb */ color: rgb(78, 56, 142);
/* oklch */ color: oklch(41.3% 0.136 291.0);
Tailwind
colors: {
  custom: {
    50: '#846fb0',
    500: '#4e388e',
    950: '#000000',
  },
}
SCSS
$custom: #4e388e;
$custom-light: #846fb0;
$custom-dark: #000000;
JSON
{
  "hex": "#4e388e",
  "rgb": {
    "r": 78,
    "g": 56,
    "b": 142
  },
  "hsl": {
    "h": 255.349,
    "s": 43.434,
    "l": 38.824
  },
  "oklch": {
    "l": 0.41328,
    "c": 0.13625,
    "h": 291
  },
  "luminance": 0.06401
}

Semantic roles & 50–950 ramp

primary
#4E388E
secondary
#A1B26F
accent
#D355B3
background
#F8F6FA
surface
#F0ECF5
border
#CBC7CF
text
#0B0710
muted
#7C7A7F

Preview Lab

Preview with #4E388E

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

Preview Lab → · Contrast checker → · Palette generator →

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