#4E268C#4E268C

#4E268C is a dark, vivid violet. Relative luminance 0.049; OKLCH L 38.4% C 0.158 H 296.0°. Best body text is #FFFFFF at 10.61:1 contrast (WCAG AA passes).

Color values

HEX#4E268C
RGBrgb(78, 38, 140)
HSLhsl(264, 57%, 35%)
HSVhsv(264, 73%, 55%)
CMYKcmyk(44.3%, 72.9%, 0%, 45.1%)
CIE-LABlab(26.45, 41.23, -49.77)
CIE-LCHlch(26.45, 64.63, 309.64°)
OKLaboklab(38.42% 0.0694 -0.1424)
OKLCHoklch(38.42% 0.158 296)
XYZxyz(8.5674, 4.8992, 25.3001)
Luminance0.0490 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E268C #648C26
analogous
#26318C #4E268C #81268C
triadic
#4E268C #8C4E26 #268C4E
tetradic
#4E268C #8C2631 #648C26 #268C81
square
#4E268C #8C2631 #648C26 #268C81
split-complementary
#4E268C #8C8126 #318C26
monochromatic
#180C2C #33195C #4E268C #6933BC #895AD2

Accessibility & contrast

On white

10.61
#4E268C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.98
#4E268C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E268C
10.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E268C#FFFFFF#000000##FFFFFF
##4E268C1.0010.611.9810.61
#FFFFFF10.611.0021.001.00
#0000001.9821.001.0021.00
##FFFFFF10.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003F8F
Deuteranopia (green-blind)
#003D8A
Tritanopia (blue-blind)
#3D4056
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #4e268c;
/* rgb */ color: rgb(78, 38, 140);
/* oklch */ color: oklch(38.4% 0.158 296.0);
Tailwind
colors: {
  custom: {
    50: '#8664ae',
    500: '#4e268c',
    950: '#000000',
  },
}
SCSS
$custom: #4e268c;
$custom-light: #8664ae;
$custom-dark: #000000;
JSON
{
  "hex": "#4e268c",
  "rgb": {
    "r": 78,
    "g": 38,
    "b": 140
  },
  "hsl": {
    "h": 263.529,
    "s": 57.303,
    "l": 34.902
  },
  "oklch": {
    "l": 0.38421,
    "c": 0.15838,
    "h": 296
  },
  "luminance": 0.04899
}

Semantic roles & 50–950 ramp

primary
#4E268C
secondary
#91B757
accent
#E147A4
background
#F8F6FA
surface
#F0EBF4
border
#CBC6CE
text
#0C0610
muted
#7D7A7F

Preview Lab

Preview with #4E268C

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

Preview Lab → · Contrast checker → · Palette generator →

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