#4E2566#4E2566

#4E2566 is a dark, moderate violet. Relative luminance 0.039; OKLCH L 35.3% C 0.114 H 311.0°. Best body text is #FFFFFF at 11.80:1 contrast (WCAG AA passes).

Color values

HEX#4E2566
RGBrgb(78, 37, 102)
HSLhsl(278, 47%, 27%)
HSVhsv(278, 64%, 40%)
CMYKcmyk(23.5%, 63.7%, 0%, 60%)
CIE-LABlab(23.35, 31.69, -30.63)
CIE-LCHlch(23.35, 44.08, 315.98°)
OKLaboklab(35.28% 0.0749 -0.0861)
OKLCHoklch(35.28% 0.114 311)
XYZxyz(6.2013, 3.9023, 12.9943)
Luminance0.0390 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E2566 #3D6625
analogous
#2D2566 #4E2566 #66255E
triadic
#4E2566 #664E25 #25664E
tetradic
#4E2566 #662D25 #3D6625 #255E66
square
#4E2566 #662D25 #3D6625 #255E66
split-complementary
#4E2566 #5E6625 #25662D
monochromatic
#110816 #2C1539 #4E2566 #703593 #9249BD

Accessibility & contrast

On white

11.80
#4E2566 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.78
#4E2566 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E2566
11.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E2566#FFFFFF#000000##FFFFFF
##4E25661.0011.801.7811.80
#FFFFFF11.801.0021.001.00
#0000001.7821.001.0021.00
##FFFFFF11.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0D3668
Deuteranopia (green-blind)
#1F3864
Tritanopia (blue-blind)
#4B3141
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #4e2566;
/* rgb */ color: rgb(78, 37, 102);
/* oklch */ color: oklch(35.3% 0.114 311.0);
Tailwind
colors: {
  custom: {
    50: '#826292',
    500: '#4e2566',
    950: '#000000',
  },
}
SCSS
$custom: #4e2566;
$custom-light: #826292;
$custom-dark: #000000;
JSON
{
  "hex": "#4e2566",
  "rgb": {
    "r": 78,
    "g": 37,
    "b": 102
  },
  "hsl": {
    "h": 277.846,
    "s": 46.763,
    "l": 27.255
  },
  "oklch": {
    "l": 0.35276,
    "c": 0.11412,
    "h": 311
  },
  "luminance": 0.03902
}

Semantic roles & 50–950 ramp

primary
#4E2566
secondary
#6A994E
accent
#D65183
background
#F8F5F9
surface
#EFEAF1
border
#CAC6CB
text
#0B050D
muted
#7C797E

Preview Lab

Preview with #4E2566

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

Preview Lab → · Contrast checker → · Palette generator →

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