#4E2E5F#4E2E5F

#4E2E5F is a dark, moderate violet. Relative luminance 0.044; OKLCH L 36.3% C 0.089 H 312.8°. Best body text is #FFFFFF at 11.17:1 contrast (WCAG AA passes).

Color values

HEX#4E2E5F
RGBrgb(78, 46, 95)
HSLhsl(279, 35%, 28%)
HSVhsv(279, 52%, 37%)
CMYKcmyk(17.9%, 51.6%, 0%, 62.7%)
CIE-LABlab(24.95, 24.58, -23.51)
CIE-LCHlch(24.95, 34.02, 316.28°)
OKLaboklab(36.32% 0.0607 -0.0654)
OKLCHoklch(36.32% 0.089 312.8)
XYZxyz(6.1841, 4.4001, 11.3478)
Luminance0.0440 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E2E5F #3F5F2E
analogous
#362E5F #4E2E5F #5F2E57
triadic
#4E2E5F #5F4E2E #2E5F4E
tetradic
#4E2E5F #5F362E #3F5F2E #2E575F
square
#4E2E5F #5F362E #3F5F2E #2E575F
split-complementary
#4E2E5F #575F2E #2E5F36
monochromatic
#110A15 #2C1A36 #4E2E5F #704288 #9159AF

Accessibility & contrast

On white

11.17
#4E2E5F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.88
#4E2E5F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E2E5F
11.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E2E5F#FFFFFF#000000##FFFFFF
##4E2E5F1.0011.171.8811.17
#FFFFFF11.171.0021.001.00
#0000001.8821.001.0021.00
##FFFFFF11.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#233961
Deuteranopia (green-blind)
#2C3C5E
Tritanopia (blue-blind)
#4C3642
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #4e2e5f;
/* rgb */ color: rgb(78, 46, 95);
/* oklch */ color: oklch(36.3% 0.089 312.8);
Tailwind
colors: {
  custom: {
    50: '#81688c',
    500: '#4e2e5f',
    950: '#000000',
  },
}
SCSS
$custom: #4e2e5f;
$custom-light: #81688c;
$custom-dark: #000000;
JSON
{
  "hex": "#4e2e5f",
  "rgb": {
    "r": 78,
    "g": 46,
    "b": 95
  },
  "hsl": {
    "h": 279.184,
    "s": 34.752,
    "l": 27.647
  },
  "oklch": {
    "l": 0.36319,
    "c": 0.08926,
    "h": 312.8
  },
  "luminance": 0.044
}

Semantic roles & 50–950 ramp

primary
#4E2E5F
secondary
#6C9158
accent
#CB5D83
background
#F7F6F8
surface
#EEEBF0
border
#C9C6CB
text
#0A060C
muted
#7C7A7D

Preview Lab

Preview with #4E2E5F

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

Preview Lab → · Contrast checker → · Palette generator →

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