#4E3F7E#4E3F7E

#4E3F7E is a dark, moderate violet. Relative luminance 0.067; OKLCH L 41.5% C 0.103 H 292.3°. Best body text is #FFFFFF at 8.99:1 contrast (WCAG AA passes).

Color values

HEX#4E3F7E
RGBrgb(78, 63, 126)
HSLhsl(254, 33%, 37%)
HSVhsv(254, 50%, 49%)
CMYKcmyk(38.1%, 50%, 0%, 50.6%)
CIE-LABlab(31.07, 22.32, -33.60)
CIE-LCHlch(31.07, 40.34, 303.59°)
OKLaboklab(41.48% 0.0389 -0.0949)
OKLCHoklch(41.48% 0.103 292.3)
XYZxyz(8.6843, 6.6809, 20.5666)
Luminance0.0668 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E3F7E #6F7E3F
analogous
#3F507E #4E3F7E #6E3F7E
triadic
#4E3F7E #7E4E3F #3F7E4E
tetradic
#4E3F7E #7E3F50 #6F7E3F #3F7E6E
square
#4E3F7E #7E3F50 #6F7E3F #3F7E6E
split-complementary
#4E3F7E #7E6E3F #507E3F
monochromatic
#1B162C #352B55 #4E3F7E #6753A7 #8A7BBD

Accessibility & contrast

On white

8.99
#4E3F7E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.34
#4E3F7E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E3F7E
8.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E3F7E#FFFFFF#000000##FFFFFF
##4E3F7E1.008.992.348.99
#FFFFFF8.991.0021.001.00
#0000002.3421.001.0021.00
##FFFFFF8.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#284A80
Deuteranopia (green-blind)
#2A487D
Tritanopia (blue-blind)
#424B58
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #4e3f7e;
/* rgb */ color: rgb(78, 63, 126);
/* oklch */ color: oklch(41.5% 0.103 292.3);
Tailwind
colors: {
  custom: {
    50: '#8274a4',
    500: '#4e3f7e',
    950: '#000000',
  },
}
SCSS
$custom: #4e3f7e;
$custom-light: #8274a4;
$custom-dark: #000000;
JSON
{
  "hex": "#4e3f7e",
  "rgb": {
    "r": 78,
    "g": 63,
    "b": 126
  },
  "hsl": {
    "h": 254.286,
    "s": 33.333,
    "l": 37.059
  },
  "oklch": {
    "l": 0.41481,
    "c": 0.10256,
    "h": 292.3
  },
  "luminance": 0.06681
}

Semantic roles & 50–950 ramp

primary
#4E3F7E
secondary
#9AA772
accent
#C95EB0
background
#F8F7FA
surface
#EFEDF4
border
#CAC8CE
text
#0B080F
muted
#7C7B7F

Preview Lab

Preview with #4E3F7E

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

Preview Lab → · Contrast checker → · Palette generator →

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