#4E2B83#4E2B83

#4E2B83 is a dark, vivid violet. Relative luminance 0.050; OKLCH L 38.4% C 0.141 H 297.6°. Best body text is #FFFFFF at 10.51:1 contrast (WCAG AA passes).

Color values

HEX#4E2B83
RGBrgb(78, 43, 131)
HSLhsl(264, 51%, 34%)
HSVhsv(264, 67%, 51%)
CMYKcmyk(40.5%, 67.2%, 0%, 48.6%)
CIE-LABlab(26.69, 36.02, -43.75)
CIE-LCHlch(26.69, 56.67, 309.46°)
OKLaboklab(38.37% 0.0653 -0.1247)
OKLCHoklch(38.37% 0.141 297.6)
XYZxyz(8.1014, 4.9860, 22.0039)
Luminance0.0499 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E2B83 #60832B
analogous
#2B3483 #4E2B83 #7A2B83
triadic
#4E2B83 #834E2B #2B834E
tetradic
#4E2B83 #832B34 #60832B #2B837A
square
#4E2B83 #832B34 #60832B #2B837A
split-complementary
#4E2B83 #837A2B #34832B
monochromatic
#170D27 #331C55 #4E2B83 #693AB1 #895ECA

Accessibility & contrast

On white

10.51
#4E2B83 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.00
#4E2B83 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E2B83
10.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E2B83#FFFFFF#000000##FFFFFF
##4E2B831.0010.512.0010.51
#FFFFFF10.511.0021.001.00
#0000002.0021.001.0021.00
##FFFFFF10.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003F86
Deuteranopia (green-blind)
#003E81
Tritanopia (blue-blind)
#413F53
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #4e2b83;
/* rgb */ color: rgb(78, 43, 131);
/* oklch */ color: oklch(38.4% 0.141 297.6);
Tailwind
colors: {
  custom: {
    50: '#8467a8',
    500: '#4e2b83',
    950: '#000000',
  },
}
SCSS
$custom: #4e2b83;
$custom-light: #8467a8;
$custom-dark: #000000;
JSON
{
  "hex": "#4e2b83",
  "rgb": {
    "r": 78,
    "g": 43,
    "b": 131
  },
  "hsl": {
    "h": 263.864,
    "s": 50.575,
    "l": 34.118
  },
  "oklch": {
    "l": 0.3837,
    "c": 0.14078,
    "h": 297.6
  },
  "luminance": 0.04986
}

Semantic roles & 50–950 ramp

primary
#4E2B83
secondary
#8EB05A
accent
#DA4EA2
background
#F8F6FA
surface
#EFEBF4
border
#CAC6CE
text
#0B0610
muted
#7C7A7F

Preview Lab

Preview with #4E2B83

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

Preview Lab → · Contrast checker → · Palette generator →

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