#4E2464#4E2464

#4E2464 is a dark, moderate violet. Relative luminance 0.038; OKLCH L 35.0% C 0.113 H 312.3°. Best body text is #FFFFFF at 11.93:1 contrast (WCAG AA passes).

Color values

HEX#4E2464
RGBrgb(78, 36, 100)
HSLhsl(279, 47%, 27%)
HSVhsv(279, 64%, 39%)
CMYKcmyk(22%, 64%, 0%, 60.8%)
CIE-LABlab(23.00, 31.76, -29.87)
CIE-LCHlch(23.00, 43.60, 316.76°)
OKLaboklab(34.99% 0.0763 -0.0839)
OKLCHoklch(34.99% 0.113 312.3)
XYZxyz(6.0726, 3.8017, 12.4680)
Luminance0.0380 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E2464 #3A6424
analogous
#2E2464 #4E2464 #64245A
triadic
#4E2464 #644E24 #24644E
tetradic
#4E2464 #642E24 #3A6424 #245A64
square
#4E2464 #642E24 #3A6424 #245A64
split-complementary
#4E2464 #5A6424 #24642E
monochromatic
#120817 #2B1437 #4E2464 #713491 #9446BC

Accessibility & contrast

On white

11.93
#4E2464 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.76
#4E2464 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E2464
11.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E2464#FFFFFF#000000##FFFFFF
##4E24641.0011.931.7611.93
#FFFFFF11.931.0021.001.00
#0000001.7621.001.0021.00
##FFFFFF11.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0D3566
Deuteranopia (green-blind)
#203862
Tritanopia (blue-blind)
#4C3040
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #4e2464;
/* rgb */ color: rgb(78, 36, 100);
/* oklch */ color: oklch(35.0% 0.113 312.3);
Tailwind
colors: {
  custom: {
    50: '#826190',
    500: '#4e2464',
    950: '#000000',
  },
}
SCSS
$custom: #4e2464;
$custom-light: #826190;
$custom-dark: #000000;
JSON
{
  "hex": "#4e2464",
  "rgb": {
    "r": 78,
    "g": 36,
    "b": 100
  },
  "hsl": {
    "h": 279.375,
    "s": 47.059,
    "l": 26.667
  },
  "oklch": {
    "l": 0.34985,
    "c": 0.11339,
    "h": 312.3
  },
  "luminance": 0.03802
}

Semantic roles & 50–950 ramp

primary
#4E2464
secondary
#66974C
accent
#D7517F
background
#F8F5F8
surface
#EFEAF0
border
#CAC6CB
text
#0B050C
muted
#7C797D

Preview Lab

Preview with #4E2464

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

Preview Lab → · Contrast checker → · Palette generator →

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