#4E257D#4E257D

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

Color values

HEX#4E257D
RGBrgb(78, 37, 125)
HSLhsl(268, 54%, 32%)
HSVhsv(268, 70%, 49%)
CMYKcmyk(37.6%, 70.4%, 0%, 51%)
CIE-LABlab(25.02, 37.67, -42.68)
CIE-LCHlch(25.02, 56.93, 311.43°)
OKLaboklab(37.02% 0.0731 -0.1215)
OKLCHoklch(37.02% 0.142 301)
XYZxyz(7.5042, 4.4235, 19.8565)
Luminance0.0442 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E257D #547D25
analogous
#25287D #4E257D #7A257D
triadic
#4E257D #7D4E25 #257D4E
tetradic
#4E257D #7D2528 #547D25 #257D7A
square
#4E257D #7D2528 #547D25 #257D7A
split-complementary
#4E257D #7D7A25 #287D25
monochromatic
#13091F #31174E #4E257D #6B33AC #8A51CB

Accessibility & contrast

On white

11.14
#4E257D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4E257D
11.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E257D#FFFFFF#000000##FFFFFF
##4E257D1.0011.141.8811.14
#FFFFFF11.141.0021.001.00
#0000001.8821.001.0021.00
##FFFFFF11.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003B80
Deuteranopia (green-blind)
#003B7B
Tritanopia (blue-blind)
#44394E
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #4e257d;
/* rgb */ color: rgb(78, 37, 125);
/* oklch */ color: oklch(37.0% 0.142 301.0);
Tailwind
colors: {
  custom: {
    50: '#8463a3',
    500: '#4e257d',
    950: '#000000',
  },
}
SCSS
$custom: #4e257d;
$custom-light: #8463a3;
$custom-dark: #000000;
JSON
{
  "hex": "#4e257d",
  "rgb": {
    "r": 78,
    "g": 37,
    "b": 125
  },
  "hsl": {
    "h": 267.955,
    "s": 54.321,
    "l": 31.765
  },
  "oklch": {
    "l": 0.37022,
    "c": 0.14182,
    "h": 301
  },
  "luminance": 0.04424
}

Semantic roles & 50–950 ramp

primary
#4E257D
secondary
#82AF4F
accent
#DE4A99
background
#F8F6FA
surface
#EFEBF4
border
#CAC6CE
text
#0B050F
muted
#7C7A7F

Preview Lab

Preview with #4E257D

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

Preview Lab → · Contrast checker → · Palette generator →

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