#4E2B61#4E2B61

#4E2B61 is a dark, moderate violet. Relative luminance 0.042; OKLCH L 35.9% C 0.097 H 312.4°. Best body text is #FFFFFF at 11.40:1 contrast (WCAG AA passes).

Color values

HEX#4E2B61
RGBrgb(78, 43, 97)
HSLhsl(279, 39%, 27%)
HSVhsv(279, 56%, 38%)
CMYKcmyk(19.6%, 55.7%, 0%, 62%)
CIE-LABlab(24.36, 26.93, -25.76)
CIE-LCHlch(24.36, 37.26, 316.27°)
OKLaboklab(35.92% 0.0657 -0.072)
OKLCHoklch(35.92% 0.097 312.4)
XYZxyz(6.1631, 4.2107, 11.7950)
Luminance0.0421 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E2B61 #3E612B
analogous
#332B61 #4E2B61 #612B59
triadic
#4E2B61 #614E2B #2B614E
tetradic
#4E2B61 #61332B #3E612B #2B5961
square
#4E2B61 #61332B #3E612B #2B5961
split-complementary
#4E2B61 #59612B #2B6133
monochromatic
#110915 #2C1837 #4E2B61 #703E8B #9153B3

Accessibility & contrast

On white

11.40
#4E2B61 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.84
#4E2B61 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E2B61
11.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E2B61#FFFFFF#000000##FFFFFF
##4E2B611.0011.401.8411.40
#FFFFFF11.401.0021.001.00
#0000001.8421.001.0021.00
##FFFFFF11.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1D3863
Deuteranopia (green-blind)
#283B60
Tritanopia (blue-blind)
#4C3441
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #4e2b61;
/* rgb */ color: rgb(78, 43, 97);
/* oklch */ color: oklch(35.9% 0.097 312.4);
Tailwind
colors: {
  custom: {
    50: '#81668e',
    500: '#4e2b61',
    950: '#000000',
  },
}
SCSS
$custom: #4e2b61;
$custom-light: #81668e;
$custom-dark: #000000;
JSON
{
  "hex": "#4e2b61",
  "rgb": {
    "r": 78,
    "g": 43,
    "b": 97
  },
  "hsl": {
    "h": 278.889,
    "s": 38.571,
    "l": 27.451
  },
  "oklch": {
    "l": 0.35915,
    "c": 0.09743,
    "h": 312.4
  },
  "luminance": 0.04211
}

Semantic roles & 50–950 ramp

primary
#4E2B61
secondary
#6B9355
accent
#CE5983
background
#F8F6F8
surface
#EFEBF0
border
#CAC6CB
text
#0A060C
muted
#7C7A7D

Preview Lab

Preview with #4E2B61

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

Preview Lab → · Contrast checker → · Palette generator →

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