#4E2F89#4E2F89

#4E2F89 is a dark, vivid violet. Relative luminance 0.055; OKLCH L 39.5% C 0.143 H 294.9°. Best body text is #FFFFFF at 10.04:1 contrast (WCAG AA passes).

Color values

HEX#4E2F89
RGBrgb(78, 47, 137)
HSLhsl(261, 49%, 36%)
HSVhsv(261, 66%, 54%)
CMYKcmyk(43.1%, 65.7%, 0%, 46.3%)
CIE-LABlab(28.00, 35.43, -45.38)
CIE-LCHlch(28.00, 57.57, 307.98°)
OKLaboklab(39.46% 0.06 -0.1295)
OKLCHoklch(39.46% 0.143 294.9)
XYZxyz(8.6726, 5.4587, 24.2588)
Luminance0.0546 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E2F89 #6A892F
analogous
#2F3D89 #4E2F89 #7B2F89
triadic
#4E2F89 #894E2F #2F894E
tetradic
#4E2F89 #892F3D #6A892F #2F897B
square
#4E2F89 #892F3D #6A892F #2F897B
split-complementary
#4E2F89 #897B2F #3D892F
monochromatic
#1A102E #341F5B #4E2F89 #683FB7 #8A67CB

Accessibility & contrast

On white

10.04
#4E2F89 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.09
#4E2F89 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E2F89
10.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E2F89#FFFFFF#000000##FFFFFF
##4E2F891.0010.042.0910.04
#FFFFFF10.041.0021.001.00
#0000002.0921.001.0021.00
##FFFFFF10.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00438C
Deuteranopia (green-blind)
#004187
Tritanopia (blue-blind)
#3E4457
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #4e2f89;
/* rgb */ color: rgb(78, 47, 137);
/* oklch */ color: oklch(39.5% 0.143 294.9);
Tailwind
colors: {
  custom: {
    50: '#8469ac',
    500: '#4e2f89',
    950: '#000000',
  },
}
SCSS
$custom: #4e2f89;
$custom-light: #8469ac;
$custom-dark: #000000;
JSON
{
  "hex": "#4e2f89",
  "rgb": {
    "r": 78,
    "g": 47,
    "b": 137
  },
  "hsl": {
    "h": 260.667,
    "s": 48.913,
    "l": 36.078
  },
  "oklch": {
    "l": 0.39462,
    "c": 0.14271,
    "h": 294.9
  },
  "luminance": 0.05459
}

Semantic roles & 50–950 ramp

primary
#4E2F89
secondary
#96B262
accent
#D84FA9
background
#F8F6FA
surface
#F0EBF4
border
#CBC6CE
text
#0B0610
muted
#7C7A7F

Preview Lab

Preview with #4E2F89

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

Preview Lab → · Contrast checker → · Palette generator →

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