#4E2165#4E2165

#4E2165 is a dark, moderate violet. Relative luminance 0.036; OKLCH L 34.6% C 0.119 H 312.3°. Best body text is #FFFFFF at 12.14:1 contrast (WCAG AA passes).

Color values

HEX#4E2165
RGBrgb(78, 33, 101)
HSLhsl(280, 51%, 26%)
HSVhsv(280, 67%, 40%)
CMYKcmyk(22.8%, 67.3%, 0%, 60.4%)
CIE-LABlab(22.47, 33.65, -31.38)
CIE-LCHlch(22.47, 46.01, 317.00°)
OKLaboklab(34.62% 0.0804 -0.0883)
OKLCHoklch(34.62% 0.119 312.3)
XYZxyz(6.0343, 3.6472, 12.6955)
Luminance0.0365 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E2165 #386521
analogous
#2C2165 #4E2165 #65215A
triadic
#4E2165 #654E21 #21654E
tetradic
#4E2165 #652C21 #386521 #215A65
square
#4E2165 #652C21 #386521 #215A65
split-complementary
#4E2165 #5A6521 #21652C
monochromatic
#120817 #2A1237 #4E2165 #723093 #9540C1

Accessibility & contrast

On white

12.14
#4E2165 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.73
#4E2165 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E2165
12.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E2165#FFFFFF#000000##FFFFFF
##4E21651.0012.141.7312.14
#FFFFFF12.141.0021.001.00
#0000001.7321.001.0021.00
##FFFFFF12.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#033367
Deuteranopia (green-blind)
#1C3763
Tritanopia (blue-blind)
#4B2E3F
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #4e2165;
/* rgb */ color: rgb(78, 33, 101);
/* oklch */ color: oklch(34.6% 0.119 312.3);
Tailwind
colors: {
  custom: {
    50: '#825f91',
    500: '#4e2165',
    950: '#000000',
  },
}
SCSS
$custom: #4e2165;
$custom-light: #825f91;
$custom-dark: #000000;
JSON
{
  "hex": "#4e2165",
  "rgb": {
    "r": 78,
    "g": 33,
    "b": 101
  },
  "hsl": {
    "h": 279.706,
    "s": 50.746,
    "l": 26.275
  },
  "oklch": {
    "l": 0.34618,
    "c": 0.11941,
    "h": 312.3
  },
  "luminance": 0.03647
}

Semantic roles & 50–950 ramp

primary
#4E2165
secondary
#649949
accent
#DA4E7D
background
#F8F5F8
surface
#EFE9F0
border
#CAC5CB
text
#0B050D
muted
#7C797D

Preview Lab

Preview with #4E2165

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

Preview Lab → · Contrast checker → · Palette generator →

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