#4E3577#4E3577

#4E3577 is a dark, moderate violet. Relative luminance 0.055; OKLCH L 39.1% C 0.109 H 298.7°. Best body text is #FFFFFF at 10.00:1 contrast (WCAG AA passes).

Color values

HEX#4E3577
RGBrgb(78, 53, 119)
HSLhsl(263, 38%, 34%)
HSVhsv(263, 55%, 47%)
CMYKcmyk(34.5%, 55.5%, 0%, 53.3%)
CIE-LABlab(28.11, 26.64, -33.93)
CIE-LCHlch(28.11, 43.13, 308.14°)
OKLaboklab(39.13% 0.0525 -0.0958)
OKLCHoklch(39.13% 0.109 298.7)
XYZxyz(7.7440, 5.4977, 18.1024)
Luminance0.0550 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E3577 #5E7735
analogous
#353D77 #4E3577 #6F3577
triadic
#4E3577 #774E35 #35774E
tetradic
#4E3577 #77353D #5E7735 #35776F
square
#4E3577 #77353D #5E7735 #35776F
split-complementary
#4E3577 #776F35 #3D7735
monochromatic
#160F22 #32224D #4E3577 #6A48A1 #896ABD

Accessibility & contrast

On white

10.00
#4E3577 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.10
#4E3577 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E3577
10.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E3577#FFFFFF#000000##FFFFFF
##4E35771.0010.002.1010.00
#FFFFFF10.001.0021.001.00
#0000002.1021.001.0021.00
##FFFFFF10.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1B4279
Deuteranopia (green-blind)
#234275
Tritanopia (blue-blind)
#454250
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #4e3577;
/* rgb */ color: rgb(78, 53, 119);
/* oklch */ color: oklch(39.1% 0.109 298.7);
Tailwind
colors: {
  custom: {
    50: '#826d9f',
    500: '#4e3577',
    950: '#000000',
  },
}
SCSS
$custom: #4e3577;
$custom-light: #826d9f;
$custom-dark: #000000;
JSON
{
  "hex": "#4e3577",
  "rgb": {
    "r": 78,
    "g": 53,
    "b": 119
  },
  "hsl": {
    "h": 262.727,
    "s": 38.372,
    "l": 33.725
  },
  "oklch": {
    "l": 0.39133,
    "c": 0.10931,
    "h": 298.7
  },
  "luminance": 0.05498
}

Semantic roles & 50–950 ramp

primary
#4E3577
secondary
#8CA563
accent
#CE59A2
background
#F8F6F9
surface
#EFEBF2
border
#CAC6CC
text
#0B070E
muted
#7C7A7E

Preview Lab

Preview with #4E3577

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

Preview Lab → · Contrast checker → · Palette generator →

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