#4E2289#4E2289

#4E2289 is a dark, vivid violet. Relative luminance 0.046; OKLCH L 37.7% C 0.160 H 297.6°. Best body text is #FFFFFF at 10.97:1 contrast (WCAG AA passes).

Color values

HEX#4E2289
RGBrgb(78, 34, 137)
HSLhsl(266, 60%, 34%)
HSVhsv(266, 75%, 54%)
CMYKcmyk(43.1%, 75.2%, 0%, 46.3%)
CIE-LABlab(25.47, 42.43, -49.49)
CIE-LCHlch(25.47, 65.19, 310.60°)
OKLaboklab(37.65% 0.074 -0.1415)
OKLCHoklch(37.65% 0.16 297.6)
XYZxyz(8.2281, 4.5698, 24.1106)
Luminance0.0457 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E2289 #5D8922
analogous
#222989 #4E2289 #812289
triadic
#4E2289 #894E22 #22894E
tetradic
#4E2289 #892229 #5D8922 #228981
square
#4E2289 #892229 #5D8922 #228981
split-complementary
#4E2289 #898122 #298922
monochromatic
#160A27 #321658 #4E2289 #6A2EBA #8951D4

Accessibility & contrast

On white

10.97
#4E2289 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.91
#4E2289 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E2289
10.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E2289#FFFFFF#000000##FFFFFF
##4E22891.0010.971.9110.97
#FFFFFF10.971.0021.001.00
#0000001.9121.001.0021.00
##FFFFFF10.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003D8C
Deuteranopia (green-blind)
#003B87
Tritanopia (blue-blind)
#3F3C53
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #4e2289;
/* rgb */ color: rgb(78, 34, 137);
/* oklch */ color: oklch(37.7% 0.160 297.6);
Tailwind
colors: {
  custom: {
    50: '#8562ac',
    500: '#4e2289',
    950: '#000000',
  },
}
SCSS
$custom: #4e2289;
$custom-light: #8562ac;
$custom-dark: #000000;
JSON
{
  "hex": "#4e2289",
  "rgb": {
    "r": 78,
    "g": 34,
    "b": 137
  },
  "hsl": {
    "h": 265.631,
    "s": 60.234,
    "l": 33.529
  },
  "oklch": {
    "l": 0.37651,
    "c": 0.1597,
    "h": 297.6
  },
  "luminance": 0.0457
}

Semantic roles & 50–950 ramp

primary
#4E2289
secondary
#8BB84F
accent
#E3449F
background
#F8F5FA
surface
#F0EAF4
border
#CBC6CE
text
#0C0510
muted
#7D797F

Preview Lab

Preview with #4E2289

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

Preview Lab → · Contrast checker → · Palette generator →

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