#4E2183#4E2183

#4E2183 is a dark, vivid violet. Relative luminance 0.043; OKLCH L 37.0% C 0.154 H 299.7°. Best body text is #FFFFFF at 11.23:1 contrast (WCAG AA passes).

Color values

HEX#4E2183
RGBrgb(78, 33, 131)
HSLhsl(268, 60%, 32%)
HSVhsv(268, 75%, 51%)
CMYKcmyk(40.5%, 74.8%, 0%, 48.6%)
CIE-LABlab(24.78, 41.32, -46.86)
CIE-LCHlch(24.78, 62.47, 311.40°)
OKLaboklab(37% 0.0763 -0.1338)
OKLCHoklch(37% 0.154 299.7)
XYZxyz(7.7815, 4.3460, 21.8972)
Luminance0.0435 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E2183 #568321
analogous
#212583 #4E2183 #7F2183
triadic
#4E2183 #834E21 #21834E
tetradic
#4E2183 #832125 #568321 #21837F
square
#4E2183 #832125 #568321 #21837F
split-complementary
#4E2183 #837F21 #258321
monochromatic
#140821 #311552 #4E2183 #6B2DB4 #8A4CD2

Accessibility & contrast

On white

11.23
#4E2183 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.87
#4E2183 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E2183
11.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E2183#FFFFFF#000000##FFFFFF
##4E21831.0011.231.8711.23
#FFFFFF11.231.0021.001.00
#0000001.8721.001.0021.00
##FFFFFF11.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003B86
Deuteranopia (green-blind)
#003A81
Tritanopia (blue-blind)
#423A50
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #4e2183;
/* rgb */ color: rgb(78, 33, 131);
/* oklch */ color: oklch(37.0% 0.154 299.7);
Tailwind
colors: {
  custom: {
    50: '#8561a8',
    500: '#4e2183',
    950: '#000000',
  },
}
SCSS
$custom: #4e2183;
$custom-light: #8561a8;
$custom-dark: #000000;
JSON
{
  "hex": "#4e2183",
  "rgb": {
    "r": 78,
    "g": 33,
    "b": 131
  },
  "hsl": {
    "h": 267.551,
    "s": 59.756,
    "l": 32.157
  },
  "oklch": {
    "l": 0.37005,
    "c": 0.15403,
    "h": 299.7
  },
  "luminance": 0.04346
}

Semantic roles & 50–950 ramp

primary
#4E2183
secondary
#84B54B
accent
#E3459A
background
#F8F5FA
surface
#F0EAF4
border
#CBC6CE
text
#0B0510
muted
#7C797F

Preview Lab

Preview with #4E2183

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

Preview Lab → · Contrast checker → · Palette generator →

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