#4E2C83#4E2C83

#4E2C83 is a dark, vivid violet. Relative luminance 0.051; OKLCH L 38.5% C 0.139 H 297.4°. Best body text is #FFFFFF at 10.44:1 contrast (WCAG AA passes).

Color values

HEX#4E2C83
RGBrgb(78, 44, 131)
HSLhsl(263, 50%, 34%)
HSVhsv(263, 66%, 51%)
CMYKcmyk(40.5%, 66.4%, 0%, 48.6%)
CIE-LABlab(26.90, 35.45, -43.42)
CIE-LCHlch(26.90, 56.05, 309.23°)
OKLaboklab(38.52% 0.0641 -0.1237)
OKLCHoklch(38.52% 0.139 297.4)
XYZxyz(8.1383, 5.0596, 22.0162)
Luminance0.0506 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E2C83 #61832C
analogous
#2C3683 #4E2C83 #7A2C83
triadic
#4E2C83 #834E2C #2C834E
tetradic
#4E2C83 #832C36 #61832C #2C837A
square
#4E2C83 #832C36 #61832C #2C837A
split-complementary
#4E2C83 #837A2C #36832C
monochromatic
#170D27 #331D55 #4E2C83 #693BB1 #8960CA

Accessibility & contrast

On white

10.44
#4E2C83 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.01
#4E2C83 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E2C83
10.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E2C83#FFFFFF#000000##FFFFFF
##4E2C831.0010.442.0110.44
#FFFFFF10.441.0021.001.00
#0000002.0121.001.0021.00
##FFFFFF10.441.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: #4e2c83;
/* rgb */ color: rgb(78, 44, 131);
/* oklch */ color: oklch(38.5% 0.139 297.4);
Tailwind
colors: {
  custom: {
    50: '#8467a8',
    500: '#4e2c83',
    950: '#000000',
  },
}
SCSS
$custom: #4e2c83;
$custom-light: #8467a8;
$custom-dark: #000000;
JSON
{
  "hex": "#4e2c83",
  "rgb": {
    "r": 78,
    "g": 44,
    "b": 131
  },
  "hsl": {
    "h": 263.448,
    "s": 49.714,
    "l": 34.314
  },
  "oklch": {
    "l": 0.38521,
    "c": 0.13935,
    "h": 297.4
  },
  "luminance": 0.0506
}

Semantic roles & 50–950 ramp

primary
#4E2C83
secondary
#8FB05B
accent
#D94FA3
background
#F8F6FA
surface
#EFEBF4
border
#CAC6CE
text
#0B0610
muted
#7C7A7F

Preview Lab

Preview with #4E2C83

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

Preview Lab → · Contrast checker → · Palette generator →

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