#4E256E#4E256E

#4E256E is a dark, vivid violet. Relative luminance 0.041; OKLCH L 35.9% C 0.124 H 307.1°. Best body text is #FFFFFF at 11.58:1 contrast (WCAG AA passes).

Color values

HEX#4E256E
RGBrgb(78, 37, 110)
HSLhsl(274, 50%, 29%)
HSVhsv(274, 66%, 43%)
CMYKcmyk(29.1%, 66.4%, 0%, 56.9%)
CIE-LABlab(23.90, 33.72, -34.93)
CIE-LCHlch(23.90, 48.55, 313.99°)
OKLaboklab(35.85% 0.0746 -0.0987)
OKLCHoklch(35.85% 0.124 307.1)
XYZxyz(6.6173, 4.0687, 15.1856)
Luminance0.0407 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E256E #456E25
analogous
#2A256E #4E256E #6E256A
triadic
#4E256E #6E4E25 #256E4E
tetradic
#4E256E #6E2A25 #456E25 #256A6E
square
#4E256E #6E2A25 #456E25 #256A6E
split-complementary
#4E256E #6A6E25 #256E2A
monochromatic
#100817 #2E1640 #4E256E #6E349C #8E4BC2

Accessibility & contrast

On white

11.58
#4E256E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4E256E
11.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E256E#FFFFFF#000000##FFFFFF
##4E256E1.0011.581.8111.58
#FFFFFF11.581.0021.001.00
#0000001.8121.001.0021.00
##FFFFFF11.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003770
Deuteranopia (green-blind)
#17396C
Tritanopia (blue-blind)
#493446
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #4e256e;
/* rgb */ color: rgb(78, 37, 110);
/* oklch */ color: oklch(35.9% 0.124 307.1);
Tailwind
colors: {
  custom: {
    50: '#826298',
    500: '#4e256e',
    950: '#000000',
  },
}
SCSS
$custom: #4e256e;
$custom-light: #826298;
$custom-dark: #000000;
JSON
{
  "hex": "#4e256e",
  "rgb": {
    "r": 78,
    "g": 37,
    "b": 110
  },
  "hsl": {
    "h": 273.699,
    "s": 49.66,
    "l": 28.824
  },
  "oklch": {
    "l": 0.35853,
    "c": 0.12378,
    "h": 307.1
  },
  "luminance": 0.04069
}

Semantic roles & 50–950 ramp

primary
#4E256E
secondary
#72A14E
accent
#D94F8B
background
#F8F5F9
surface
#EFEAF2
border
#CAC6CC
text
#0B050E
muted
#7C797E

Preview Lab

Preview with #4E256E

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

Preview Lab → · Contrast checker → · Palette generator →

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