#4E1263#4E1263

#4E1263 is a dark, vivid purple. Relative luminance 0.030; OKLCH L 32.7% C 0.138 H 315.4°. Best body text is #FFFFFF at 13.20:1 contrast (WCAG AA passes).

Color values

HEX#4E1263
RGBrgb(78, 18, 99)
HSLhsl(284, 69%, 23%)
HSVhsv(284, 82%, 39%)
CMYKcmyk(21.2%, 81.8%, 0%, 61.2%)
CIE-LABlab(19.86, 40.12, -34.27)
CIE-LCHlch(19.86, 52.77, 319.50°)
OKLaboklab(32.71% 0.098 -0.0967)
OKLCHoklch(32.71% 0.138 315.4)
XYZxyz(5.6100, 2.9534, 12.0765)
Luminance0.0295 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E1263 #276312
analogous
#251263 #4E1263 #631250
triadic
#4E1263 #634E12 #12634E
tetradic
#4E1263 #632512 #276312 #125063
square
#4E1263 #632512 #276312 #125063
split-complementary
#4E1263 #506312 #126325
monochromatic
#14051A #25092F #4E1263 #771B97 #A025CB

Accessibility & contrast

On white

13.20
#4E1263 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.59
#4E1263 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E1263
13.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E1263#FFFFFF#000000##FFFFFF
##4E12631.0013.201.5913.20
#FFFFFF13.201.0021.001.00
#0000001.5921.001.0021.00
##FFFFFF13.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002D65
Deuteranopia (green-blind)
#0F3261
Tritanopia (blue-blind)
#4C253A
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #4e1263;
/* rgb */ color: rgb(78, 18, 99);
/* oklch */ color: oklch(32.7% 0.138 315.4);
Tailwind
colors: {
  custom: {
    50: '#835890',
    500: '#4e1263',
    950: '#000000',
  },
}
SCSS
$custom: #4e1263;
$custom-light: #835890;
$custom-dark: #000000;
JSON
{
  "hex": "#4e1263",
  "rgb": {
    "r": 78,
    "g": 18,
    "b": 99
  },
  "hsl": {
    "h": 284.444,
    "s": 69.231,
    "l": 22.941
  },
  "oklch": {
    "l": 0.32705,
    "c": 0.13766,
    "h": 315.4
  },
  "luminance": 0.02953
}

Semantic roles & 50–950 ramp

primary
#4E1263
secondary
#509B36
accent
#EC3C69
background
#F8F5F8
surface
#EFE9F0
border
#CAC5CB
text
#0B040C
muted
#7C797D

Preview Lab

Preview with #4E1263

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

Preview Lab → · Contrast checker → · Palette generator →

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