#4E2867#4E2867

#4E2867 is a dark, moderate violet. Relative luminance 0.041; OKLCH L 35.8% C 0.110 H 309.8°. Best body text is #FFFFFF at 11.52:1 contrast (WCAG AA passes).

Color values

HEX#4E2867
RGBrgb(78, 40, 103)
HSLhsl(276, 44%, 28%)
HSVhsv(276, 61%, 40%)
CMYKcmyk(24.3%, 61.2%, 0%, 59.6%)
CIE-LABlab(24.05, 30.22, -30.15)
CIE-LCHlch(24.05, 42.69, 315.07°)
OKLaboklab(35.81% 0.0706 -0.0848)
OKLCHoklch(35.81% 0.11 309.8)
XYZxyz(6.3484, 4.1167, 13.2895)
Luminance0.0412 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E2867 #416728
analogous
#2E2867 #4E2867 #672860
triadic
#4E2867 #674E28 #28674E
tetradic
#4E2867 #672E28 #416728 #286067
square
#4E2867 #672E28 #416728 #286067
split-complementary
#4E2867 #606728 #28672E
monochromatic
#110916 #2D173B #4E2867 #6F3993 #904FBB

Accessibility & contrast

On white

11.52
#4E2867 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.82
#4E2867 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E2867
11.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E2867#FFFFFF#000000##FFFFFF
##4E28671.0011.521.8211.52
#FFFFFF11.521.0021.001.00
#0000001.8221.001.0021.00
##FFFFFF11.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#123769
Deuteranopia (green-blind)
#213A65
Tritanopia (blue-blind)
#4B3443
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #4e2867;
/* rgb */ color: rgb(78, 40, 103);
/* oklch */ color: oklch(35.8% 0.110 309.8);
Tailwind
colors: {
  custom: {
    50: '#826493',
    500: '#4e2867',
    950: '#000000',
  },
}
SCSS
$custom: #4e2867;
$custom-light: #826493;
$custom-dark: #000000;
JSON
{
  "hex": "#4e2867",
  "rgb": {
    "r": 78,
    "g": 40,
    "b": 103
  },
  "hsl": {
    "h": 276.19,
    "s": 44.056,
    "l": 28.039
  },
  "oklch": {
    "l": 0.35813,
    "c": 0.11031,
    "h": 309.8
  },
  "luminance": 0.04117
}

Semantic roles & 50–950 ramp

primary
#4E2867
secondary
#6E9A51
accent
#D45487
background
#F8F6F9
surface
#EFEBF1
border
#CAC6CB
text
#0B050D
muted
#7C7A7E

Preview Lab

Preview with #4E2867

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

Preview Lab → · Contrast checker → · Palette generator →

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