#4E2764#4E2764

#4E2764 is a dark, moderate violet. Relative luminance 0.040; OKLCH L 35.4% C 0.108 H 311.6°. Best body text is #FFFFFF at 11.68:1 contrast (WCAG AA passes).

Color values

HEX#4E2764
RGBrgb(78, 39, 100)
HSLhsl(278, 44%, 27%)
HSVhsv(278, 61%, 39%)
CMYKcmyk(22%, 61%, 0%, 60.8%)
CIE-LABlab(23.64, 30.05, -28.85)
CIE-LCHlch(23.64, 41.66, 316.16°)
OKLaboklab(35.45% 0.072 -0.081)
OKLCHoklch(35.45% 0.108 311.6)
XYZxyz(6.1672, 3.9910, 12.4996)
Luminance0.0399 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E2764 #3D6427
analogous
#302764 #4E2764 #64275C
triadic
#4E2764 #644E27 #27644E
tetradic
#4E2764 #643027 #3D6427 #275C64
square
#4E2764 #643027 #3D6427 #275C64
split-complementary
#4E2764 #5C6427 #276430
monochromatic
#110916 #2C1638 #4E2764 #703890 #924CB9

Accessibility & contrast

On white

11.68
#4E2764 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.80
#4E2764 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E2764
11.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E2764#FFFFFF#000000##FFFFFF
##4E27641.0011.681.8011.68
#FFFFFF11.681.0021.001.00
#0000001.8021.001.0021.00
##FFFFFF11.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#143666
Deuteranopia (green-blind)
#223962
Tritanopia (blue-blind)
#4C3241
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #4e2764;
/* rgb */ color: rgb(78, 39, 100);
/* oklch */ color: oklch(35.4% 0.108 311.6);
Tailwind
colors: {
  custom: {
    50: '#826390',
    500: '#4e2764',
    950: '#000000',
  },
}
SCSS
$custom: #4e2764;
$custom-light: #826390;
$custom-dark: #000000;
JSON
{
  "hex": "#4e2764",
  "rgb": {
    "r": 78,
    "g": 39,
    "b": 100
  },
  "hsl": {
    "h": 278.361,
    "s": 43.885,
    "l": 27.255
  },
  "oklch": {
    "l": 0.3545,
    "c": 0.10831,
    "h": 311.6
  },
  "luminance": 0.03991
}

Semantic roles & 50–950 ramp

primary
#4E2764
secondary
#6A9750
accent
#D45482
background
#F8F6F8
surface
#EFEBF0
border
#CAC6CB
text
#0B050C
muted
#7C7A7D

Preview Lab

Preview with #4E2764

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

Preview Lab → · Contrast checker → · Palette generator →

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