#4E2E6E#4E2E6E

#4E2E6E is a dark, moderate violet. Relative luminance 0.047; OKLCH L 37.3% C 0.109 H 304.8°. Best body text is #FFFFFF at 10.83:1 contrast (WCAG AA passes).

Color values

HEX#4E2E6E
RGBrgb(78, 46, 110)
HSLhsl(270, 41%, 31%)
HSVhsv(270, 58%, 43%)
CMYKcmyk(29.1%, 58.2%, 0%, 56.9%)
CIE-LABlab(25.86, 28.47, -31.78)
CIE-LCHlch(25.86, 42.67, 311.86°)
OKLaboklab(37.29% 0.0621 -0.0896)
OKLCHoklch(37.29% 0.109 304.8)
XYZxyz(6.9327, 4.6995, 15.2907)
Luminance0.0470 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E2E6E #4E6E2E
analogous
#2E2E6E #4E2E6E #6E2E6E
triadic
#4E2E6E #6E4E2E #2E6E4E
tetradic
#4E2E6E #6E2E2E #4E6E2E #2E6E6E
square
#4E2E6E #6E2E2E #4E6E2E #2E6E6E
split-complementary
#4E2E6E #6E6E2E #2E6E2E
monochromatic
#110A18 #2F1C43 #4E2E6E #6D4099 #8B5CBB

Accessibility & contrast

On white

10.83
#4E2E6E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.94
#4E2E6E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E2E6E
10.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E2E6E#FFFFFF#000000##FFFFFF
##4E2E6E1.0010.831.9410.83
#FFFFFF10.831.0021.001.00
#0000001.9421.001.0021.00
##FFFFFF10.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#173C70
Deuteranopia (green-blind)
#223D6C
Tritanopia (blue-blind)
#483A49
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #4e2e6e;
/* rgb */ color: rgb(78, 46, 110);
/* oklch */ color: oklch(37.3% 0.109 304.8);
Tailwind
colors: {
  custom: {
    50: '#826898',
    500: '#4e2e6e',
    950: '#000000',
  },
}
SCSS
$custom: #4e2e6e;
$custom-light: #826898;
$custom-dark: #000000;
JSON
{
  "hex": "#4e2e6e",
  "rgb": {
    "r": 78,
    "g": 46,
    "b": 110
  },
  "hsl": {
    "h": 270,
    "s": 41.026,
    "l": 30.588
  },
  "oklch": {
    "l": 0.37286,
    "c": 0.10901,
    "h": 304.8
  },
  "luminance": 0.04699
}

Semantic roles & 50–950 ramp

primary
#4E2E6E
secondary
#7C9F58
accent
#D15794
background
#F8F6F9
surface
#EFEBF2
border
#CAC6CC
text
#0B060D
muted
#7C7A7E

Preview Lab

Preview with #4E2E6E

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

Preview Lab → · Contrast checker → · Palette generator →

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