#4E1965#4E1965

#4E1965 is a dark, vivid purple. Relative luminance 0.033; OKLCH L 33.6% C 0.131 H 313.5°. Best body text is #FFFFFF at 12.72:1 contrast (WCAG AA passes).

Color values

HEX#4E1965
RGBrgb(78, 25, 101)
HSLhsl(282, 60%, 25%)
HSVhsv(282, 75%, 40%)
CMYKcmyk(22.8%, 75.2%, 0%, 60.4%)
CIE-LABlab(21.04, 37.64, -33.68)
CIE-LCHlch(21.04, 50.51, 318.18°)
OKLaboklab(33.59% 0.0903 -0.095)
OKLCHoklch(33.59% 0.131 313.5)
XYZxyz(5.8381, 3.2547, 12.6301)
Luminance0.0326 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E1965 #306519
analogous
#281965 #4E1965 #651956
triadic
#4E1965 #654E19 #19654E
tetradic
#4E1965 #652819 #306519 #195665
square
#4E1965 #652819 #306519 #195665
split-complementary
#4E1965 #566519 #196528
monochromatic
#130619 #280D34 #4E1965 #742596 #9A31C7

Accessibility & contrast

On white

12.72
#4E1965 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.65
#4E1965 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E1965
12.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E1965#FFFFFF#000000##FFFFFF
##4E19651.0012.721.6512.72
#FFFFFF12.721.0021.001.00
#0000001.6521.001.0021.00
##FFFFFF12.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003067
Deuteranopia (green-blind)
#133463
Tritanopia (blue-blind)
#4C293D
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #4e1965;
/* rgb */ color: rgb(78, 25, 101);
/* oklch */ color: oklch(33.6% 0.131 313.5);
Tailwind
colors: {
  custom: {
    50: '#835b91',
    500: '#4e1965',
    950: '#000000',
  },
}
SCSS
$custom: #4e1965;
$custom-light: #835b91;
$custom-dark: #000000;
JSON
{
  "hex": "#4e1965",
  "rgb": {
    "r": 78,
    "g": 25,
    "b": 101
  },
  "hsl": {
    "h": 281.842,
    "s": 60.317,
    "l": 24.706
  },
  "oklch": {
    "l": 0.3359,
    "c": 0.1311,
    "h": 313.5
  },
  "luminance": 0.03255
}

Semantic roles & 50–950 ramp

primary
#4E1965
secondary
#5B9B3F
accent
#E34474
background
#F8F5F9
surface
#EFE9F1
border
#CAC5CB
text
#0B040D
muted
#7C797E

Preview Lab

Preview with #4E1965

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

Preview Lab → · Contrast checker → · Palette generator →

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