#4E2267#4E2267

#4E2267 is a dark, vivid violet. Relative luminance 0.037; OKLCH L 34.9% C 0.120 H 311.1°. Best body text is #FFFFFF at 12.01:1 contrast (WCAG AA passes).

Color values

HEX#4E2267
RGBrgb(78, 34, 103)
HSLhsl(278, 50%, 27%)
HSVhsv(278, 67%, 40%)
CMYKcmyk(24.3%, 67%, 0%, 59.6%)
CIE-LABlab(22.80, 33.60, -32.15)
CIE-LCHlch(22.80, 46.50, 316.26°)
OKLaboklab(34.9% 0.079 -0.0906)
OKLCHoklch(34.9% 0.12 311.1)
XYZxyz(6.1616, 3.7432, 13.2273)
Luminance0.0374 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E2267 #3B6722
analogous
#2C2267 #4E2267 #67225E
triadic
#4E2267 #674E22 #22674E
tetradic
#4E2267 #672C22 #3B6722 #225E67
square
#4E2267 #672C22 #3B6722 #225E67
split-complementary
#4E2267 #5E6722 #22672C
monochromatic
#110817 #2B1339 #4E2267 #713195 #9343C1

Accessibility & contrast

On white

12.01
#4E2267 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.75
#4E2267 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E2267
12.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E2267#FFFFFF#000000##FFFFFF
##4E22671.0012.011.7512.01
#FFFFFF12.011.0021.001.00
#0000001.7521.001.0021.00
##FFFFFF12.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#023469
Deuteranopia (green-blind)
#1B3765
Tritanopia (blue-blind)
#4B2F41
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #4e2267;
/* rgb */ color: rgb(78, 34, 103);
/* oklch */ color: oklch(34.9% 0.120 311.1);
Tailwind
colors: {
  custom: {
    50: '#826093',
    500: '#4e2267',
    950: '#000000',
  },
}
SCSS
$custom: #4e2267;
$custom-light: #826093;
$custom-dark: #000000;
JSON
{
  "hex": "#4e2267",
  "rgb": {
    "r": 78,
    "g": 34,
    "b": 103
  },
  "hsl": {
    "h": 278.261,
    "s": 50.365,
    "l": 26.863
  },
  "oklch": {
    "l": 0.34904,
    "c": 0.12016,
    "h": 311.1
  },
  "luminance": 0.03743
}

Semantic roles & 50–950 ramp

primary
#4E2267
secondary
#679B4A
accent
#DA4E81
background
#F8F5F9
surface
#EFEAF1
border
#CAC6CB
text
#0B050D
muted
#7C797E

Preview Lab

Preview with #4E2267

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

Preview Lab → · Contrast checker → · Palette generator →

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