#4E2E67#4E2E67

#4E2E67 is a dark, moderate violet. Relative luminance 0.046; OKLCH L 36.8% C 0.100 H 308.2°. Best body text is #FFFFFF at 10.99:1 contrast (WCAG AA passes).

Color values

HEX#4E2E67
RGBrgb(78, 46, 103)
HSLhsl(274, 38%, 29%)
HSVhsv(274, 55%, 40%)
CMYKcmyk(24.3%, 55.3%, 0%, 59.6%)
CIE-LABlab(25.42, 26.63, -27.97)
CIE-LCHlch(25.42, 38.62, 313.59°)
OKLaboklab(36.82% 0.0617 -0.0784)
OKLCHoklch(36.82% 0.1 308.2)
XYZxyz(6.5666, 4.5530, 13.3622)
Luminance0.0455 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E2E67 #47672E
analogous
#322E67 #4E2E67 #672E64
triadic
#4E2E67 #674E2E #2E674E
tetradic
#4E2E67 #67322E #47672E #2E6467
square
#4E2E67 #67322E #47672E #2E6467
split-complementary
#4E2E67 #64672E #2E6732
monochromatic
#100915 #2E1B3D #4E2E67 #6E4191 #8D5AB5

Accessibility & contrast

On white

10.99
#4E2E67 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.91
#4E2E67 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E2E67
10.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E2E67#FFFFFF#000000##FFFFFF
##4E2E671.0010.991.9110.99
#FFFFFF10.991.0021.001.00
#0000001.9121.001.0021.00
##FFFFFF10.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1D3B69
Deuteranopia (green-blind)
#273D66
Tritanopia (blue-blind)
#4A3846
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #4e2e67;
/* rgb */ color: rgb(78, 46, 103);
/* oklch */ color: oklch(36.8% 0.100 308.2);
Tailwind
colors: {
  custom: {
    50: '#816893',
    500: '#4e2e67',
    950: '#000000',
  },
}
SCSS
$custom: #4e2e67;
$custom-light: #816893;
$custom-dark: #000000;
JSON
{
  "hex": "#4e2e67",
  "rgb": {
    "r": 78,
    "g": 46,
    "b": 103
  },
  "hsl": {
    "h": 273.684,
    "s": 38.255,
    "l": 29.216
  },
  "oklch": {
    "l": 0.3682,
    "c": 0.09976,
    "h": 308.2
  },
  "luminance": 0.04553
}

Semantic roles & 50–950 ramp

primary
#4E2E67
secondary
#749958
accent
#CE5A8D
background
#F8F6F9
surface
#EFEBF1
border
#CAC6CB
text
#0A060D
muted
#7C7A7E

Preview Lab

Preview with #4E2E67

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

Preview Lab → · Contrast checker → · Palette generator →

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