#4E2A65#4E2A65

#4E2A65 is a dark, moderate violet. Relative luminance 0.042; OKLCH L 36.0% C 0.104 H 310.4°. Best body text is #FFFFFF at 11.39:1 contrast (WCAG AA passes).

Color values

HEX#4E2A65
RGBrgb(78, 42, 101)
HSLhsl(277, 41%, 28%)
HSVhsv(277, 58%, 40%)
CMYKcmyk(22.8%, 58.4%, 0%, 60.4%)
CIE-LABlab(24.37, 28.54, -28.34)
CIE-LCHlch(24.37, 40.22, 315.19°)
OKLaboklab(36% 0.0676 -0.0795)
OKLCHoklch(36% 0.104 310.4)
XYZxyz(6.3184, 4.2153, 12.7902)
Luminance0.0421 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E2A65 #41652A
analogous
#302A65 #4E2A65 #652A5E
triadic
#4E2A65 #654E2A #2A654E
tetradic
#4E2A65 #65302A #41652A #2A5E65
square
#4E2A65 #65302A #41652A #2A5E65
split-complementary
#4E2A65 #5E652A #2A6530
monochromatic
#110916 #2D183A #4E2A65 #6F3C90 #9052B7

Accessibility & contrast

On white

11.39
#4E2A65 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.84
#4E2A65 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E2A65
11.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E2A65#FFFFFF#000000##FFFFFF
##4E2A651.0011.391.8411.39
#FFFFFF11.391.0021.001.00
#0000001.8421.001.0021.00
##FFFFFF11.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#183867
Deuteranopia (green-blind)
#253B64
Tritanopia (blue-blind)
#4B3443
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #4e2a65;
/* rgb */ color: rgb(78, 42, 101);
/* oklch */ color: oklch(36.0% 0.104 310.4);
Tailwind
colors: {
  custom: {
    50: '#816591',
    500: '#4e2a65',
    950: '#000000',
  },
}
SCSS
$custom: #4e2a65;
$custom-light: #816591;
$custom-dark: #000000;
JSON
{
  "hex": "#4e2a65",
  "rgb": {
    "r": 78,
    "g": 42,
    "b": 101
  },
  "hsl": {
    "h": 276.61,
    "s": 41.259,
    "l": 28.039
  },
  "oklch": {
    "l": 0.36005,
    "c": 0.10432,
    "h": 310.4
  },
  "luminance": 0.04215
}

Semantic roles & 50–950 ramp

primary
#4E2A65
secondary
#6E9753
accent
#D15786
background
#F8F6F8
surface
#EFEBF0
border
#CAC6CB
text
#0A060D
muted
#7C7A7D

Preview Lab

Preview with #4E2A65

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

Preview Lab → · Contrast checker → · Palette generator →

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