#4E236A#4E236A

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

Color values

HEX#4E236A
RGBrgb(78, 35, 106)
HSLhsl(276, 50%, 28%)
HSVhsv(276, 67%, 42%)
CMYKcmyk(26.4%, 67%, 0%, 58.4%)
CIE-LABlab(23.21, 33.80, -33.45)
CIE-LCHlch(23.21, 47.55, 315.31°)
OKLaboklab(35.27% 0.0775 -0.0944)
OKLCHoklch(35.27% 0.122 309.4)
XYZxyz(6.3439, 3.8625, 14.0442)
Luminance0.0386 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E236A #3F6A23
analogous
#2A236A #4E236A #6A2363
triadic
#4E236A #6A4E23 #236A4E
tetradic
#4E236A #6A2A23 #3F6A23 #23636A
square
#4E236A #6A2A23 #3F6A23 #23636A
split-complementary
#4E236A #636A23 #236A2A
monochromatic
#110817 #2C143C #4E236A #703298 #9146C2

Accessibility & contrast

On white

11.85
#4E236A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4E236A
11.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E236A#FFFFFF#000000##FFFFFF
##4E236A1.0011.851.7711.85
#FFFFFF11.851.0021.001.00
#0000001.7721.001.0021.00
##FFFFFF11.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00356C
Deuteranopia (green-blind)
#193868
Tritanopia (blue-blind)
#4A3143
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #4e236a;
/* rgb */ color: rgb(78, 35, 106);
/* oklch */ color: oklch(35.3% 0.122 309.4);
Tailwind
colors: {
  custom: {
    50: '#826195',
    500: '#4e236a',
    950: '#000000',
  },
}
SCSS
$custom: #4e236a;
$custom-light: #826195;
$custom-dark: #000000;
JSON
{
  "hex": "#4e236a",
  "rgb": {
    "r": 78,
    "g": 35,
    "b": 106
  },
  "hsl": {
    "h": 276.338,
    "s": 50.355,
    "l": 27.647
  },
  "oklch": {
    "l": 0.35266,
    "c": 0.12212,
    "h": 309.4
  },
  "luminance": 0.03862
}

Semantic roles & 50–950 ramp

primary
#4E236A
secondary
#6C9D4B
accent
#DA4E85
background
#F8F5F9
surface
#EFEAF2
border
#CAC6CC
text
#0B050D
muted
#7C797E

Preview Lab

Preview with #4E236A

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

Preview Lab → · Contrast checker → · Palette generator →

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