#4E267B#4E267B

#4E267B is a dark, vivid violet. Relative luminance 0.044; OKLCH L 37.0% C 0.138 H 301.5°. Best body text is #FFFFFF at 11.13:1 contrast (WCAG AA passes).

Color values

HEX#4E267B
RGBrgb(78, 38, 123)
HSLhsl(268, 53%, 32%)
HSVhsv(268, 69%, 48%)
CMYKcmyk(36.6%, 69.1%, 0%, 51.8%)
CIE-LABlab(25.06, 36.59, -41.36)
CIE-LCHlch(25.06, 55.22, 311.50°)
OKLaboklab(37% 0.0722 -0.1176)
OKLCHoklch(37% 0.138 301.5)
XYZxyz(7.4093, 4.4360, 19.2009)
Luminance0.0444 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E267B #537B26
analogous
#26297B #4E267B #79267B
triadic
#4E267B #7B4E26 #267B4E
tetradic
#4E267B #7B2629 #537B26 #267B79
square
#4E267B #7B2629 #537B26 #267B79
split-complementary
#4E267B #7B7926 #297B26
monochromatic
#13091D #30184C #4E267B #6C34AA #8A52CA

Accessibility & contrast

On white

11.13
#4E267B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.89
#4E267B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E267B
11.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E267B#FFFFFF#000000##FFFFFF
##4E267B1.0011.131.8911.13
#FFFFFF11.131.0021.001.00
#0000001.8921.001.0021.00
##FFFFFF11.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003B7E
Deuteranopia (green-blind)
#003B79
Tritanopia (blue-blind)
#45394D
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #4e267b;
/* rgb */ color: rgb(78, 38, 123);
/* oklch */ color: oklch(37.0% 0.138 301.5);
Tailwind
colors: {
  custom: {
    50: '#8463a2',
    500: '#4e267b',
    950: '#000000',
  },
}
SCSS
$custom: #4e267b;
$custom-light: #8463a2;
$custom-dark: #000000;
JSON
{
  "hex": "#4e267b",
  "rgb": {
    "r": 78,
    "g": 38,
    "b": 123
  },
  "hsl": {
    "h": 268.235,
    "s": 52.795,
    "l": 31.569
  },
  "oklch": {
    "l": 0.37,
    "c": 0.13802,
    "h": 301.5
  },
  "luminance": 0.04436
}

Semantic roles & 50–950 ramp

primary
#4E267B
secondary
#81AD50
accent
#DC4C98
background
#F8F6FA
surface
#EFEBF3
border
#CAC6CD
text
#0B050F
muted
#7C7A7F

Preview Lab

Preview with #4E267B

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

Preview Lab → · Contrast checker → · Palette generator →

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