#4E2F5F#4E2F5F

#4E2F5F is a dark, moderate violet. Relative luminance 0.045; OKLCH L 36.5% C 0.087 H 312.6°. Best body text is #FFFFFF at 11.08:1 contrast (WCAG AA passes).

Color values

HEX#4E2F5F
RGBrgb(78, 47, 95)
HSLhsl(279, 34%, 28%)
HSVhsv(279, 51%, 37%)
CMYKcmyk(17.9%, 50.5%, 0%, 62.7%)
CIE-LABlab(25.20, 23.96, -23.13)
CIE-LCHlch(25.20, 33.30, 316.01°)
OKLaboklab(36.5% 0.0591 -0.0643)
OKLCHoklch(36.5% 0.087 312.6)
XYZxyz(6.2236, 4.4791, 11.3610)
Luminance0.0448 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E2F5F #405F2F
analogous
#362F5F #4E2F5F #5F2F58
triadic
#4E2F5F #5F4E2F #2F5F4E
tetradic
#4E2F5F #5F362F #405F2F #2F585F
square
#4E2F5F #5F362F #405F2F #2F585F
split-complementary
#4E2F5F #585F2F #2F5F36
monochromatic
#110A14 #2C1B36 #4E2F5F #704388 #905BAE

Accessibility & contrast

On white

11.08
#4E2F5F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.90
#4E2F5F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E2F5F
11.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E2F5F#FFFFFF#000000##FFFFFF
##4E2F5F1.0011.081.9011.08
#FFFFFF11.081.0021.001.00
#0000001.9021.001.0021.00
##FFFFFF11.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#253A61
Deuteranopia (green-blind)
#2D3C5E
Tritanopia (blue-blind)
#4C3642
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #4e2f5f;
/* rgb */ color: rgb(78, 47, 95);
/* oklch */ color: oklch(36.5% 0.087 312.6);
Tailwind
colors: {
  custom: {
    50: '#81688c',
    500: '#4e2f5f',
    950: '#000000',
  },
}
SCSS
$custom: #4e2f5f;
$custom-light: #81688c;
$custom-dark: #000000;
JSON
{
  "hex": "#4e2f5f",
  "rgb": {
    "r": 78,
    "g": 47,
    "b": 95
  },
  "hsl": {
    "h": 278.75,
    "s": 33.803,
    "l": 27.843
  },
  "oklch": {
    "l": 0.365,
    "c": 0.08735,
    "h": 312.6
  },
  "luminance": 0.04479
}

Semantic roles & 50–950 ramp

primary
#4E2F5F
secondary
#6D9159
accent
#CA5E84
background
#F7F6F8
surface
#EEEBF0
border
#C9C6CB
text
#0A060C
muted
#7C7A7D

Preview Lab

Preview with #4E2F5F

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

Preview Lab → · Contrast checker → · Palette generator →

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