#4E267D#4E267D

#4E267D is a dark, vivid violet. Relative luminance 0.045; OKLCH L 37.2% C 0.140 H 300.8°. Best body text is #FFFFFF at 11.07:1 contrast (WCAG AA passes).

Color values

HEX#4E267D
RGBrgb(78, 38, 125)
HSLhsl(268, 53%, 32%)
HSVhsv(268, 70%, 49%)
CMYKcmyk(37.6%, 69.6%, 0%, 51%)
CIE-LABlab(25.22, 37.13, -42.37)
CIE-LCHlch(25.22, 56.34, 311.23°)
OKLaboklab(37.16% 0.0719 -0.1206)
OKLCHoklch(37.16% 0.14 300.8)
XYZxyz(7.5358, 4.4865, 19.8670)
Luminance0.0449 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E267D #557D26
analogous
#262A7D #4E267D #7A267D
triadic
#4E267D #7D4E26 #267D4E
tetradic
#4E267D #7D262A #557D26 #267D7A
square
#4E267D #7D262A #557D26 #267D7A
split-complementary
#4E267D #7D7A26 #2A7D26
monochromatic
#13091F #31184E #4E267D #6B34AC #8A53CB

Accessibility & contrast

On white

11.07
#4E267D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.90
#4E267D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E267D
11.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E267D#FFFFFF#000000##FFFFFF
##4E267D1.0011.071.9011.07
#FFFFFF11.071.0021.001.00
#0000001.9021.001.0021.00
##FFFFFF11.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003B80
Deuteranopia (green-blind)
#003B7B
Tritanopia (blue-blind)
#443A4E
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #4e267d;
/* rgb */ color: rgb(78, 38, 125);
/* oklch */ color: oklch(37.2% 0.140 300.8);
Tailwind
colors: {
  custom: {
    50: '#8463a3',
    500: '#4e267d',
    950: '#000000',
  },
}
SCSS
$custom: #4e267d;
$custom-light: #8463a3;
$custom-dark: #000000;
JSON
{
  "hex": "#4e267d",
  "rgb": {
    "r": 78,
    "g": 38,
    "b": 125
  },
  "hsl": {
    "h": 267.586,
    "s": 53.374,
    "l": 31.961
  },
  "oklch": {
    "l": 0.37161,
    "c": 0.14044,
    "h": 300.8
  },
  "luminance": 0.04487
}

Semantic roles & 50–950 ramp

primary
#4E267D
secondary
#83AF50
accent
#DD4B9A
background
#F8F6FA
surface
#EFEBF4
border
#CAC6CE
text
#0B050F
muted
#7C7A7F

Preview Lab

Preview with #4E267D

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

Preview Lab → · Contrast checker → · Palette generator →

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