#4E4283#4E4283

#4E4283 is a dark, moderate violet. Relative luminance 0.072; OKLCH L 42.4% C 0.105 H 289.6°. Best body text is #FFFFFF at 8.64:1 contrast (WCAG AA passes).

Color values

HEX#4E4283
RGBrgb(78, 66, 131)
HSLhsl(251, 33%, 39%)
HSVhsv(251, 50%, 51%)
CMYKcmyk(40.5%, 49.6%, 0%, 48.6%)
CIE-LABlab(32.16, 21.88, -34.98)
CIE-LCHlch(32.16, 41.26, 302.03°)
OKLaboklab(42.4% 0.0353 -0.0989)
OKLCHoklch(42.4% 0.105 289.6)
XYZxyz(9.1857, 7.1546, 22.3653)
Luminance0.0716 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E4283 #778342
analogous
#425683 #4E4283 #6E4283
triadic
#4E4283 #834E42 #42834E
tetradic
#4E4283 #834256 #778342 #42836E
square
#4E4283 #834256 #778342 #42836E
split-complementary
#4E4283 #836E42 #568342
monochromatic
#1E1932 #362D5A #4E4283 #6758AB #8C80BF

Accessibility & contrast

On white

8.64
#4E4283 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.43
#4E4283 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E4283
8.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E4283#FFFFFF#000000##FFFFFF
##4E42831.008.642.438.64
#FFFFFF8.641.0021.001.00
#0000002.4321.001.0021.00
##FFFFFF8.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#294D85
Deuteranopia (green-blind)
#2A4A81
Tritanopia (blue-blind)
#404F5C
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #4e4283;
/* rgb */ color: rgb(78, 66, 131);
/* oklch */ color: oklch(42.4% 0.105 289.6);
Tailwind
colors: {
  custom: {
    50: '#8276a7',
    500: '#4e4283',
    950: '#000000',
  },
}
SCSS
$custom: #4e4283;
$custom-light: #8276a7;
$custom-dark: #000000;
JSON
{
  "hex": "#4e4283",
  "rgb": {
    "r": 78,
    "g": 66,
    "b": 131
  },
  "hsl": {
    "h": 251.077,
    "s": 32.995,
    "l": 38.627
  },
  "oklch": {
    "l": 0.42395,
    "c": 0.10503,
    "h": 289.6
  },
  "luminance": 0.07155
}

Semantic roles & 50–950 ramp

primary
#4E4283
secondary
#A1AA77
accent
#C95FB5
background
#F8F7FA
surface
#EFEDF4
border
#CAC8CE
text
#0B080F
muted
#7C7B7F

Preview Lab

Preview with #4E4283

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

Preview Lab → · Contrast checker → · Palette generator →

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