#4E2968#4E2968

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

Color values

HEX#4E2968
RGBrgb(78, 41, 104)
HSLhsl(275, 43%, 28%)
HSVhsv(275, 61%, 41%)
CMYKcmyk(25%, 60.6%, 0%, 59.2%)
CIE-LABlab(24.34, 29.89, -30.34)
CIE-LCHlch(24.34, 42.59, 314.57°)
OKLaboklab(36.04% 0.0692 -0.0853)
OKLCHoklch(36.04% 0.11 309)
XYZxyz(6.4330, 4.2052, 13.5668)
Luminance0.0420 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E2968 #436829
analogous
#2E2968 #4E2968 #682962
triadic
#4E2968 #684E29 #29684E
tetradic
#4E2968 #682E29 #436829 #296268
square
#4E2968 #682E29 #436829 #296268
split-complementary
#4E2968 #626829 #29682E
monochromatic
#100916 #2D183C #4E2968 #6F3A94 #8F51BA

Accessibility & contrast

On white

11.41
#4E2968 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.84
#4E2968 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E2968
11.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E2968#FFFFFF#000000##FFFFFF
##4E29681.0011.411.8411.41
#FFFFFF11.411.0021.001.00
#0000001.8421.001.0021.00
##FFFFFF11.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#13386A
Deuteranopia (green-blind)
#213A66
Tritanopia (blue-blind)
#4A3544
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #4e2968;
/* rgb */ color: rgb(78, 41, 104);
/* oklch */ color: oklch(36.0% 0.110 309.0);
Tailwind
colors: {
  custom: {
    50: '#826493',
    500: '#4e2968',
    950: '#000000',
  },
}
SCSS
$custom: #4e2968;
$custom-light: #826493;
$custom-dark: #000000;
JSON
{
  "hex": "#4e2968",
  "rgb": {
    "r": 78,
    "g": 41,
    "b": 104
  },
  "hsl": {
    "h": 275.238,
    "s": 43.448,
    "l": 28.431
  },
  "oklch": {
    "l": 0.36043,
    "c": 0.10984,
    "h": 309
  },
  "luminance": 0.04205
}

Semantic roles & 50–950 ramp

primary
#4E2968
secondary
#709A52
accent
#D35589
background
#F8F6F9
surface
#EFEBF1
border
#CAC6CB
text
#0B050D
muted
#7C7A7E

Preview Lab

Preview with #4E2968

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

Preview Lab → · Contrast checker → · Palette generator →

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