#4E396E#4E396E

#4E396E is a dark, moderate violet. Relative luminance 0.057; OKLCH L 39.3% C 0.090 H 300.6°. Best body text is #FFFFFF at 9.84:1 contrast (WCAG AA passes).

Color values

HEX#4E396E
RGBrgb(78, 57, 110)
HSLhsl(264, 32%, 33%)
HSVhsv(264, 48%, 43%)
CMYKcmyk(29.1%, 48.2%, 0%, 56.9%)
CIE-LABlab(28.57, 21.58, -27.48)
CIE-LCHlch(28.57, 34.94, 308.14°)
OKLaboklab(39.3% 0.0456 -0.077)
OKLCHoklch(39.3% 0.09 300.6)
XYZxyz(7.4188, 5.6717, 15.4527)
Luminance0.0567 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E396E #596E39
analogous
#393E6E #4E396E #69396E
triadic
#4E396E #6E4E39 #396E4E
tetradic
#4E396E #6E393E #596E39 #396E69
square
#4E396E #6E393E #596E39 #396E69
split-complementary
#4E396E #6E6939 #3E6E39
monochromatic
#150F1D #312446 #4E396E #6B4E96 #896EB4

Accessibility & contrast

On white

9.84
#4E396E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.13
#4E396E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E396E
9.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E396E#FFFFFF#000000##FFFFFF
##4E396E1.009.842.139.84
#FFFFFF9.841.0021.001.00
#0000002.1321.001.0021.00
##FFFFFF9.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2A4370
Deuteranopia (green-blind)
#2E436D
Tritanopia (blue-blind)
#48424E
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #4e396e;
/* rgb */ color: rgb(78, 57, 110);
/* oklch */ color: oklch(39.3% 0.090 300.6);
Tailwind
colors: {
  custom: {
    50: '#817098',
    500: '#4e396e',
    950: '#000000',
  },
}
SCSS
$custom: #4e396e;
$custom-light: #817098;
$custom-dark: #000000;
JSON
{
  "hex": "#4e396e",
  "rgb": {
    "r": 78,
    "g": 57,
    "b": 110
  },
  "hsl": {
    "h": 263.774,
    "s": 31.737,
    "l": 32.745
  },
  "oklch": {
    "l": 0.39299,
    "c": 0.08952,
    "h": 300.6
  },
  "luminance": 0.05672
}

Semantic roles & 50–950 ramp

primary
#4E396E
secondary
#879D65
accent
#C8609F
background
#F8F6F9
surface
#EFECF2
border
#CAC7CC
text
#0A070D
muted
#7C7A7E

Preview Lab

Preview with #4E396E

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

Preview Lab → · Contrast checker → · Palette generator →

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