#4E268E#4E268E

#4E268E is a dark, vivid violet. Relative luminance 0.050; OKLCH L 38.6% C 0.161 H 295.4°. Best body text is #FFFFFF at 10.54:1 contrast (WCAG AA passes).

Color values

HEX#4E268E
RGBrgb(78, 38, 142)
HSLhsl(263, 58%, 35%)
HSVhsv(263, 73%, 56%)
CMYKcmyk(45.1%, 73.2%, 0%, 44.3%)
CIE-LABlab(26.62, 41.78, -50.74)
CIE-LCHlch(26.62, 65.73, 309.47°)
OKLaboklab(38.6% 0.0689 -0.1452)
OKLCHoklch(38.6% 0.161 295.4)
XYZxyz(8.7162, 4.9587, 26.0838)
Luminance0.0496 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E268E #668E26
analogous
#26328E #4E268E #82268E
triadic
#4E268E #8E4E26 #268E4E
tetradic
#4E268E #8E2632 #668E26 #268E82
square
#4E268E #8E2632 #668E26 #268E82
split-complementary
#4E268E #8E8226 #328E26
monochromatic
#190C2D #33195E #4E268E #6933BE #895BD3

Accessibility & contrast

On white

10.54
#4E268E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.99
#4E268E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E268E
10.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E268E#FFFFFF#000000##FFFFFF
##4E268E1.0010.541.9910.54
#FFFFFF10.541.0021.001.00
#0000001.9921.001.0021.00
##FFFFFF10.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004091
Deuteranopia (green-blind)
#003D8C
Tritanopia (blue-blind)
#3C4057
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #4e268e;
/* rgb */ color: rgb(78, 38, 142);
/* oklch */ color: oklch(38.6% 0.161 295.4);
Tailwind
colors: {
  custom: {
    50: '#8664b0',
    500: '#4e268e',
    950: '#000000',
  },
}
SCSS
$custom: #4e268e;
$custom-light: #8664b0;
$custom-dark: #000000;
JSON
{
  "hex": "#4e268e",
  "rgb": {
    "r": 78,
    "g": 38,
    "b": 142
  },
  "hsl": {
    "h": 263.077,
    "s": 57.778,
    "l": 35.294
  },
  "oklch": {
    "l": 0.38595,
    "c": 0.16074,
    "h": 295.4
  },
  "luminance": 0.04959
}

Semantic roles & 50–950 ramp

primary
#4E268E
secondary
#93B858
accent
#E147A6
background
#F8F6FA
surface
#F0EBF5
border
#CBC6CF
text
#0C0611
muted
#7D7A80

Preview Lab

Preview with #4E268E

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

Preview Lab → · Contrast checker → · Palette generator →

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