#4E269B#4E269B

#4E269B is a dark, vivid violet. Relative luminance 0.054; OKLCH L 39.8% C 0.176 H 292.0°. Best body text is #FFFFFF at 10.12:1 contrast (WCAG AA passes).

Color values

HEX#4E269B
RGBrgb(78, 38, 155)
HSLhsl(261, 61%, 38%)
HSVhsv(261, 75%, 61%)
CMYKcmyk(49.7%, 75.5%, 0%, 39.2%)
CIE-LABlab(27.77, 45.39, -56.85)
CIE-LCHlch(27.77, 72.75, 308.61°)
OKLaboklab(39.77% 0.0659 -0.1631)
OKLCHoklch(39.77% 0.176 292)
XYZxyz(9.7497, 5.3721, 31.5272)
Luminance0.0537 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E269B #739B26
analogous
#26389B #4E269B #89269B
triadic
#4E269B #9B4E26 #269B4E
tetradic
#4E269B #9B2638 #739B26 #269B89
square
#4E269B #9B2638 #739B26 #269B89
split-complementary
#4E269B #9B8926 #389B26
monochromatic
#1D0E39 #351A6A #4E269B #6732CC #8B63D9

Accessibility & contrast

On white

10.12
#4E269B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4E269B
10.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E269B#FFFFFF#000000##FFFFFF
##4E269B1.0010.122.0710.12
#FFFFFF10.121.0021.001.00
#0000002.0721.001.0021.00
##FFFFFF10.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00439E
Deuteranopia (green-blind)
#003F99
Tritanopia (blue-blind)
#35465F
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #4e269b;
/* rgb */ color: rgb(78, 38, 155);
/* oklch */ color: oklch(39.8% 0.176 292.0);
Tailwind
colors: {
  custom: {
    50: '#8865b9',
    500: '#4e269b',
    950: '#000000',
  },
}
SCSS
$custom: #4e269b;
$custom-light: #8865b9;
$custom-dark: #000000;
JSON
{
  "hex": "#4e269b",
  "rgb": {
    "r": 78,
    "g": 38,
    "b": 155
  },
  "hsl": {
    "h": 260.513,
    "s": 60.622,
    "l": 37.843
  },
  "oklch": {
    "l": 0.39766,
    "c": 0.17595,
    "h": 292
  },
  "luminance": 0.05372
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #4E269B

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

Preview Lab → · Contrast checker → · Palette generator →

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