#4E3E9D#4E3E9D

#4E3E9D is a dark, vivid violet. Relative luminance 0.075; OKLCH L 43.5% C 0.148 H 286.2°. Best body text is #FFFFFF at 8.40:1 contrast (WCAG AA passes).

Color values

HEX#4E3E9D
RGBrgb(78, 62, 157)
HSLhsl(250, 43%, 43%)
HSVhsv(250, 61%, 62%)
CMYKcmyk(50.3%, 60.5%, 0%, 38.4%)
CIE-LABlab(32.92, 32.43, -49.68)
CIE-LCHlch(32.92, 59.33, 303.14°)
OKLaboklab(43.52% 0.0414 -0.1421)
OKLCHoklch(43.52% 0.148 286.2)
XYZxyz(10.9485, 7.4988, 32.7623)
Luminance0.0750 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E3E9D #8D9D3E
analogous
#3E5E9D #4E3E9D #7D3E9D
triadic
#4E3E9D #9D4E3E #3E9D4E
tetradic
#4E3E9D #9D3E5E #8D9D3E #3E9D7D
square
#4E3E9D #9D3E5E #8D9D3E #3E9D7D
split-complementary
#4E3E9D #9D7D3E #5E9D3E
monochromatic
#221B45 #382D71 #4E3E9D #6B5ABE #9286CF

Accessibility & contrast

On white

8.40
#4E3E9D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.50
#4E3E9D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E3E9D
8.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E3E9D#FFFFFF#000000##FFFFFF
##4E3E9D1.008.402.508.40
#FFFFFF8.401.0021.001.00
#0000002.5021.001.0021.00
##FFFFFF8.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0050A0
Deuteranopia (green-blind)
#004B9B
Tritanopia (blue-blind)
#325467
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #4e3e9d;
/* rgb */ color: rgb(78, 62, 157);
/* oklch */ color: oklch(43.5% 0.148 286.2);
Tailwind
colors: {
  custom: {
    50: '#8674bb',
    500: '#4e3e9d',
    950: '#000000',
  },
}
SCSS
$custom: #4e3e9d;
$custom-light: #8674bb;
$custom-dark: #000000;
JSON
{
  "hex": "#4e3e9d",
  "rgb": {
    "r": 78,
    "g": 62,
    "b": 157
  },
  "hsl": {
    "h": 250.105,
    "s": 43.379,
    "l": 42.941
  },
  "oklch": {
    "l": 0.43522,
    "c": 0.14803,
    "h": 286.2
  },
  "luminance": 0.07499
}

Semantic roles & 50–950 ramp

primary
#4E3E9D
secondary
#AFBA7D
accent
#D355BE
background
#F8F7FB
surface
#F0EDF6
border
#CBC8D0
text
#0C0812
muted
#7D7B81

Preview Lab

Preview with #4E3E9D

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

Preview Lab → · Contrast checker → · Palette generator →

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