#4E2D68#4E2D68

#4E2D68 is a dark, moderate violet. Relative luminance 0.045; OKLCH L 36.7% C 0.103 H 308.0°. Best body text is #FFFFFF at 11.06:1 contrast (WCAG AA passes).

Color values

HEX#4E2D68
RGBrgb(78, 45, 104)
HSLhsl(274, 40%, 29%)
HSVhsv(274, 57%, 41%)
CMYKcmyk(25%, 56.7%, 0%, 59.2%)
CIE-LABlab(25.25, 27.50, -28.90)
CIE-LCHlch(25.25, 39.89, 313.58°)
OKLaboklab(36.71% 0.0633 -0.0811)
OKLCHoklch(36.71% 0.103 308)
XYZxyz(6.5785, 4.4960, 13.6153)
Luminance0.0450 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E2D68 #47682D
analogous
#312D68 #4E2D68 #682D65
triadic
#4E2D68 #684E2D #2D684E
tetradic
#4E2D68 #68312D #47682D #2D6568
square
#4E2D68 #68312D #47682D #2D6568
split-complementary
#4E2D68 #65682D #2D6831
monochromatic
#100915 #2E1B3D #4E2D68 #6E3F93 #8D58B7

Accessibility & contrast

On white

11.06
#4E2D68 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.90
#4E2D68 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E2D68
11.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E2D68#FFFFFF#000000##FFFFFF
##4E2D681.0011.061.9011.06
#FFFFFF11.061.0021.001.00
#0000001.9021.001.0021.00
##FFFFFF11.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1B3B6A
Deuteranopia (green-blind)
#263C67
Tritanopia (blue-blind)
#4A3846
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #4e2d68;
/* rgb */ color: rgb(78, 45, 104);
/* oklch */ color: oklch(36.7% 0.103 308.0);
Tailwind
colors: {
  custom: {
    50: '#816793',
    500: '#4e2d68',
    950: '#000000',
  },
}
SCSS
$custom: #4e2d68;
$custom-light: #816793;
$custom-dark: #000000;
JSON
{
  "hex": "#4e2d68",
  "rgb": {
    "r": 78,
    "g": 45,
    "b": 104
  },
  "hsl": {
    "h": 273.559,
    "s": 39.597,
    "l": 29.216
  },
  "oklch": {
    "l": 0.36711,
    "c": 0.10286,
    "h": 308
  },
  "luminance": 0.04496
}

Semantic roles & 50–950 ramp

primary
#4E2D68
secondary
#749A57
accent
#CF588D
background
#F8F6F9
surface
#EFEBF1
border
#CAC6CB
text
#0A060D
muted
#7C7A7E

Preview Lab

Preview with #4E2D68

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

Preview Lab → · Contrast checker → · Palette generator →

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