#4E2F85#4E2F85

#4E2F85 is a dark, vivid violet. Relative luminance 0.053; OKLCH L 39.1% C 0.138 H 296.0°. Best body text is #FFFFFF at 10.15:1 contrast (WCAG AA passes).

Color values

HEX#4E2F85
RGBrgb(78, 47, 133)
HSLhsl(262, 48%, 35%)
HSVhsv(262, 65%, 52%)
CMYKcmyk(41.4%, 64.7%, 0%, 47.8%)
CIE-LABlab(27.70, 34.28, -43.38)
CIE-LCHlch(27.70, 55.29, 308.32°)
OKLaboklab(39.14% 0.0603 -0.1236)
OKLCHoklch(39.14% 0.138 296)
XYZxyz(8.3909, 5.3460, 22.7755)
Luminance0.0535 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E2F85 #66852F
analogous
#2F3B85 #4E2F85 #792F85
triadic
#4E2F85 #854E2F #2F854E
tetradic
#4E2F85 #852F3B #66852F #2F8579
square
#4E2F85 #852F3B #66852F #2F8579
split-complementary
#4E2F85 #85792F #3B852F
monochromatic
#190F2B #331F58 #4E2F85 #693FB2 #8966C9

Accessibility & contrast

On white

10.15
#4E2F85 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.07
#4E2F85 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E2F85
10.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E2F85#FFFFFF#000000##FFFFFF
##4E2F851.0010.152.0710.15
#FFFFFF10.151.0021.001.00
#0000002.0721.001.0021.00
##FFFFFF10.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004288
Deuteranopia (green-blind)
#004083
Tritanopia (blue-blind)
#404255
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #4e2f85;
/* rgb */ color: rgb(78, 47, 133);
/* oklch */ color: oklch(39.1% 0.138 296.0);
Tailwind
colors: {
  custom: {
    50: '#8469a9',
    500: '#4e2f85',
    950: '#000000',
  },
}
SCSS
$custom: #4e2f85;
$custom-light: #8469a9;
$custom-dark: #000000;
JSON
{
  "hex": "#4e2f85",
  "rgb": {
    "r": 78,
    "g": 47,
    "b": 133
  },
  "hsl": {
    "h": 261.628,
    "s": 47.778,
    "l": 35.294
  },
  "oklch": {
    "l": 0.39144,
    "c": 0.13756,
    "h": 296
  },
  "luminance": 0.05346
}

Semantic roles & 50–950 ramp

primary
#4E2F85
secondary
#93B060
accent
#D750A7
background
#F8F6FA
surface
#EFEBF4
border
#CAC6CE
text
#0B0610
muted
#7C7A7F

Preview Lab

Preview with #4E2F85

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

Preview Lab → · Contrast checker → · Palette generator →

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