#4E2E94#4E2E94

#4E2E94 is a dark, vivid violet. Relative luminance 0.057; OKLCH L 40.2% C 0.158 H 292.2°. Best body text is #FFFFFF at 9.80:1 contrast (WCAG AA passes).

Color values

HEX#4E2E94
RGBrgb(78, 46, 148)
HSLhsl(259, 53%, 38%)
HSVhsv(259, 69%, 58%)
CMYKcmyk(47.3%, 68.9%, 0%, 42%)
CIE-LABlab(28.67, 39.18, -51.09)
CIE-LCHlch(28.67, 64.38, 307.49°)
OKLaboklab(40.22% 0.0597 -0.1463)
OKLCHoklch(40.22% 0.158 292.2)
XYZxyz(9.4627, 5.7115, 28.6151)
Luminance0.0571 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E2E94 #74942E
analogous
#2E4194 #4E2E94 #812E94
triadic
#4E2E94 #944E2E #2E944E
tetradic
#4E2E94 #942E41 #74942E #2E9481
square
#4E2E94 #942E41 #74942E #2E9481
split-complementary
#4E2E94 #94812E #41942E
monochromatic
#1D1137 #351F65 #4E2E94 #673DC3 #8B6BD1

Accessibility & contrast

On white

9.80
#4E2E94 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.14
#4E2E94 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E2E94
9.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E2E94#FFFFFF#000000##FFFFFF
##4E2E941.009.802.149.80
#FFFFFF9.801.0021.001.00
#0000002.1421.001.0021.00
##FFFFFF9.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004597
Deuteranopia (green-blind)
#004292
Tritanopia (blue-blind)
#39475D
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #4e2e94;
/* rgb */ color: rgb(78, 46, 148);
/* oklch */ color: oklch(40.2% 0.158 292.2);
Tailwind
colors: {
  custom: {
    50: '#8669b4',
    500: '#4e2e94',
    950: '#000000',
  },
}
SCSS
$custom: #4e2e94;
$custom-light: #8669b4;
$custom-dark: #000000;
JSON
{
  "hex": "#4e2e94",
  "rgb": {
    "r": 78,
    "g": 46,
    "b": 148
  },
  "hsl": {
    "h": 258.824,
    "s": 52.577,
    "l": 38.039
  },
  "oklch": {
    "l": 0.40219,
    "c": 0.15798,
    "h": 292.2
  },
  "luminance": 0.05712
}

Semantic roles & 50–950 ramp

primary
#4E2E94
secondary
#9EB866
accent
#DC4CAF
background
#F8F6FB
surface
#F0EBF6
border
#CBC6D0
text
#0C0611
muted
#7D7A80

Preview Lab

Preview with #4E2E94

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

Preview Lab → · Contrast checker → · Palette generator →

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