#4E2664#4E2664

#4E2664 is a dark, moderate violet. Relative luminance 0.039; OKLCH L 35.3% C 0.110 H 311.8°. Best body text is #FFFFFF at 11.76:1 contrast (WCAG AA passes).

Color values

HEX#4E2664
RGBrgb(78, 38, 100)
HSLhsl(279, 45%, 27%)
HSVhsv(279, 62%, 39%)
CMYKcmyk(22%, 62%, 0%, 60.8%)
CIE-LABlab(23.43, 30.63, -29.20)
CIE-LCHlch(23.43, 42.31, 316.37°)
OKLaboklab(35.29% 0.0734 -0.082)
OKLCHoklch(35.29% 0.11 311.8)
XYZxyz(6.1348, 3.9262, 12.4888)
Luminance0.0393 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E2664 #3C6426
analogous
#2F2664 #4E2664 #64265B
triadic
#4E2664 #644E26 #26644E
tetradic
#4E2664 #642F26 #3C6426 #265B64
square
#4E2664 #642F26 #3C6426 #265B64
split-complementary
#4E2664 #5B6426 #26642F
monochromatic
#110816 #2B1538 #4E2664 #713790 #924ABA

Accessibility & contrast

On white

11.76
#4E2664 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.79
#4E2664 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E2664
11.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E2664#FFFFFF#000000##FFFFFF
##4E26641.0011.761.7911.76
#FFFFFF11.761.0021.001.00
#0000001.7921.001.0021.00
##FFFFFF11.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#123666
Deuteranopia (green-blind)
#223962
Tritanopia (blue-blind)
#4C3141
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #4e2664;
/* rgb */ color: rgb(78, 38, 100);
/* oklch */ color: oklch(35.3% 0.110 311.8);
Tailwind
colors: {
  custom: {
    50: '#826290',
    500: '#4e2664',
    950: '#000000',
  },
}
SCSS
$custom: #4e2664;
$custom-light: #826290;
$custom-dark: #000000;
JSON
{
  "hex": "#4e2664",
  "rgb": {
    "r": 78,
    "g": 38,
    "b": 100
  },
  "hsl": {
    "h": 278.71,
    "s": 44.928,
    "l": 27.059
  },
  "oklch": {
    "l": 0.35292,
    "c": 0.11002,
    "h": 311.8
  },
  "luminance": 0.03926
}

Semantic roles & 50–950 ramp

primary
#4E2664
secondary
#68974F
accent
#D55381
background
#F8F5F8
surface
#EFEAF0
border
#CAC6CB
text
#0B050C
muted
#7C797D

Preview Lab

Preview with #4E2664

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

Preview Lab → · Contrast checker → · Palette generator →

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