#4E2268#4E2268

#4E2268 is a dark, vivid violet. Relative luminance 0.038; OKLCH L 35.0% C 0.121 H 310.6°. Best body text is #FFFFFF at 11.98:1 contrast (WCAG AA passes).

Color values

HEX#4E2268
RGBrgb(78, 34, 104)
HSLhsl(278, 51%, 27%)
HSVhsv(278, 67%, 41%)
CMYKcmyk(25%, 67.3%, 0%, 59.2%)
CIE-LABlab(22.87, 33.85, -32.69)
CIE-LCHlch(22.87, 47.06, 316.00°)
OKLaboklab(34.98% 0.0789 -0.0922)
OKLCHoklch(34.98% 0.121 310.6)
XYZxyz(6.2121, 3.7634, 13.4932)
Luminance0.0376 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E2268 #3C6822
analogous
#2B2268 #4E2268 #68225F
triadic
#4E2268 #684E22 #22684E
tetradic
#4E2268 #682B22 #3C6822 #225F68
square
#4E2268 #682B22 #3C6822 #225F68
split-complementary
#4E2268 #5F6822 #22682B
monochromatic
#110817 #2B133A #4E2268 #713196 #9243C2

Accessibility & contrast

On white

11.98
#4E2268 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4E2268
11.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E2268#FFFFFF#000000##FFFFFF
##4E22681.0011.981.7511.98
#FFFFFF11.981.0021.001.00
#0000001.7521.001.0021.00
##FFFFFF11.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00356A
Deuteranopia (green-blind)
#1A3766
Tritanopia (blue-blind)
#4B3041
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #4e2268;
/* rgb */ color: rgb(78, 34, 104);
/* oklch */ color: oklch(35.0% 0.121 310.6);
Tailwind
colors: {
  custom: {
    50: '#826093',
    500: '#4e2268',
    950: '#000000',
  },
}
SCSS
$custom: #4e2268;
$custom-light: #826093;
$custom-dark: #000000;
JSON
{
  "hex": "#4e2268",
  "rgb": {
    "r": 78,
    "g": 34,
    "b": 104
  },
  "hsl": {
    "h": 277.714,
    "s": 50.725,
    "l": 27.059
  },
  "oklch": {
    "l": 0.34977,
    "c": 0.12133,
    "h": 310.6
  },
  "luminance": 0.03763
}

Semantic roles & 50–950 ramp

primary
#4E2268
secondary
#689C4A
accent
#DA4E82
background
#F8F5F9
surface
#EFEAF1
border
#CAC6CB
text
#0B050D
muted
#7C797E

Preview Lab

Preview with #4E2268

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

Preview Lab → · Contrast checker → · Palette generator →

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