#4E258E#4E258E

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

Color values

HEX#4E258E
RGBrgb(78, 37, 142)
HSLhsl(263, 59%, 35%)
HSVhsv(263, 74%, 56%)
CMYKcmyk(45.1%, 73.9%, 0%, 44.3%)
CIE-LABlab(26.44, 42.29, -51.03)
CIE-LCHlch(26.44, 66.28, 309.65°)
OKLaboklab(38.47% 0.0699 -0.1461)
OKLCHoklch(38.47% 0.162 295.6)
XYZxyz(8.6846, 4.8956, 26.0733)
Luminance0.0490 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E258E #658E25
analogous
#25308E #4E258E #83258E
triadic
#4E258E #8E4E25 #258E4E
tetradic
#4E258E #8E2530 #658E25 #258E83
square
#4E258E #8E2530 #658E25 #258E83
split-complementary
#4E258E #8E8325 #308E25
monochromatic
#190C2D #33185D #4E258E #6932BF #895AD4

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##4E258E#FFFFFF#000000##FFFFFF
##4E258E1.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)
#003F91
Deuteranopia (green-blind)
#003D8C
Tritanopia (blue-blind)
#3C4057
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #4e258e;
/* rgb */ color: rgb(78, 37, 142);
/* oklch */ color: oklch(38.5% 0.162 295.6);
Tailwind
colors: {
  custom: {
    50: '#8663b0',
    500: '#4e258e',
    950: '#000000',
  },
}
SCSS
$custom: #4e258e;
$custom-light: #8663b0;
$custom-dark: #000000;
JSON
{
  "hex": "#4e258e",
  "rgb": {
    "r": 78,
    "g": 37,
    "b": 142
  },
  "hsl": {
    "h": 263.429,
    "s": 58.659,
    "l": 35.098
  },
  "oklch": {
    "l": 0.38467,
    "c": 0.16194,
    "h": 295.6
  },
  "luminance": 0.04896
}

Semantic roles & 50–950 ramp

primary
#4E258E
secondary
#92B956
accent
#E246A5
background
#F8F6FA
surface
#F0EBF5
border
#CBC6CF
text
#0C0511
muted
#7D7A80

Preview Lab

Preview with #4E258E

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

Preview Lab → · Contrast checker → · Palette generator →

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