#4E2961#4E2961

#4E2961 is a dark, moderate violet. Relative luminance 0.041; OKLCH L 35.6% C 0.101 H 312.9°. Best body text is #FFFFFF at 11.58:1 contrast (WCAG AA passes).

Color values

HEX#4E2961
RGBrgb(78, 41, 97)
HSLhsl(280, 41%, 27%)
HSVhsv(280, 58%, 38%)
CMYKcmyk(19.6%, 57.7%, 0%, 62%)
CIE-LABlab(23.90, 28.13, -26.49)
CIE-LCHlch(23.90, 38.64, 316.72°)
OKLaboklab(35.58% 0.0688 -0.0741)
OKLCHoklch(35.58% 0.101 312.9)
XYZxyz(6.0921, 4.0688, 11.7714)
Luminance0.0407 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E2961 #3C6129
analogous
#322961 #4E2961 #612958
triadic
#4E2961 #614E29 #29614E
tetradic
#4E2961 #613229 #3C6129 #295861
square
#4E2961 #613229 #3C6129 #295861
split-complementary
#4E2961 #586129 #296132
monochromatic
#110916 #2B1736 #4E2961 #713B8C #9250B5

Accessibility & contrast

On white

11.58
#4E2961 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.81
#4E2961 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E2961
11.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E2961#FFFFFF#000000##FFFFFF
##4E29611.0011.581.8111.58
#FFFFFF11.581.0021.001.00
#0000001.8121.001.0021.00
##FFFFFF11.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1A3763
Deuteranopia (green-blind)
#263A60
Tritanopia (blue-blind)
#4C3240
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #4e2961;
/* rgb */ color: rgb(78, 41, 97);
/* oklch */ color: oklch(35.6% 0.101 312.9);
Tailwind
colors: {
  custom: {
    50: '#81648e',
    500: '#4e2961',
    950: '#000000',
  },
}
SCSS
$custom: #4e2961;
$custom-light: #81648e;
$custom-dark: #000000;
JSON
{
  "hex": "#4e2961",
  "rgb": {
    "r": 78,
    "g": 41,
    "b": 97
  },
  "hsl": {
    "h": 279.643,
    "s": 40.58,
    "l": 27.059
  },
  "oklch": {
    "l": 0.35577,
    "c": 0.10107,
    "h": 312.9
  },
  "luminance": 0.04069
}

Semantic roles & 50–950 ramp

primary
#4E2961
secondary
#689452
accent
#D05780
background
#F8F6F8
surface
#EFEBF0
border
#CAC6CB
text
#0A050C
muted
#7C7A7D

Preview Lab

Preview with #4E2961

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

Preview Lab → · Contrast checker → · Palette generator →

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