#4E2D67#4E2D67

#4E2D67 is a dark, moderate violet. Relative luminance 0.045; OKLCH L 36.6% C 0.102 H 308.5°. Best body text is #FFFFFF at 11.08:1 contrast (WCAG AA passes).

Color values

HEX#4E2D67
RGBrgb(78, 45, 103)
HSLhsl(274, 39%, 29%)
HSVhsv(274, 56%, 40%)
CMYKcmyk(24.3%, 56.3%, 0%, 59.6%)
CIE-LABlab(25.19, 27.24, -28.35)
CIE-LCHlch(25.19, 39.31, 313.86°)
OKLaboklab(36.65% 0.0632 -0.0795)
OKLCHoklch(36.65% 0.102 308.5)
XYZxyz(6.5280, 4.4758, 13.3494)
Luminance0.0448 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E2D67 #46672D
analogous
#312D67 #4E2D67 #672D63
triadic
#4E2D67 #674E2D #2D674E
tetradic
#4E2D67 #67312D #46672D #2D6367
square
#4E2D67 #67312D #46672D #2D6367
split-complementary
#4E2D67 #63672D #2D6731
monochromatic
#100915 #2E1A3C #4E2D67 #6E4092 #8E58B6

Accessibility & contrast

On white

11.08
#4E2D67 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4E2D67
11.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E2D67#FFFFFF#000000##FFFFFF
##4E2D671.0011.081.9011.08
#FFFFFF11.081.0021.001.00
#0000001.9021.001.0021.00
##FFFFFF11.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1C3A69
Deuteranopia (green-blind)
#263C66
Tritanopia (blue-blind)
#4A3745
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #4e2d67;
/* rgb */ color: rgb(78, 45, 103);
/* oklch */ color: oklch(36.6% 0.102 308.5);
Tailwind
colors: {
  custom: {
    50: '#816793',
    500: '#4e2d67',
    950: '#000000',
  },
}
SCSS
$custom: #4e2d67;
$custom-light: #816793;
$custom-dark: #000000;
JSON
{
  "hex": "#4e2d67",
  "rgb": {
    "r": 78,
    "g": 45,
    "b": 103
  },
  "hsl": {
    "h": 274.138,
    "s": 39.189,
    "l": 29.02
  },
  "oklch": {
    "l": 0.36646,
    "c": 0.10156,
    "h": 308.5
  },
  "luminance": 0.04476
}

Semantic roles & 50–950 ramp

primary
#4E2D67
secondary
#739957
accent
#CF598C
background
#F8F6F9
surface
#EFEBF1
border
#CAC6CB
text
#0A060D
muted
#7C7A7E

Preview Lab

Preview with #4E2D67

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

Preview Lab → · Contrast checker → · Palette generator →

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