#4E1755#4E1755

#4E1755 is a dark, moderate purple. Relative luminance 0.029; OKLCH L 32.2% C 0.117 H 323.0°. Best body text is #FFFFFF at 13.31:1 contrast (WCAG AA passes).

Color values

HEX#4E1755
RGBrgb(78, 23, 85)
HSLhsl(293, 57%, 21%)
HSVhsv(293, 73%, 33%)
CMYKcmyk(8.2%, 72.9%, 0%, 66.7%)
CIE-LABlab(19.59, 35.02, -25.37)
CIE-LCHlch(19.59, 43.25, 324.08°)
OKLaboklab(32.2% 0.0938 -0.0707)
OKLCHoklch(32.2% 0.117 323)
XYZxyz(5.0878, 2.8887, 8.8821)
Luminance0.0289 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E1755 #1E5517
analogous
#2F1755 #4E1755 #55173D
triadic
#4E1755 #554E17 #17554E
tetradic
#4E1755 #552F17 #1E5517 #173D55
square
#4E1755 #552F17 #1E5517 #173D55
split-complementary
#4E1755 #3D5517 #17552F
monochromatic
#160718 #220A25 #4E1755 #7A2485 #A631B5

Accessibility & contrast

On white

13.31
#4E1755 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.58
#4E1755 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E1755
13.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E1755#FFFFFF#000000##FFFFFF
##4E17551.0013.311.5813.31
#FFFFFF13.311.0021.001.00
#0000001.5821.001.0021.00
##FFFFFF13.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#072B57
Deuteranopia (green-blind)
#203253
Tritanopia (blue-blind)
#4F2134
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #4e1755;
/* rgb */ color: rgb(78, 23, 85);
/* oklch */ color: oklch(32.2% 0.117 323.0);
Tailwind
colors: {
  custom: {
    50: '#825985',
    500: '#4e1755',
    950: '#000000',
  },
}
SCSS
$custom: #4e1755;
$custom-light: #825985;
$custom-dark: #000000;
JSON
{
  "hex": "#4e1755",
  "rgb": {
    "r": 78,
    "g": 23,
    "b": 85
  },
  "hsl": {
    "h": 293.226,
    "s": 57.407,
    "l": 21.176
  },
  "oklch": {
    "l": 0.32198,
    "c": 0.11745,
    "h": 323
  },
  "luminance": 0.02888
}

Semantic roles & 50–950 ramp

primary
#4E1755
secondary
#458C3C
accent
#E14758
background
#F8F5F8
surface
#EFE9EF
border
#CAC5CA
text
#0B040B
muted
#7C797C

Preview Lab

Preview with #4E1755

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

Preview Lab → · Contrast checker → · Palette generator →

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