#4E2E6A#4E2E6A

#4E2E6A is a dark, moderate violet. Relative luminance 0.046; OKLCH L 37.0% C 0.104 H 306.6°. Best body text is #FFFFFF at 10.92:1 contrast (WCAG AA passes).

Color values

HEX#4E2E6A
RGBrgb(78, 46, 106)
HSLhsl(272, 39%, 30%)
HSVhsv(272, 57%, 42%)
CMYKcmyk(26.4%, 56.6%, 0%, 58.4%)
CIE-LABlab(25.61, 27.41, -29.62)
CIE-LCHlch(25.61, 40.35, 312.79°)
OKLaboklab(37.02% 0.0619 -0.0832)
OKLCHoklch(37.02% 0.104 306.6)
XYZxyz(6.7199, 4.6144, 14.1695)
Luminance0.0461 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E2E6A #4A6A2E
analogous
#302E6A #4E2E6A #6A2E68
triadic
#4E2E6A #6A4E2E #2E6A4E
tetradic
#4E2E6A #6A302E #4A6A2E #2E686A
square
#4E2E6A #6A302E #4A6A2E #2E686A
split-complementary
#4E2E6A #686A2E #2E6A30
monochromatic
#100915 #2F1B3F #4E2E6A #6D4195 #8C5BB8

Accessibility & contrast

On white

10.92
#4E2E6A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.92
#4E2E6A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E2E6A
10.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E2E6A#FFFFFF#000000##FFFFFF
##4E2E6A1.0010.921.9210.92
#FFFFFF10.921.0021.001.00
#0000001.9221.001.0021.00
##FFFFFF10.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1B3C6C
Deuteranopia (green-blind)
#253D69
Tritanopia (blue-blind)
#4A3947
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #4e2e6a;
/* rgb */ color: rgb(78, 46, 106);
/* oklch */ color: oklch(37.0% 0.104 306.6);
Tailwind
colors: {
  custom: {
    50: '#816895',
    500: '#4e2e6a',
    950: '#000000',
  },
}
SCSS
$custom: #4e2e6a;
$custom-light: #816895;
$custom-dark: #000000;
JSON
{
  "hex": "#4e2e6a",
  "rgb": {
    "r": 78,
    "g": 46,
    "b": 106
  },
  "hsl": {
    "h": 272,
    "s": 39.474,
    "l": 29.804
  },
  "oklch": {
    "l": 0.37016,
    "c": 0.10372,
    "h": 306.6
  },
  "luminance": 0.04614
}

Semantic roles & 50–950 ramp

primary
#4E2E6A
secondary
#789C58
accent
#CF5890
background
#F8F6F9
surface
#EFEBF1
border
#CAC6CB
text
#0A060D
muted
#7C7A7E

Preview Lab

Preview with #4E2E6A

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

Preview Lab → · Contrast checker → · Palette generator →

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