#4E246B#4E246B

#4E246B is a dark, vivid violet. Relative luminance 0.039; OKLCH L 35.5% C 0.122 H 308.7°. Best body text is #FFFFFF at 11.74:1 contrast (WCAG AA passes).

Color values

HEX#4E246B
RGBrgb(78, 36, 107)
HSLhsl(275, 50%, 28%)
HSVhsv(275, 66%, 42%)
CMYKcmyk(27.1%, 66.4%, 0%, 58%)
CIE-LABlab(23.48, 33.51, -33.66)
CIE-LCHlch(23.48, 47.49, 314.87°)
OKLaboklab(35.49% 0.0761 -0.095)
OKLCHoklch(35.49% 0.122 308.7)
XYZxyz(6.4261, 3.9431, 14.3296)
Luminance0.0394 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E246B #416B24
analogous
#2A246B #4E246B #6B2464
triadic
#4E246B #6B4E24 #246B4E
tetradic
#4E246B #6B2A24 #416B24 #24646B
square
#4E246B #6B2A24 #416B24 #24646B
split-complementary
#4E246B #646B24 #246B2A
monochromatic
#110817 #2D153D #4E246B #6F3399 #9048C1

Accessibility & contrast

On white

11.74
#4E246B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.79
#4E246B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E246B
11.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E246B#FFFFFF#000000##FFFFFF
##4E246B1.0011.741.7911.74
#FFFFFF11.741.0021.001.00
#0000001.7921.001.0021.00
##FFFFFF11.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00366D
Deuteranopia (green-blind)
#193869
Tritanopia (blue-blind)
#4A3244
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #4e246b;
/* rgb */ color: rgb(78, 36, 107);
/* oklch */ color: oklch(35.5% 0.122 308.7);
Tailwind
colors: {
  custom: {
    50: '#826196',
    500: '#4e246b',
    950: '#000000',
  },
}
SCSS
$custom: #4e246b;
$custom-light: #826196;
$custom-dark: #000000;
JSON
{
  "hex": "#4e246b",
  "rgb": {
    "r": 78,
    "g": 36,
    "b": 107
  },
  "hsl": {
    "h": 275.493,
    "s": 49.65,
    "l": 28.039
  },
  "oklch": {
    "l": 0.35485,
    "c": 0.12174,
    "h": 308.7
  },
  "luminance": 0.03943
}

Semantic roles & 50–950 ramp

primary
#4E246B
secondary
#6E9E4D
accent
#D94F87
background
#F8F5F9
surface
#EFEAF2
border
#CAC6CC
text
#0B050D
muted
#7C797E

Preview Lab

Preview with #4E246B

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

Preview Lab → · Contrast checker → · Palette generator →

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