#4E2D83#4E2D83

#4E2D83 is a dark, vivid violet. Relative luminance 0.051; OKLCH L 38.7% C 0.138 H 297.1°. Best body text is #FFFFFF at 10.36:1 contrast (WCAG AA passes).

Color values

HEX#4E2D83
RGBrgb(78, 45, 131)
HSLhsl(263, 49%, 35%)
HSVhsv(263, 66%, 51%)
CMYKcmyk(40.5%, 65.6%, 0%, 48.6%)
CIE-LABlab(27.12, 34.87, -43.07)
CIE-LCHlch(27.12, 55.42, 309.00°)
OKLaboklab(38.67% 0.0629 -0.1227)
OKLCHoklch(38.67% 0.138 297.1)
XYZxyz(8.1760, 5.1350, 22.0287)
Luminance0.0513 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E2D83 #62832D
analogous
#2D3783 #4E2D83 #792D83
triadic
#4E2D83 #834E2D #2D834E
tetradic
#4E2D83 #832D37 #62832D #2D8379
square
#4E2D83 #832D37 #62832D #2D8379
split-complementary
#4E2D83 #83792D #37832D
monochromatic
#180E28 #331D55 #4E2D83 #693DB1 #8962C9

Accessibility & contrast

On white

10.36
#4E2D83 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.03
#4E2D83 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E2D83
10.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E2D83#FFFFFF#000000##FFFFFF
##4E2D831.0010.362.0310.36
#FFFFFF10.361.0021.001.00
#0000002.0321.001.0021.00
##FFFFFF10.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004086
Deuteranopia (green-blind)
#003F81
Tritanopia (blue-blind)
#414053
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #4e2d83;
/* rgb */ color: rgb(78, 45, 131);
/* oklch */ color: oklch(38.7% 0.138 297.1);
Tailwind
colors: {
  custom: {
    50: '#8468a8',
    500: '#4e2d83',
    950: '#000000',
  },
}
SCSS
$custom: #4e2d83;
$custom-light: #8468a8;
$custom-dark: #000000;
JSON
{
  "hex": "#4e2d83",
  "rgb": {
    "r": 78,
    "g": 45,
    "b": 131
  },
  "hsl": {
    "h": 263.023,
    "s": 48.864,
    "l": 34.51
  },
  "oklch": {
    "l": 0.38674,
    "c": 0.1379,
    "h": 297.1
  },
  "luminance": 0.05135
}

Semantic roles & 50–950 ramp

primary
#4E2D83
secondary
#90AF5C
accent
#D84FA4
background
#F8F6FA
surface
#EFEBF4
border
#CAC6CE
text
#0B0610
muted
#7C7A7F

Preview Lab

Preview with #4E2D83

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

Preview Lab → · Contrast checker → · Palette generator →

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