#4E2F83#4E2F83

#4E2F83 is a dark, vivid violet. Relative luminance 0.053; OKLCH L 39.0% C 0.135 H 296.6°. Best body text is #FFFFFF at 10.20:1 contrast (WCAG AA passes).

Color values

HEX#4E2F83
RGBrgb(78, 47, 131)
HSLhsl(262, 47%, 35%)
HSVhsv(262, 64%, 51%)
CMYKcmyk(40.5%, 64.1%, 0%, 48.6%)
CIE-LABlab(27.55, 33.71, -42.37)
CIE-LCHlch(27.55, 54.14, 308.50°)
OKLaboklab(38.99% 0.0605 -0.1206)
OKLCHoklch(38.99% 0.135 296.6)
XYZxyz(8.2541, 5.2913, 22.0548)
Luminance0.0529 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E2F83 #64832F
analogous
#2F3A83 #4E2F83 #782F83
triadic
#4E2F83 #834E2F #2F834E
tetradic
#4E2F83 #832F3A #64832F #2F8378
square
#4E2F83 #832F3A #64832F #2F8378
split-complementary
#4E2F83 #83782F #3A832F
monochromatic
#180F29 #331F56 #4E2F83 #693FB0 #8965C8

Accessibility & contrast

On white

10.20
#4E2F83 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.06
#4E2F83 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E2F83
10.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E2F83#FFFFFF#000000##FFFFFF
##4E2F831.0010.202.0610.20
#FFFFFF10.201.0021.001.00
#0000002.0621.001.0021.00
##FFFFFF10.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004186
Deuteranopia (green-blind)
#024081
Tritanopia (blue-blind)
#414254
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #4e2f83;
/* rgb */ color: rgb(78, 47, 131);
/* oklch */ color: oklch(39.0% 0.135 296.6);
Tailwind
colors: {
  custom: {
    50: '#8469a8',
    500: '#4e2f83',
    950: '#000000',
  },
}
SCSS
$custom: #4e2f83;
$custom-light: #8469a8;
$custom-dark: #000000;
JSON
{
  "hex": "#4e2f83",
  "rgb": {
    "r": 78,
    "g": 47,
    "b": 131
  },
  "hsl": {
    "h": 262.143,
    "s": 47.191,
    "l": 34.902
  },
  "oklch": {
    "l": 0.38988,
    "c": 0.13496,
    "h": 296.6
  },
  "luminance": 0.05291
}

Semantic roles & 50–950 ramp

primary
#4E2F83
secondary
#91AF5F
accent
#D751A5
background
#F8F6FA
surface
#EFEBF4
border
#CAC6CE
text
#0B0610
muted
#7C7A7F

Preview Lab

Preview with #4E2F83

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

Preview Lab → · Contrast checker → · Palette generator →

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