#4E3D76#4E3D76

#4E3D76 is a dark, moderate violet. Relative luminance 0.063; OKLCH L 40.6% C 0.094 H 295.7°. Best body text is #FFFFFF at 9.32:1 contrast (WCAG AA passes).

Color values

HEX#4E3D76
RGBrgb(78, 61, 118)
HSLhsl(258, 32%, 35%)
HSVhsv(258, 48%, 46%)
CMYKcmyk(33.9%, 48.3%, 0%, 53.7%)
CIE-LABlab(30.07, 21.26, -30.17)
CIE-LCHlch(30.07, 36.91, 305.18°)
OKLaboklab(40.58% 0.0408 -0.0849)
OKLCHoklch(40.58% 0.094 295.7)
XYZxyz(8.0798, 6.2651, 17.9196)
Luminance0.0626 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E3D76 #65763D
analogous
#3D4876 #4E3D76 #6B3D76
triadic
#4E3D76 #764E3D #3D764E
tetradic
#4E3D76 #763D48 #65763D #3D766B
square
#4E3D76 #763D48 #65763D #3D766B
split-complementary
#4E3D76 #766B3D #48763D
monochromatic
#191325 #33284E #4E3D76 #69529E #8975B8

Accessibility & contrast

On white

9.32
#4E3D76 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.25
#4E3D76 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E3D76
9.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E3D76#FFFFFF#000000##FFFFFF
##4E3D761.009.322.259.32
#FFFFFF9.321.0021.001.00
#0000002.2521.001.0021.00
##FFFFFF9.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2A4778
Deuteranopia (green-blind)
#2E4675
Tritanopia (blue-blind)
#454854
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #4e3d76;
/* rgb */ color: rgb(78, 61, 118);
/* oklch */ color: oklch(40.6% 0.094 295.7);
Tailwind
colors: {
  custom: {
    50: '#81739e',
    500: '#4e3d76',
    950: '#000000',
  },
}
SCSS
$custom: #4e3d76;
$custom-light: #81739e;
$custom-dark: #000000;
JSON
{
  "hex": "#4e3d76",
  "rgb": {
    "r": 78,
    "g": 61,
    "b": 118
  },
  "hsl": {
    "h": 257.895,
    "s": 31.844,
    "l": 35.098
  },
  "oklch": {
    "l": 0.40578,
    "c": 0.09415,
    "h": 295.7
  },
  "luminance": 0.06265
}

Semantic roles & 50–950 ramp

primary
#4E3D76
secondary
#92A26D
accent
#C860A9
background
#F8F6F9
surface
#EFECF2
border
#CAC7CC
text
#0A080E
muted
#7C7B7E

Preview Lab

Preview with #4E3D76

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

Preview Lab → · Contrast checker → · Palette generator →

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