#4E2E83#4E2E83

#4E2E83 is a dark, vivid violet. Relative luminance 0.052; OKLCH L 38.8% C 0.136 H 296.9°. Best body text is #FFFFFF at 10.28:1 contrast (WCAG AA passes).

Color values

HEX#4E2E83
RGBrgb(78, 46, 131)
HSLhsl(263, 48%, 35%)
HSVhsv(263, 65%, 51%)
CMYKcmyk(40.5%, 64.9%, 0%, 48.6%)
CIE-LABlab(27.33, 34.29, -42.72)
CIE-LCHlch(27.33, 54.79, 308.75°)
OKLaboklab(38.83% 0.0617 -0.1217)
OKLCHoklch(38.83% 0.136 296.9)
XYZxyz(8.2146, 5.2122, 22.0416)
Luminance0.0521 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E2E83 #63832E
analogous
#2E3983 #4E2E83 #792E83
triadic
#4E2E83 #834E2E #2E834E
tetradic
#4E2E83 #832E39 #63832E #2E8379
square
#4E2E83 #832E39 #63832E #2E8379
split-complementary
#4E2E83 #83792E #39832E
monochromatic
#180E28 #331E56 #4E2E83 #693EB0 #8963C8

Accessibility & contrast

On white

10.28
#4E2E83 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.04
#4E2E83 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E2E83
10.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E2E83#FFFFFF#000000##FFFFFF
##4E2E831.0010.282.0410.28
#FFFFFF10.281.0021.001.00
#0000002.0421.001.0021.00
##FFFFFF10.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004186
Deuteranopia (green-blind)
#003F81
Tritanopia (blue-blind)
#414154
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #4e2e83;
/* rgb */ color: rgb(78, 46, 131);
/* oklch */ color: oklch(38.8% 0.136 296.9);
Tailwind
colors: {
  custom: {
    50: '#8468a8',
    500: '#4e2e83',
    950: '#000000',
  },
}
SCSS
$custom: #4e2e83;
$custom-light: #8468a8;
$custom-dark: #000000;
JSON
{
  "hex": "#4e2e83",
  "rgb": {
    "r": 78,
    "g": 46,
    "b": 131
  },
  "hsl": {
    "h": 262.588,
    "s": 48.023,
    "l": 34.706
  },
  "oklch": {
    "l": 0.3883,
    "c": 0.13644,
    "h": 296.9
  },
  "luminance": 0.05212
}

Semantic roles & 50–950 ramp

primary
#4E2E83
secondary
#90AF5E
accent
#D850A5
background
#F8F6FA
surface
#EFEBF4
border
#CAC6CE
text
#0B0610
muted
#7C7A7F

Preview Lab

Preview with #4E2E83

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

Preview Lab → · Contrast checker → · Palette generator →

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