#4E246D#4E246D

#4E246D is a dark, vivid violet. Relative luminance 0.040; OKLCH L 35.6% C 0.124 H 307.8°. Best body text is #FFFFFF at 11.68:1 contrast (WCAG AA passes).

Color values

HEX#4E246D
RGBrgb(78, 36, 109)
HSLhsl(275, 50%, 28%)
HSVhsv(275, 67%, 43%)
CMYKcmyk(28.4%, 67%, 0%, 57.3%)
CIE-LABlab(23.62, 34.02, -34.72)
CIE-LCHlch(23.62, 48.61, 314.41°)
OKLaboklab(35.63% 0.076 -0.0981)
OKLCHoklch(35.63% 0.124 307.8)
XYZxyz(6.5325, 3.9857, 14.8902)
Luminance0.0399 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E246D #436D24
analogous
#29246D #4E246D #6D2467
triadic
#4E246D #6D4E24 #246D4E
tetradic
#4E246D #6D2924 #436D24 #24676D
square
#4E246D #6D2924 #436D24 #24676D
split-complementary
#4E246D #676D24 #246D29
monochromatic
#100817 #2D153F #4E246D #6F339B #8F49C3

Accessibility & contrast

On white

11.68
#4E246D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.80
#4E246D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E246D
11.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E246D#FFFFFF#000000##FFFFFF
##4E246D1.0011.681.8011.68
#FFFFFF11.681.0021.001.00
#0000001.8021.001.0021.00
##FFFFFF11.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00376F
Deuteranopia (green-blind)
#17396B
Tritanopia (blue-blind)
#493345
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #4e246d;
/* rgb */ color: rgb(78, 36, 109);
/* oklch */ color: oklch(35.6% 0.124 307.8);
Tailwind
colors: {
  custom: {
    50: '#826297',
    500: '#4e246d',
    950: '#000000',
  },
}
SCSS
$custom: #4e246d;
$custom-light: #826297;
$custom-dark: #000000;
JSON
{
  "hex": "#4e246d",
  "rgb": {
    "r": 78,
    "g": 36,
    "b": 109
  },
  "hsl": {
    "h": 274.521,
    "s": 50.345,
    "l": 28.431
  },
  "oklch": {
    "l": 0.35633,
    "c": 0.12413,
    "h": 307.8
  },
  "luminance": 0.03986
}

Semantic roles & 50–950 ramp

primary
#4E246D
secondary
#70A04D
accent
#DA4E89
background
#F8F5F9
surface
#EFEAF2
border
#CAC6CC
text
#0B050D
muted
#7C797E

Preview Lab

Preview with #4E246D

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

Preview Lab → · Contrast checker → · Palette generator →

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