#4E246F#4E246F

#4E246F is a dark, vivid violet. Relative luminance 0.040; OKLCH L 35.8% C 0.127 H 306.8°. Best body text is #FFFFFF at 11.63:1 contrast (WCAG AA passes).

Color values

HEX#4E246F
RGBrgb(78, 36, 111)
HSLhsl(274, 51%, 29%)
HSVhsv(274, 68%, 44%)
CMYKcmyk(29.7%, 67.6%, 0%, 56.5%)
CIE-LABlab(23.77, 34.53, -35.78)
CIE-LCHlch(23.77, 49.73, 313.98°)
OKLaboklab(35.78% 0.0759 -0.1013)
OKLCHoklch(35.78% 0.127 306.8)
XYZxyz(6.6414, 4.0292, 15.4637)
Luminance0.0403 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E246F #456F24
analogous
#29246F #4E246F #6F246B
triadic
#4E246F #6F4E24 #246F4E
tetradic
#4E246F #6F2924 #456F24 #246B6F
square
#4E246F #6F2924 #456F24 #246B6F
split-complementary
#4E246F #6B6F24 #246F29
monochromatic
#100717 #2E1541 #4E246F #6E339D #8E49C4

Accessibility & contrast

On white

11.63
#4E246F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.81
#4E246F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E246F
11.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E246F#FFFFFF#000000##FFFFFF
##4E246F1.0011.631.8111.63
#FFFFFF11.631.0021.001.00
#0000001.8121.001.0021.00
##FFFFFF11.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003771
Deuteranopia (green-blind)
#14396D
Tritanopia (blue-blind)
#493446
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #4e246f;
/* rgb */ color: rgb(78, 36, 111);
/* oklch */ color: oklch(35.8% 0.127 306.8);
Tailwind
colors: {
  custom: {
    50: '#836299',
    500: '#4e246f',
    950: '#000000',
  },
}
SCSS
$custom: #4e246f;
$custom-light: #836299;
$custom-dark: #000000;
JSON
{
  "hex": "#4e246f",
  "rgb": {
    "r": 78,
    "g": 36,
    "b": 111
  },
  "hsl": {
    "h": 273.6,
    "s": 51.02,
    "l": 28.824
  },
  "oklch": {
    "l": 0.35782,
    "c": 0.12652,
    "h": 306.8
  },
  "luminance": 0.04029
}

Semantic roles & 50–950 ramp

primary
#4E246F
secondary
#72A24D
accent
#DA4D8B
background
#F8F5F9
surface
#EFEAF2
border
#CAC6CC
text
#0B050E
muted
#7C797E

Preview Lab

Preview with #4E246F

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

Preview Lab → · Contrast checker → · Palette generator →

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