#4E2964#4E2964

#4E2964 is a dark, moderate violet. Relative luminance 0.041; OKLCH L 35.8% C 0.105 H 311.2°. Best body text is #FFFFFF at 11.51:1 contrast (WCAG AA passes).

Color values

HEX#4E2964
RGBrgb(78, 41, 100)
HSLhsl(278, 42%, 28%)
HSVhsv(278, 59%, 39%)
CMYKcmyk(22%, 59%, 0%, 60.8%)
CIE-LABlab(24.08, 28.88, -28.15)
CIE-LCHlch(24.08, 40.33, 315.73°)
OKLaboklab(35.77% 0.069 -0.0789)
OKLCHoklch(35.77% 0.105 311.2)
XYZxyz(6.2347, 4.1258, 12.5220)
Luminance0.0413 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E2964 #3F6429
analogous
#302964 #4E2964 #64295C
triadic
#4E2964 #644E29 #29644E
tetradic
#4E2964 #643029 #3F6429 #295C64
square
#4E2964 #643029 #3F6429 #295C64
split-complementary
#4E2964 #5C6429 #296430
monochromatic
#110916 #2C1739 #4E2964 #703B8F #9150B7

Accessibility & contrast

On white

11.51
#4E2964 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4E2964
11.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E2964#FFFFFF#000000##FFFFFF
##4E29641.0011.511.8311.51
#FFFFFF11.511.0021.001.00
#0000001.8321.001.0021.00
##FFFFFF11.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#173766
Deuteranopia (green-blind)
#243A63
Tritanopia (blue-blind)
#4B3342
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #4e2964;
/* rgb */ color: rgb(78, 41, 100);
/* oklch */ color: oklch(35.8% 0.105 311.2);
Tailwind
colors: {
  custom: {
    50: '#816490',
    500: '#4e2964',
    950: '#000000',
  },
}
SCSS
$custom: #4e2964;
$custom-light: #816490;
$custom-dark: #000000;
JSON
{
  "hex": "#4e2964",
  "rgb": {
    "r": 78,
    "g": 41,
    "b": 100
  },
  "hsl": {
    "h": 277.627,
    "s": 41.844,
    "l": 27.647
  },
  "oklch": {
    "l": 0.35773,
    "c": 0.10482,
    "h": 311.2
  },
  "luminance": 0.04126
}

Semantic roles & 50–950 ramp

primary
#4E2964
secondary
#6C9652
accent
#D25684
background
#F8F6F8
surface
#EFEBF0
border
#CAC6CB
text
#0A050C
muted
#7C7A7D

Preview Lab

Preview with #4E2964

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

Preview Lab → · Contrast checker → · Palette generator →

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