#4E1763#4E1763

#4E1763 is a dark, vivid purple. Relative luminance 0.031; OKLCH L 33.2% C 0.132 H 314.8°. Best body text is #FFFFFF at 12.91:1 contrast (WCAG AA passes).

Color values

HEX#4E1763
RGBrgb(78, 23, 99)
HSLhsl(283, 62%, 24%)
HSVhsv(283, 77%, 39%)
CMYKcmyk(21.2%, 76.8%, 0%, 61.2%)
CIE-LABlab(20.57, 38.08, -33.12)
CIE-LCHlch(20.57, 50.47, 318.98°)
OKLaboklab(33.21% 0.0928 -0.0933)
OKLCHoklch(33.21% 0.132 314.8)
XYZxyz(5.7000, 3.1335, 12.1065)
Luminance0.0313 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E1763 #2C6317
analogous
#281763 #4E1763 #631752
triadic
#4E1763 #634E17 #17634E
tetradic
#4E1763 #632817 #2C6317 #175263
square
#4E1763 #632817 #2C6317 #175263
split-complementary
#4E1763 #526317 #176328
monochromatic
#140619 #270B31 #4E1763 #752395 #9C2EC6

Accessibility & contrast

On white

12.91
#4E1763 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.63
#4E1763 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E1763
12.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E1763#FFFFFF#000000##FFFFFF
##4E17631.0012.911.6312.91
#FFFFFF12.911.0021.001.00
#0000001.6321.001.0021.00
##FFFFFF12.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002E65
Deuteranopia (green-blind)
#143361
Tritanopia (blue-blind)
#4C273B
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #4e1763;
/* rgb */ color: rgb(78, 23, 99);
/* oklch */ color: oklch(33.2% 0.132 314.8);
Tailwind
colors: {
  custom: {
    50: '#835a90',
    500: '#4e1763',
    950: '#000000',
  },
}
SCSS
$custom: #4e1763;
$custom-light: #835a90;
$custom-dark: #000000;
JSON
{
  "hex": "#4e1763",
  "rgb": {
    "r": 78,
    "g": 23,
    "b": 99
  },
  "hsl": {
    "h": 283.421,
    "s": 62.295,
    "l": 23.922
  },
  "oklch": {
    "l": 0.33211,
    "c": 0.13164,
    "h": 314.8
  },
  "luminance": 0.03133
}

Semantic roles & 50–950 ramp

primary
#4E1763
secondary
#569A3C
accent
#E5426F
background
#F8F5F8
surface
#EFE9F0
border
#CAC5CB
text
#0B040C
muted
#7C797D

Preview Lab

Preview with #4E1763

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

Preview Lab → · Contrast checker → · Palette generator →

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