#4E2283#4E2283

#4E2283 is a dark, vivid violet. Relative luminance 0.044; OKLCH L 37.1% C 0.153 H 299.5°. Best body text is #FFFFFF at 11.17:1 contrast (WCAG AA passes).

Color values

HEX#4E2283
RGBrgb(78, 34, 131)
HSLhsl(267, 59%, 32%)
HSVhsv(267, 74%, 51%)
CMYKcmyk(40.5%, 74%, 0%, 48.6%)
CIE-LABlab(24.96, 40.82, -46.57)
CIE-LCHlch(24.96, 61.93, 311.23°)
OKLaboklab(37.13% 0.0753 -0.133)
OKLCHoklch(37.13% 0.153 299.5)
XYZxyz(7.8096, 4.4024, 21.9066)
Luminance0.0440 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E2283 #578322
analogous
#222783 #4E2283 #7E2283
triadic
#4E2283 #834E22 #22834E
tetradic
#4E2283 #832227 #578322 #22837E
square
#4E2283 #832227 #578322 #22837E
split-complementary
#4E2283 #837E22 #278322
monochromatic
#140922 #311552 #4E2283 #6B2FB4 #8A4ED1

Accessibility & contrast

On white

11.17
#4E2283 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.88
#4E2283 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E2283
11.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E2283#FFFFFF#000000##FFFFFF
##4E22831.0011.171.8811.17
#FFFFFF11.171.0021.001.00
#0000001.8821.001.0021.00
##FFFFFF11.171.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: #4e2283;
/* rgb */ color: rgb(78, 34, 131);
/* oklch */ color: oklch(37.1% 0.153 299.5);
Tailwind
colors: {
  custom: {
    50: '#8561a8',
    500: '#4e2283',
    950: '#000000',
  },
}
SCSS
$custom: #4e2283;
$custom-light: #8561a8;
$custom-dark: #000000;
JSON
{
  "hex": "#4e2283",
  "rgb": {
    "r": 78,
    "g": 34,
    "b": 131
  },
  "hsl": {
    "h": 267.216,
    "s": 58.788,
    "l": 32.353
  },
  "oklch": {
    "l": 0.37129,
    "c": 0.1528,
    "h": 299.5
  },
  "luminance": 0.04402
}

Semantic roles & 50–950 ramp

primary
#4E2283
secondary
#85B44C
accent
#E2469B
background
#F8F5FA
surface
#F0EAF4
border
#CBC6CE
text
#0B0510
muted
#7C797F

Preview Lab

Preview with #4E2283

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

Preview Lab → · Contrast checker → · Palette generator →

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