#4E2466#4E2466

#4E2466 is a dark, moderate violet. Relative luminance 0.038; OKLCH L 35.1% C 0.116 H 311.2°. Best body text is #FFFFFF at 11.88:1 contrast (WCAG AA passes).

Color values

HEX#4E2466
RGBrgb(78, 36, 102)
HSLhsl(278, 48%, 27%)
HSVhsv(278, 65%, 40%)
CMYKcmyk(23.5%, 64.7%, 0%, 60%)
CIE-LABlab(23.14, 32.26, -30.96)
CIE-LCHlch(23.14, 44.71, 316.17°)
OKLaboklab(35.13% 0.0763 -0.0871)
OKLCHoklch(35.13% 0.116 311.2)
XYZxyz(6.1706, 3.8409, 12.9841)
Luminance0.0384 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E2466 #3C6624
analogous
#2D2466 #4E2466 #66245D
triadic
#4E2466 #664E24 #24664E
tetradic
#4E2466 #662D24 #3C6624 #245D66
square
#4E2466 #662D24 #3C6624 #245D66
split-complementary
#4E2466 #5D6624 #24662D
monochromatic
#110817 #2B1439 #4E2466 #713493 #9247BE

Accessibility & contrast

On white

11.88
#4E2466 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.77
#4E2466 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E2466
11.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E2466#FFFFFF#000000##FFFFFF
##4E24661.0011.881.7711.88
#FFFFFF11.881.0021.001.00
#0000001.7721.001.0021.00
##FFFFFF11.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0A3568
Deuteranopia (green-blind)
#1E3864
Tritanopia (blue-blind)
#4B3041
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #4e2466;
/* rgb */ color: rgb(78, 36, 102);
/* oklch */ color: oklch(35.1% 0.116 311.2);
Tailwind
colors: {
  custom: {
    50: '#826192',
    500: '#4e2466',
    950: '#000000',
  },
}
SCSS
$custom: #4e2466;
$custom-light: #826192;
$custom-dark: #000000;
JSON
{
  "hex": "#4e2466",
  "rgb": {
    "r": 78,
    "g": 36,
    "b": 102
  },
  "hsl": {
    "h": 278.182,
    "s": 47.826,
    "l": 27.059
  },
  "oklch": {
    "l": 0.35125,
    "c": 0.11577,
    "h": 311.2
  },
  "luminance": 0.03841
}

Semantic roles & 50–950 ramp

primary
#4E2466
secondary
#68994C
accent
#D75081
background
#F8F5F9
surface
#EFEAF1
border
#CAC6CB
text
#0B050D
muted
#7C797E

Preview Lab

Preview with #4E2466

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

Preview Lab → · Contrast checker → · Palette generator →

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