#4E2E80#4E2E80

#4E2E80 is a dark, vivid violet. Relative luminance 0.051; OKLCH L 38.6% C 0.133 H 297.8°. Best body text is #FFFFFF at 10.36:1 contrast (WCAG AA passes).

Color values

HEX#4E2E80
RGBrgb(78, 46, 128)
HSLhsl(263, 47%, 34%)
HSVhsv(263, 64%, 50%)
CMYKcmyk(39.1%, 64.1%, 0%, 49.8%)
CIE-LABlab(27.11, 33.44, -41.20)
CIE-LCHlch(27.11, 53.07, 309.06°)
OKLaboklab(38.6% 0.0619 -0.1172)
OKLCHoklch(38.6% 0.133 297.8)
XYZxyz(8.0142, 5.1321, 20.9863)
Luminance0.0513 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E2E80 #60802E
analogous
#2E3780 #4E2E80 #772E80
triadic
#4E2E80 #804E2E #2E804E
tetradic
#4E2E80 #802E37 #60802E #2E8077
square
#4E2E80 #802E37 #60802E #2E8077
split-complementary
#4E2E80 #80772E #37802E
monochromatic
#170E26 #331E53 #4E2E80 #693EAD #8962C7

Accessibility & contrast

On white

10.36
#4E2E80 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.03
#4E2E80 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E2E80
10.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E2E80#FFFFFF#000000##FFFFFF
##4E2E801.0010.362.0310.36
#FFFFFF10.361.0021.001.00
#0000002.0321.001.0021.00
##FFFFFF10.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004083
Deuteranopia (green-blind)
#083F7E
Tritanopia (blue-blind)
#424052
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #4e2e80;
/* rgb */ color: rgb(78, 46, 128);
/* oklch */ color: oklch(38.6% 0.133 297.8);
Tailwind
colors: {
  custom: {
    50: '#8468a5',
    500: '#4e2e80',
    950: '#000000',
  },
}
SCSS
$custom: #4e2e80;
$custom-light: #8468a5;
$custom-dark: #000000;
JSON
{
  "hex": "#4e2e80",
  "rgb": {
    "r": 78,
    "g": 46,
    "b": 128
  },
  "hsl": {
    "h": 263.415,
    "s": 47.126,
    "l": 34.118
  },
  "oklch": {
    "l": 0.38597,
    "c": 0.13257,
    "h": 297.8
  },
  "luminance": 0.05132
}

Semantic roles & 50–950 ramp

primary
#4E2E80
secondary
#8EAD5D
accent
#D751A3
background
#F8F6FA
surface
#EFEBF4
border
#CAC6CE
text
#0B060F
muted
#7C7A7F

Preview Lab

Preview with #4E2E80

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

Preview Lab → · Contrast checker → · Palette generator →

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