#4E267A#4E267A

#4E267A is a dark, vivid violet. Relative luminance 0.044; OKLCH L 36.9% C 0.137 H 301.9°. Best body text is #FFFFFF at 11.16:1 contrast (WCAG AA passes).

Color values

HEX#4E267A
RGBrgb(78, 38, 122)
HSLhsl(269, 53%, 31%)
HSVhsv(269, 69%, 48%)
CMYKcmyk(36.1%, 68.9%, 0%, 52.2%)
CIE-LABlab(24.99, 36.33, -40.85)
CIE-LCHlch(24.99, 54.66, 311.65°)
OKLaboklab(36.92% 0.0723 -0.1161)
OKLCHoklch(36.92% 0.137 301.9)
XYZxyz(7.3470, 4.4110, 18.8729)
Luminance0.0441 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E267A #527A26
analogous
#26287A #4E267A #78267A
triadic
#4E267A #7A4E26 #267A4E
tetradic
#4E267A #7A2628 #527A26 #267A78
square
#4E267A #7A2628 #527A26 #267A78
split-complementary
#4E267A #7A7826 #287A26
monochromatic
#12091D #30174B #4E267A #6C35A9 #8A51C9

Accessibility & contrast

On white

11.16
#4E267A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.88
#4E267A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E267A
11.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E267A#FFFFFF#000000##FFFFFF
##4E267A1.0011.161.8811.16
#FFFFFF11.161.0021.001.00
#0000001.8821.001.0021.00
##FFFFFF11.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003B7D
Deuteranopia (green-blind)
#013B78
Tritanopia (blue-blind)
#45394C
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #4e267a;
/* rgb */ color: rgb(78, 38, 122);
/* oklch */ color: oklch(36.9% 0.137 301.9);
Tailwind
colors: {
  custom: {
    50: '#8363a1',
    500: '#4e267a',
    950: '#000000',
  },
}
SCSS
$custom: #4e267a;
$custom-light: #8363a1;
$custom-dark: #000000;
JSON
{
  "hex": "#4e267a",
  "rgb": {
    "r": 78,
    "g": 38,
    "b": 122
  },
  "hsl": {
    "h": 268.571,
    "s": 52.5,
    "l": 31.373
  },
  "oklch": {
    "l": 0.36921,
    "c": 0.13681,
    "h": 301.9
  },
  "luminance": 0.04411
}

Semantic roles & 50–950 ramp

primary
#4E267A
secondary
#80AC50
accent
#DC4C97
background
#F8F6FA
surface
#EFEBF3
border
#CAC6CD
text
#0B050F
muted
#7C7A7F

Preview Lab

Preview with #4E267A

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

Preview Lab → · Contrast checker → · Palette generator →

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