#4E2966#4E2966

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

Color values

HEX#4E2966
RGBrgb(78, 41, 102)
HSLhsl(276, 43%, 28%)
HSVhsv(276, 60%, 40%)
CMYKcmyk(23.5%, 59.8%, 0%, 60%)
CIE-LABlab(24.21, 29.38, -29.25)
CIE-LCHlch(24.21, 41.46, 315.13°)
OKLaboklab(35.91% 0.0691 -0.0821)
OKLCHoklch(35.91% 0.107 310.1)
XYZxyz(6.3326, 4.1650, 13.0381)
Luminance0.0416 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E2966 #416629
analogous
#2F2966 #4E2966 #66295F
triadic
#4E2966 #664E29 #29664E
tetradic
#4E2966 #662F29 #416629 #295F66
square
#4E2966 #662F29 #416629 #295F66
split-complementary
#4E2966 #5F6629 #29662F
monochromatic
#110916 #2D173A #4E2966 #6F3B92 #9051B9

Accessibility & contrast

On white

11.46
#4E2966 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.83
#4E2966 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E2966
11.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E2966#FFFFFF#000000##FFFFFF
##4E29661.0011.461.8311.46
#FFFFFF11.461.0021.001.00
#0000001.8321.001.0021.00
##FFFFFF11.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#153868
Deuteranopia (green-blind)
#233A65
Tritanopia (blue-blind)
#4B3443
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #4e2966;
/* rgb */ color: rgb(78, 41, 102);
/* oklch */ color: oklch(35.9% 0.107 310.1);
Tailwind
colors: {
  custom: {
    50: '#826492',
    500: '#4e2966',
    950: '#000000',
  },
}
SCSS
$custom: #4e2966;
$custom-light: #826492;
$custom-dark: #000000;
JSON
{
  "hex": "#4e2966",
  "rgb": {
    "r": 78,
    "g": 41,
    "b": 102
  },
  "hsl": {
    "h": 276.393,
    "s": 42.657,
    "l": 28.039
  },
  "oklch": {
    "l": 0.35907,
    "c": 0.10733,
    "h": 310.1
  },
  "luminance": 0.04165
}

Semantic roles & 50–950 ramp

primary
#4E2966
secondary
#6E9852
accent
#D25587
background
#F8F6F9
surface
#EFEBF1
border
#CAC6CB
text
#0B050D
muted
#7C7A7E

Preview Lab

Preview with #4E2966

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

Preview Lab → · Contrast checker → · Palette generator →

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