#4E2B85#4E2B85

#4E2B85 is a dark, vivid violet. Relative luminance 0.050; OKLCH L 38.5% C 0.143 H 297.0°. Best body text is #FFFFFF at 10.46:1 contrast (WCAG AA passes).

Color values

HEX#4E2B85
RGBrgb(78, 43, 133)
HSLhsl(263, 51%, 35%)
HSVhsv(263, 68%, 52%)
CMYKcmyk(41.4%, 67.7%, 0%, 47.8%)
CIE-LABlab(26.85, 36.58, -44.75)
CIE-LCHlch(26.85, 57.80, 309.26°)
OKLaboklab(38.53% 0.0651 -0.1277)
OKLCHoklch(38.53% 0.143 297)
XYZxyz(8.2383, 5.0408, 22.7247)
Luminance0.0504 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E2B85 #62852B
analogous
#2B3585 #4E2B85 #7B2B85
triadic
#4E2B85 #854E2B #2B854E
tetradic
#4E2B85 #852B35 #62852B #2B857B
square
#4E2B85 #852B35 #62852B #2B857B
split-complementary
#4E2B85 #857B2B #35852B
monochromatic
#180D29 #331C57 #4E2B85 #693AB3 #895FCB

Accessibility & contrast

On white

10.46
#4E2B85 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.01
#4E2B85 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E2B85
10.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E2B85#FFFFFF#000000##FFFFFF
##4E2B851.0010.462.0110.46
#FFFFFF10.461.0021.001.00
#0000002.0121.001.0021.00
##FFFFFF10.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004088
Deuteranopia (green-blind)
#003E83
Tritanopia (blue-blind)
#404054
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #4e2b85;
/* rgb */ color: rgb(78, 43, 133);
/* oklch */ color: oklch(38.5% 0.143 297.0);
Tailwind
colors: {
  custom: {
    50: '#8467a9',
    500: '#4e2b85',
    950: '#000000',
  },
}
SCSS
$custom: #4e2b85;
$custom-light: #8467a9;
$custom-dark: #000000;
JSON
{
  "hex": "#4e2b85",
  "rgb": {
    "r": 78,
    "g": 43,
    "b": 133
  },
  "hsl": {
    "h": 263.333,
    "s": 51.136,
    "l": 34.51
  },
  "oklch": {
    "l": 0.38531,
    "c": 0.14328,
    "h": 297
  },
  "luminance": 0.05041
}

Semantic roles & 50–950 ramp

primary
#4E2B85
secondary
#90B15B
accent
#DB4DA4
background
#F8F6FA
surface
#F0EBF4
border
#CBC6CE
text
#0B0610
muted
#7C7A7F

Preview Lab

Preview with #4E2B85

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

Preview Lab → · Contrast checker → · Palette generator →

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