#4E2869#4E2869

#4E2869 is a dark, moderate violet. Relative luminance 0.042; OKLCH L 36.0% C 0.113 H 308.8°. Best body text is #FFFFFF at 11.47:1 contrast (WCAG AA passes).

Color values

HEX#4E2869
RGBrgb(78, 40, 105)
HSLhsl(275, 45%, 28%)
HSVhsv(275, 62%, 41%)
CMYKcmyk(25.7%, 61.9%, 0%, 58.8%)
CIE-LABlab(24.18, 30.73, -31.24)
CIE-LCHlch(24.18, 43.82, 314.53°)
OKLaboklab(35.95% 0.0706 -0.0879)
OKLCHoklch(35.95% 0.113 308.8)
XYZxyz(6.4500, 4.1573, 13.8245)
Luminance0.0416 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E2869 #436928
analogous
#2D2869 #4E2869 #692863
triadic
#4E2869 #694E28 #28694E
tetradic
#4E2869 #692D28 #436928 #286369
square
#4E2869 #692D28 #436928 #286369
split-complementary
#4E2869 #636928 #28692D
monochromatic
#100816 #2D173D #4E2869 #6F3995 #8F4FBC

Accessibility & contrast

On white

11.47
#4E2869 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.83
#4E2869 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E2869
11.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E2869#FFFFFF#000000##FFFFFF
##4E28691.0011.471.8311.47
#FFFFFF11.471.0021.001.00
#0000001.8321.001.0021.00
##FFFFFF11.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#10386B
Deuteranopia (green-blind)
#1F3A67
Tritanopia (blue-blind)
#4A3444
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #4e2869;
/* rgb */ color: rgb(78, 40, 105);
/* oklch */ color: oklch(36.0% 0.113 308.8);
Tailwind
colors: {
  custom: {
    50: '#826494',
    500: '#4e2869',
    950: '#000000',
  },
}
SCSS
$custom: #4e2869;
$custom-light: #826494;
$custom-dark: #000000;
JSON
{
  "hex": "#4e2869",
  "rgb": {
    "r": 78,
    "g": 40,
    "b": 105
  },
  "hsl": {
    "h": 275.077,
    "s": 44.828,
    "l": 28.431
  },
  "oklch": {
    "l": 0.35952,
    "c": 0.11279,
    "h": 308.8
  },
  "luminance": 0.04157
}

Semantic roles & 50–950 ramp

primary
#4E2869
secondary
#709C51
accent
#D55389
background
#F8F6F9
surface
#EFEBF1
border
#CAC6CB
text
#0B050D
muted
#7C7A7E

Preview Lab

Preview with #4E2869

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

Preview Lab → · Contrast checker → · Palette generator →

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