#4E2265#4E2265

#4E2265 is a dark, moderate violet. Relative luminance 0.037; OKLCH L 34.8% C 0.118 H 312.1°. Best body text is #FFFFFF at 12.06:1 contrast (WCAG AA passes).

Color values

HEX#4E2265
RGBrgb(78, 34, 101)
HSLhsl(279, 50%, 26%)
HSVhsv(279, 66%, 40%)
CMYKcmyk(22.8%, 66.3%, 0%, 60.4%)
CIE-LABlab(22.67, 33.11, -31.07)
CIE-LCHlch(22.67, 45.40, 316.83°)
OKLaboklab(34.76% 0.079 -0.0874)
OKLCHoklch(34.76% 0.118 312.1)
XYZxyz(6.0625, 3.7035, 12.7049)
Luminance0.0370 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E2265 #396522
analogous
#2D2265 #4E2265 #65225B
triadic
#4E2265 #654E22 #22654E
tetradic
#4E2265 #652D22 #396522 #225B65
square
#4E2265 #652D22 #396522 #225B65
split-complementary
#4E2265 #5B6522 #22652D
monochromatic
#120817 #2B1337 #4E2265 #713193 #9442BF

Accessibility & contrast

On white

12.06
#4E2265 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.74
#4E2265 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E2265
12.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E2265#FFFFFF#000000##FFFFFF
##4E22651.0012.061.7412.06
#FFFFFF12.061.0021.001.00
#0000001.7421.001.0021.00
##FFFFFF12.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#063467
Deuteranopia (green-blind)
#1D3763
Tritanopia (blue-blind)
#4B2F40
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #4e2265;
/* rgb */ color: rgb(78, 34, 101);
/* oklch */ color: oklch(34.8% 0.118 312.1);
Tailwind
colors: {
  custom: {
    50: '#826091',
    500: '#4e2265',
    950: '#000000',
  },
}
SCSS
$custom: #4e2265;
$custom-light: #826091;
$custom-dark: #000000;
JSON
{
  "hex": "#4e2265",
  "rgb": {
    "r": 78,
    "g": 34,
    "b": 101
  },
  "hsl": {
    "h": 279.403,
    "s": 49.63,
    "l": 26.471
  },
  "oklch": {
    "l": 0.34761,
    "c": 0.11782,
    "h": 312.1
  },
  "luminance": 0.03703
}

Semantic roles & 50–950 ramp

primary
#4E2265
secondary
#65994A
accent
#D94F7E
background
#F8F5F8
surface
#EFEAF0
border
#CAC6CB
text
#0B050D
muted
#7C797D

Preview Lab

Preview with #4E2265

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

Preview Lab → · Contrast checker → · Palette generator →

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