#4E2768#4E2768

#4E2768 is a dark, moderate violet. Relative luminance 0.041; OKLCH L 35.7% C 0.113 H 309.5°. Best body text is #FFFFFF at 11.58:1 contrast (WCAG AA passes).

Color values

HEX#4E2768
RGBrgb(78, 39, 104)
HSLhsl(276, 45%, 28%)
HSVhsv(276, 63%, 41%)
CMYKcmyk(25%, 62.5%, 0%, 59.2%)
CIE-LABlab(23.90, 31.06, -31.04)
CIE-LCHlch(23.90, 43.91, 315.01°)
OKLaboklab(35.72% 0.072 -0.0874)
OKLCHoklch(35.72% 0.113 309.5)
XYZxyz(6.3656, 4.0703, 13.5443)
Luminance0.0407 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E2768 #416827
analogous
#2D2768 #4E2768 #682761
triadic
#4E2768 #684E27 #27684E
tetradic
#4E2768 #682D27 #416827 #276168
square
#4E2768 #682D27 #416827 #276168
split-complementary
#4E2768 #616827 #27682D
monochromatic
#110816 #2D163B #4E2768 #6F3895 #904DBC

Accessibility & contrast

On white

11.58
#4E2768 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.81
#4E2768 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E2768
11.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E2768#FFFFFF#000000##FFFFFF
##4E27681.0011.581.8111.58
#FFFFFF11.581.0021.001.00
#0000001.8121.001.0021.00
##FFFFFF11.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0F376A
Deuteranopia (green-blind)
#1F3966
Tritanopia (blue-blind)
#4A3343
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #4e2768;
/* rgb */ color: rgb(78, 39, 104);
/* oklch */ color: oklch(35.7% 0.113 309.5);
Tailwind
colors: {
  custom: {
    50: '#826393',
    500: '#4e2768',
    950: '#000000',
  },
}
SCSS
$custom: #4e2768;
$custom-light: #826393;
$custom-dark: #000000;
JSON
{
  "hex": "#4e2768",
  "rgb": {
    "r": 78,
    "g": 39,
    "b": 104
  },
  "hsl": {
    "h": 276,
    "s": 45.455,
    "l": 28.039
  },
  "oklch": {
    "l": 0.35724,
    "c": 0.11323,
    "h": 309.5
  },
  "luminance": 0.0407
}

Semantic roles & 50–950 ramp

primary
#4E2768
secondary
#6E9B50
accent
#D55387
background
#F8F6F9
surface
#EFEBF1
border
#CAC6CB
text
#0B050D
muted
#7C7A7E

Preview Lab

Preview with #4E2768

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

Preview Lab → · Contrast checker → · Palette generator →

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