#4E2676#4E2676

#4E2676 is a dark, vivid violet. Relative luminance 0.043; OKLCH L 36.6% C 0.132 H 303.5°. Best body text is #FFFFFF at 11.27:1 contrast (WCAG AA passes).

Color values

HEX#4E2676
RGBrgb(78, 38, 118)
HSLhsl(270, 51%, 31%)
HSVhsv(270, 68%, 46%)
CMYKcmyk(33.9%, 67.8%, 0%, 53.7%)
CIE-LABlab(24.68, 35.26, -38.79)
CIE-LCHlch(24.68, 52.42, 312.27°)
OKLaboklab(36.61% 0.0727 -0.1101)
OKLCHoklch(36.61% 0.132 303.5)
XYZxyz(7.1043, 4.3139, 17.5944)
Luminance0.0431 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E2676 #4E7626
analogous
#262676 #4E2676 #762676
triadic
#4E2676 #764E26 #26764E
tetradic
#4E2676 #762626 #4E7626 #267676
square
#4E2676 #762626 #4E7626 #267676
split-complementary
#4E2676 #767626 #267626
monochromatic
#110819 #2F1748 #4E2676 #6D35A4 #8B50C7

Accessibility & contrast

On white

11.27
#4E2676 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.86
#4E2676 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E2676
11.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E2676#FFFFFF#000000##FFFFFF
##4E26761.0011.271.8611.27
#FFFFFF11.271.0021.001.00
#0000001.8621.001.0021.00
##FFFFFF11.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003A78
Deuteranopia (green-blind)
#0B3A74
Tritanopia (blue-blind)
#46374A
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #4e2676;
/* rgb */ color: rgb(78, 38, 118);
/* oklch */ color: oklch(36.6% 0.132 303.5);
Tailwind
colors: {
  custom: {
    50: '#83639e',
    500: '#4e2676',
    950: '#000000',
  },
}
SCSS
$custom: #4e2676;
$custom-light: #83639e;
$custom-dark: #000000;
JSON
{
  "hex": "#4e2676",
  "rgb": {
    "r": 78,
    "g": 38,
    "b": 118
  },
  "hsl": {
    "h": 270,
    "s": 51.282,
    "l": 30.588
  },
  "oklch": {
    "l": 0.36607,
    "c": 0.13196,
    "h": 303.5
  },
  "luminance": 0.04314
}

Semantic roles & 50–950 ramp

primary
#4E2676
secondary
#7CA84F
accent
#DB4D94
background
#F8F6F9
surface
#EFEBF2
border
#CAC6CC
text
#0B050E
muted
#7C7A7E

Preview Lab

Preview with #4E2676

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

Preview Lab → · Contrast checker → · Palette generator →

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