#4E256A#4E256A

#4E256A is a dark, moderate violet. Relative luminance 0.040; OKLCH L 35.6% C 0.119 H 309.0°. Best body text is #FFFFFF at 11.69:1 contrast (WCAG AA passes).

Color values

HEX#4E256A
RGBrgb(78, 37, 106)
HSLhsl(276, 48%, 28%)
HSVhsv(276, 65%, 42%)
CMYKcmyk(26.4%, 65.1%, 0%, 58.4%)
CIE-LABlab(23.62, 32.70, -32.79)
CIE-LCHlch(23.62, 46.31, 314.92°)
OKLaboklab(35.56% 0.0748 -0.0925)
OKLCHoklch(35.56% 0.119 309)
XYZxyz(6.4045, 3.9836, 14.0644)
Luminance0.0398 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E256A #416A25
analogous
#2B256A #4E256A #6A2563
triadic
#4E256A #6A4E25 #256A4E
tetradic
#4E256A #6A2B25 #416A25 #25636A
square
#4E256A #6A2B25 #416A25 #25636A
split-complementary
#4E256A #636A25 #256A2B
monochromatic
#110817 #2D153D #4E256A #6F3597 #904AC0

Accessibility & contrast

On white

11.69
#4E256A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4E256A
11.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E256A#FFFFFF#000000##FFFFFF
##4E256A1.0011.691.8011.69
#FFFFFF11.691.0021.001.00
#0000001.8021.001.0021.00
##FFFFFF11.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#05376C
Deuteranopia (green-blind)
#1B3968
Tritanopia (blue-blind)
#4A3343
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #4e256a;
/* rgb */ color: rgb(78, 37, 106);
/* oklch */ color: oklch(35.6% 0.119 309.0);
Tailwind
colors: {
  custom: {
    50: '#826295',
    500: '#4e256a',
    950: '#000000',
  },
}
SCSS
$custom: #4e256a;
$custom-light: #826295;
$custom-dark: #000000;
JSON
{
  "hex": "#4e256a",
  "rgb": {
    "r": 78,
    "g": 37,
    "b": 106
  },
  "hsl": {
    "h": 275.652,
    "s": 48.252,
    "l": 28.039
  },
  "oklch": {
    "l": 0.3556,
    "c": 0.11895,
    "h": 309
  },
  "luminance": 0.03983
}

Semantic roles & 50–950 ramp

primary
#4E256A
secondary
#6E9D4E
accent
#D85087
background
#F8F5F9
surface
#EFEAF2
border
#CAC6CC
text
#0B050D
muted
#7C797E

Preview Lab

Preview with #4E256A

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

Preview Lab → · Contrast checker → · Palette generator →

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