#4E2383#4E2383

#4E2383 is a dark, vivid violet. Relative luminance 0.045; OKLCH L 37.3% C 0.152 H 299.3°. Best body text is #FFFFFF at 11.10:1 contrast (WCAG AA passes).

Color values

HEX#4E2383
RGBrgb(78, 35, 131)
HSLhsl(267, 58%, 33%)
HSVhsv(267, 73%, 51%)
CMYKcmyk(40.5%, 73.3%, 0%, 48.6%)
CIE-LABlab(25.14, 40.32, -46.28)
CIE-LCHlch(25.14, 61.38, 311.06°)
OKLaboklab(37.26% 0.0743 -0.1321)
OKLCHoklch(37.26% 0.152 299.3)
XYZxyz(7.8386, 4.4604, 21.9163)
Luminance0.0446 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E2383 #588323
analogous
#232883 #4E2383 #7E2383
triadic
#4E2383 #834E23 #23834E
tetradic
#4E2383 #832328 #588323 #23837E
square
#4E2383 #832328 #588323 #23837E
split-complementary
#4E2383 #837E23 #288323
monochromatic
#140922 #311653 #4E2383 #6B30B3 #8A50D0

Accessibility & contrast

On white

11.10
#4E2383 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.89
#4E2383 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E2383
11.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E2383#FFFFFF#000000##FFFFFF
##4E23831.0011.101.8911.10
#FFFFFF11.101.0021.001.00
#0000001.8921.001.0021.00
##FFFFFF11.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003C86
Deuteranopia (green-blind)
#003B81
Tritanopia (blue-blind)
#423B50
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #4e2383;
/* rgb */ color: rgb(78, 35, 131);
/* oklch */ color: oklch(37.3% 0.152 299.3);
Tailwind
colors: {
  custom: {
    50: '#8562a8',
    500: '#4e2383',
    950: '#000000',
  },
}
SCSS
$custom: #4e2383;
$custom-light: #8562a8;
$custom-dark: #000000;
JSON
{
  "hex": "#4e2383",
  "rgb": {
    "r": 78,
    "g": 35,
    "b": 131
  },
  "hsl": {
    "h": 266.875,
    "s": 57.831,
    "l": 32.549
  },
  "oklch": {
    "l": 0.37256,
    "c": 0.15155,
    "h": 299.3
  },
  "luminance": 0.0446
}

Semantic roles & 50–950 ramp

primary
#4E2383
secondary
#86B44E
accent
#E1479C
background
#F8F5FA
surface
#F0EAF4
border
#CBC6CE
text
#0B0510
muted
#7C797F

Preview Lab

Preview with #4E2383

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

Preview Lab → · Contrast checker → · Palette generator →

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