#4E2694#4E2694

#4E2694 is a dark, vivid violet. Relative luminance 0.051; OKLCH L 39.1% C 0.168 H 293.8°. Best body text is #FFFFFF at 10.35:1 contrast (WCAG AA passes).

Color values

HEX#4E2694
RGBrgb(78, 38, 148)
HSLhsl(262, 59%, 36%)
HSVhsv(262, 74%, 58%)
CMYKcmyk(47.3%, 74.3%, 0%, 42%)
CIE-LABlab(27.14, 43.45, -53.59)
CIE-LCHlch(27.14, 68.99, 309.03°)
OKLaboklab(39.13% 0.0676 -0.1536)
OKLCHoklch(39.13% 0.168 293.8)
XYZxyz(9.1788, 5.1438, 28.5205)
Luminance0.0514 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E2694 #6C9426
analogous
#263594 #4E2694 #852694
triadic
#4E2694 #944E26 #26944E
tetradic
#4E2694 #942635 #6C9426 #269485
square
#4E2694 #942635 #6C9426 #269485
split-complementary
#4E2694 #948526 #359426
monochromatic
#1B0D33 #341963 #4E2694 #6833C5 #8A5FD6

Accessibility & contrast

On white

10.35
#4E2694 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.03
#4E2694 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E2694
10.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E2694#FFFFFF#000000##FFFFFF
##4E26941.0010.352.0310.35
#FFFFFF10.351.0021.001.00
#0000002.0321.001.0021.00
##FFFFFF10.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004197
Deuteranopia (green-blind)
#003E92
Tritanopia (blue-blind)
#39435B
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #4e2694;
/* rgb */ color: rgb(78, 38, 148);
/* oklch */ color: oklch(39.1% 0.168 293.8);
Tailwind
colors: {
  custom: {
    50: '#8764b4',
    500: '#4e2694',
    950: '#000000',
  },
}
SCSS
$custom: #4e2694;
$custom-light: #8764b4;
$custom-dark: #000000;
JSON
{
  "hex": "#4e2694",
  "rgb": {
    "r": 78,
    "g": 38,
    "b": 148
  },
  "hsl": {
    "h": 261.818,
    "s": 59.14,
    "l": 36.471
  },
  "oklch": {
    "l": 0.39128,
    "c": 0.1678,
    "h": 293.8
  },
  "luminance": 0.05144
}

Semantic roles & 50–950 ramp

primary
#4E2694
secondary
#98BB5B
accent
#E245A9
background
#F8F6FB
surface
#F0EBF6
border
#CBC6D0
text
#0C0611
muted
#7D7A80

Preview Lab

Preview with #4E2694

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

Preview Lab → · Contrast checker → · Palette generator →

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