#4E1265#4E1265

#4E1265 is a dark, vivid purple. Relative luminance 0.030; OKLCH L 32.9% C 0.140 H 314.4°. Best body text is #FFFFFF at 13.14:1 contrast (WCAG AA passes).

Color values

HEX#4E1265
RGBrgb(78, 18, 101)
HSLhsl(283, 70%, 23%)
HSVhsv(283, 82%, 40%)
CMYKcmyk(22.8%, 82.2%, 0%, 60.4%)
CIE-LABlab(20.01, 40.56, -35.34)
CIE-LCHlch(20.01, 53.80, 318.94°)
OKLaboklab(32.86% 0.0976 -0.0998)
OKLCHoklch(32.86% 0.14 314.4)
XYZxyz(5.7068, 2.9921, 12.5863)
Luminance0.0299 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E1265 #296512
analogous
#241265 #4E1265 #651252
triadic
#4E1265 #654E12 #12654E
tetradic
#4E1265 #652412 #296512 #125265
square
#4E1265 #652412 #296512 #125265
split-complementary
#4E1265 #526512 #126524
monochromatic
#14051A #260931 #4E1265 #761B99 #9E25CD

Accessibility & contrast

On white

13.14
#4E1265 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.60
#4E1265 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E1265
13.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E1265#FFFFFF#000000##FFFFFF
##4E12651.0013.141.6013.14
#FFFFFF13.141.0021.001.00
#0000001.6021.001.0021.00
##FFFFFF13.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002D67
Deuteranopia (green-blind)
#0C3263
Tritanopia (blue-blind)
#4C253B
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #4e1265;
/* rgb */ color: rgb(78, 18, 101);
/* oklch */ color: oklch(32.9% 0.140 314.4);
Tailwind
colors: {
  custom: {
    50: '#835891',
    500: '#4e1265',
    950: '#000000',
  },
}
SCSS
$custom: #4e1265;
$custom-light: #835891;
$custom-dark: #000000;
JSON
{
  "hex": "#4e1265",
  "rgb": {
    "r": 78,
    "g": 18,
    "b": 101
  },
  "hsl": {
    "h": 283.373,
    "s": 69.748,
    "l": 23.333
  },
  "oklch": {
    "l": 0.32864,
    "c": 0.13961,
    "h": 314.4
  },
  "luminance": 0.02992
}

Semantic roles & 50–950 ramp

primary
#4E1265
secondary
#529D36
accent
#ED3B6C
background
#F8F5F9
surface
#EFE9F1
border
#CAC5CB
text
#0B040D
muted
#7C797E

Preview Lab

Preview with #4E1265

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

Preview Lab → · Contrast checker → · Palette generator →

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