#4E269A#4E269A

#4E269A is a dark, vivid violet. Relative luminance 0.053; OKLCH L 39.7% C 0.175 H 292.2°. Best body text is #FFFFFF at 10.16:1 contrast (WCAG AA passes).

Color values

HEX#4E269A
RGBrgb(78, 38, 154)
HSLhsl(261, 60%, 38%)
HSVhsv(261, 75%, 60%)
CMYKcmyk(49.4%, 75.3%, 0%, 39.6%)
CIE-LABlab(27.68, 45.12, -56.39)
CIE-LCHlch(27.68, 72.21, 308.66°)
OKLaboklab(39.67% 0.0661 -0.1618)
OKLCHoklch(39.67% 0.175 292.2)
XYZxyz(9.6661, 5.3387, 31.0867)
Luminance0.0534 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E269A #729A26
analogous
#26389A #4E269A #88269A
triadic
#4E269A #9A4E26 #269A4E
tetradic
#4E269A #9A2638 #729A26 #269A88
square
#4E269A #9A2638 #729A26 #269A88
split-complementary
#4E269A #9A8826 #389A26
monochromatic
#1C0E38 #351A69 #4E269A #6732CB #8B62D8

Accessibility & contrast

On white

10.16
#4E269A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.07
#4E269A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E269A
10.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E269A#FFFFFF#000000##FFFFFF
##4E269A1.0010.162.0710.16
#FFFFFF10.161.0021.001.00
#0000002.0721.001.0021.00
##FFFFFF10.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00439D
Deuteranopia (green-blind)
#003F98
Tritanopia (blue-blind)
#36455E
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #4e269a;
/* rgb */ color: rgb(78, 38, 154);
/* oklch */ color: oklch(39.7% 0.175 292.2);
Tailwind
colors: {
  custom: {
    50: '#8765b9',
    500: '#4e269a',
    950: '#000000',
  },
}
SCSS
$custom: #4e269a;
$custom-light: #8765b9;
$custom-dark: #000000;
JSON
{
  "hex": "#4e269a",
  "rgb": {
    "r": 78,
    "g": 38,
    "b": 154
  },
  "hsl": {
    "h": 260.69,
    "s": 60.417,
    "l": 37.647
  },
  "oklch": {
    "l": 0.39674,
    "c": 0.17479,
    "h": 292.2
  },
  "luminance": 0.05339
}

Semantic roles & 50–950 ramp

primary
#4E269A
secondary
#9DBE5E
accent
#E444AD
background
#F8F6FB
surface
#F0EBF6
border
#CBC6D0
text
#0C0612
muted
#7D7A81

Preview Lab

Preview with #4E269A

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

Preview Lab → · Contrast checker → · Palette generator →

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