#4E2288#4E2288

#4E2288 is a dark, vivid violet. Relative luminance 0.045; OKLCH L 37.6% C 0.159 H 297.9°. Best body text is #FFFFFF at 11.01:1 contrast (WCAG AA passes).

Color values

HEX#4E2288
RGBrgb(78, 34, 136)
HSLhsl(266, 60%, 33%)
HSVhsv(266, 75%, 53%)
CMYKcmyk(42.6%, 75%, 0%, 46.7%)
CIE-LABlab(25.39, 42.16, -49.01)
CIE-LCHlch(25.39, 64.65, 310.70°)
OKLaboklab(37.56% 0.0742 -0.1401)
OKLCHoklch(37.56% 0.159 297.9)
XYZxyz(8.1567, 4.5412, 23.7346)
Luminance0.0454 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E2288 #5C8822
analogous
#222988 #4E2288 #812288
triadic
#4E2288 #884E22 #22884E
tetradic
#4E2288 #882229 #5C8822 #228881
square
#4E2288 #882229 #5C8822 #228881
split-complementary
#4E2288 #888122 #298822
monochromatic
#160A26 #321657 #4E2288 #6A2EB9 #8951D3

Accessibility & contrast

On white

11.01
#4E2288 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4E2288
11.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E2288#FFFFFF#000000##FFFFFF
##4E22881.0011.011.9111.01
#FFFFFF11.011.0021.001.00
#0000001.9121.001.0021.00
##FFFFFF11.011.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #4e2288;
/* rgb */ color: rgb(78, 34, 136);
/* oklch */ color: oklch(37.6% 0.159 297.9);
Tailwind
colors: {
  custom: {
    50: '#8561ac',
    500: '#4e2288',
    950: '#000000',
  },
}
SCSS
$custom: #4e2288;
$custom-light: #8561ac;
$custom-dark: #000000;
JSON
{
  "hex": "#4e2288",
  "rgb": {
    "r": 78,
    "g": 34,
    "b": 136
  },
  "hsl": {
    "h": 265.882,
    "s": 60,
    "l": 33.333
  },
  "oklch": {
    "l": 0.37563,
    "c": 0.15855,
    "h": 297.9
  },
  "luminance": 0.04541
}

Semantic roles & 50–950 ramp

primary
#4E2288
secondary
#8AB74F
accent
#E3459F
background
#F8F5FA
surface
#F0EAF4
border
#CBC6CE
text
#0C0510
muted
#7D797F

Preview Lab

Preview with #4E2288

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

Preview Lab → · Contrast checker → · Palette generator →

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