#4E246A#4E246A

#4E246A is a dark, vivid violet. Relative luminance 0.039; OKLCH L 35.4% C 0.121 H 309.2°. Best body text is #FFFFFF at 11.77:1 contrast (WCAG AA passes).

Color values

HEX#4E246A
RGBrgb(78, 36, 106)
HSLhsl(276, 49%, 28%)
HSVhsv(276, 66%, 42%)
CMYKcmyk(26.4%, 66%, 0%, 58.4%)
CIE-LABlab(23.41, 33.26, -33.12)
CIE-LCHlch(23.41, 46.94, 315.11°)
OKLaboklab(35.41% 0.0762 -0.0934)
OKLCHoklch(35.41% 0.121 309.2)
XYZxyz(6.3738, 3.9222, 14.0542)
Luminance0.0392 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E246A #406A24
analogous
#2B246A #4E246A #6A2463
triadic
#4E246A #6A4E24 #246A4E
tetradic
#4E246A #6A2B24 #406A24 #24636A
square
#4E246A #6A2B24 #406A24 #24636A
split-complementary
#4E246A #636A24 #246A2B
monochromatic
#110817 #2C143C #4E246A #703498 #9048C1

Accessibility & contrast

On white

11.77
#4E246A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.78
#4E246A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E246A
11.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E246A#FFFFFF#000000##FFFFFF
##4E246A1.0011.771.7811.77
#FFFFFF11.771.0021.001.00
#0000001.7821.001.0021.00
##FFFFFF11.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#02366C
Deuteranopia (green-blind)
#1A3868
Tritanopia (blue-blind)
#4A3243
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #4e246a;
/* rgb */ color: rgb(78, 36, 106);
/* oklch */ color: oklch(35.4% 0.121 309.2);
Tailwind
colors: {
  custom: {
    50: '#826195',
    500: '#4e246a',
    950: '#000000',
  },
}
SCSS
$custom: #4e246a;
$custom-light: #826195;
$custom-dark: #000000;
JSON
{
  "hex": "#4e246a",
  "rgb": {
    "r": 78,
    "g": 36,
    "b": 106
  },
  "hsl": {
    "h": 276,
    "s": 49.296,
    "l": 27.843
  },
  "oklch": {
    "l": 0.35412,
    "c": 0.12055,
    "h": 309.2
  },
  "luminance": 0.03922
}

Semantic roles & 50–950 ramp

primary
#4E246A
secondary
#6D9D4D
accent
#D94F86
background
#F8F5F9
surface
#EFEAF2
border
#CAC6CC
text
#0B050D
muted
#7C797E

Preview Lab

Preview with #4E246A

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

Preview Lab → · Contrast checker → · Palette generator →

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