#4E269E#4E269E

#4E269E is a dark, vivid violet. Relative luminance 0.055; OKLCH L 40.0% C 0.179 H 291.3°. Best body text is #FFFFFF at 10.02:1 contrast (WCAG AA passes).

Color values

HEX#4E269E
RGBrgb(78, 38, 158)
HSLhsl(260, 61%, 38%)
HSVhsv(260, 76%, 62%)
CMYKcmyk(50.6%, 75.9%, 0%, 38%)
CIE-LABlab(28.05, 46.23, -58.23)
CIE-LCHlch(28.05, 74.35, 308.45°)
OKLaboklab(40.04% 0.0651 -0.1672)
OKLCHoklch(40.04% 0.179 291.3)
XYZxyz(10.0048, 5.4742, 32.8706)
Luminance0.0548 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E269E #769E26
analogous
#263A9E #4E269E #8A269E
triadic
#4E269E #9E4E26 #269E4E
tetradic
#4E269E #9E263A #769E26 #269E8A
square
#4E269E #9E263A #769E26 #269E8A
split-complementary
#4E269E #9E8A26 #3A9E26
monochromatic
#1D0E3B #361A6D #4E269E #6733CE #8C65DA

Accessibility & contrast

On white

10.02
#4E269E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4E269E
10.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E269E#FFFFFF#000000##FFFFFF
##4E269E1.0010.022.1010.02
#FFFFFF10.021.0021.001.00
#0000002.1021.001.0021.00
##FFFFFF10.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0044A1
Deuteranopia (green-blind)
#00409C
Tritanopia (blue-blind)
#334760
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #4e269e;
/* rgb */ color: rgb(78, 38, 158);
/* oklch */ color: oklch(40.0% 0.179 291.3);
Tailwind
colors: {
  custom: {
    50: '#8865bc',
    500: '#4e269e',
    950: '#000000',
  },
}
SCSS
$custom: #4e269e;
$custom-light: #8865bc;
$custom-dark: #000000;
JSON
{
  "hex": "#4e269e",
  "rgb": {
    "r": 78,
    "g": 38,
    "b": 158
  },
  "hsl": {
    "h": 260,
    "s": 61.224,
    "l": 38.431
  },
  "oklch": {
    "l": 0.40044,
    "c": 0.17942,
    "h": 291.3
  },
  "luminance": 0.05475
}

Semantic roles & 50–950 ramp

primary
#4E269E
secondary
#A0C060
accent
#E443AF
background
#F8F6FB
surface
#F0EBF6
border
#CBC6D0
text
#0C0612
muted
#7D7A81

Preview Lab

Preview with #4E269E

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

Preview Lab → · Contrast checker → · Palette generator →

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