#4E2763#4E2763

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

Color values

HEX#4E2763
RGBrgb(78, 39, 99)
HSLhsl(279, 43%, 27%)
HSVhsv(279, 61%, 39%)
CMYKcmyk(21.2%, 60.6%, 0%, 61.2%)
CIE-LABlab(23.58, 29.80, -28.30)
CIE-LCHlch(23.58, 41.10, 316.48°)
OKLaboklab(35.38% 0.0719 -0.0793)
OKLCHoklch(35.38% 0.107 312.2)
XYZxyz(6.1191, 3.9717, 12.2462)
Luminance0.0397 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E2763 #3C6327
analogous
#302763 #4E2763 #63275A
triadic
#4E2763 #634E27 #27634E
tetradic
#4E2763 #633027 #3C6327 #275A63
square
#4E2763 #633027 #3C6327 #275A63
split-complementary
#4E2763 #5A6327 #276330
monochromatic
#110916 #2B1637 #4E2763 #71388F #924CB8

Accessibility & contrast

On white

11.70
#4E2763 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.79
#4E2763 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E2763
11.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E2763#FFFFFF#000000##FFFFFF
##4E27631.0011.701.7911.70
#FFFFFF11.701.0021.001.00
#0000001.7921.001.0021.00
##FFFFFF11.701.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #4e2763;
/* rgb */ color: rgb(78, 39, 99);
/* oklch */ color: oklch(35.4% 0.107 312.2);
Tailwind
colors: {
  custom: {
    50: '#816390',
    500: '#4e2763',
    950: '#000000',
  },
}
SCSS
$custom: #4e2763;
$custom-light: #816390;
$custom-dark: #000000;
JSON
{
  "hex": "#4e2763",
  "rgb": {
    "r": 78,
    "g": 39,
    "b": 99
  },
  "hsl": {
    "h": 279,
    "s": 43.478,
    "l": 27.059
  },
  "oklch": {
    "l": 0.35382,
    "c": 0.10708,
    "h": 312.2
  },
  "luminance": 0.03972
}

Semantic roles & 50–950 ramp

primary
#4E2763
secondary
#689650
accent
#D35581
background
#F8F6F8
surface
#EFEBF0
border
#CAC6CB
text
#0A050C
muted
#7C7A7D

Preview Lab

Preview with #4E2763

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

Preview Lab → · Contrast checker → · Palette generator →

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