#4E269F#4E269F

#4E269F is a dark, vivid violet. Relative luminance 0.055; OKLCH L 40.1% C 0.181 H 291.0°. Best body text is #FFFFFF at 9.99:1 contrast (WCAG AA passes).

Color values

HEX#4E269F
RGBrgb(78, 38, 159)
HSLhsl(260, 61%, 39%)
HSVhsv(260, 76%, 62%)
CMYKcmyk(50.9%, 76.1%, 0%, 37.6%)
CIE-LABlab(28.14, 46.51, -58.68)
CIE-LCHlch(28.14, 74.88, 308.40°)
OKLaboklab(40.14% 0.0648 -0.1685)
OKLCHoklch(40.14% 0.181 291)
XYZxyz(10.0912, 5.5087, 33.3257)
Luminance0.0551 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E269F #779F26
analogous
#263A9F #4E269F #8A269F
triadic
#4E269F #9F4E26 #269F4E
tetradic
#4E269F #9F263A #779F26 #269F8A
square
#4E269F #9F263A #779F26 #269F8A
split-complementary
#4E269F #9F8A26 #3A9F26
monochromatic
#1E0E3C #361A6E #4E269F #6734CE #8C65DA

Accessibility & contrast

On white

9.99
#4E269F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.10
#4E269F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E269F
9.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E269F#FFFFFF#000000##FFFFFF
##4E269F1.009.992.109.99
#FFFFFF9.991.0021.001.00
#0000002.1021.001.0021.00
##FFFFFF9.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0044A2
Deuteranopia (green-blind)
#00409D
Tritanopia (blue-blind)
#324761
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #4e269f;
/* rgb */ color: rgb(78, 38, 159);
/* oklch */ color: oklch(40.1% 0.181 291.0);
Tailwind
colors: {
  custom: {
    50: '#8865bc',
    500: '#4e269f',
    950: '#000000',
  },
}
SCSS
$custom: #4e269f;
$custom-light: #8865bc;
$custom-dark: #000000;
JSON
{
  "hex": "#4e269f",
  "rgb": {
    "r": 78,
    "g": 38,
    "b": 159
  },
  "hsl": {
    "h": 259.835,
    "s": 61.421,
    "l": 38.627
  },
  "oklch": {
    "l": 0.40137,
    "c": 0.18057,
    "h": 291
  },
  "luminance": 0.05509
}

Semantic roles & 50–950 ramp

primary
#4E269F
secondary
#A1C061
accent
#E543AF
background
#F8F6FB
surface
#F0EBF7
border
#CBC6D0
text
#0C0612
muted
#7D7A81

Preview Lab

Preview with #4E269F

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

Preview Lab → · Contrast checker → · Palette generator →

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