#4E2270#4E2270

#4E2270 is a dark, vivid violet. Relative luminance 0.039; OKLCH L 35.6% C 0.131 H 306.8°. Best body text is #FFFFFF at 11.75:1 contrast (WCAG AA passes).

Color values

HEX#4E2270
RGBrgb(78, 34, 112)
HSLhsl(274, 53%, 29%)
HSVhsv(274, 70%, 44%)
CMYKcmyk(30.4%, 69.6%, 0%, 56.1%)
CIE-LABlab(23.45, 35.86, -36.94)
CIE-LCHlch(23.45, 51.48, 314.15°)
OKLaboklab(35.58% 0.0783 -0.1046)
OKLCHoklch(35.58% 0.131 306.8)
XYZxyz(6.6379, 3.9337, 15.7357)
Luminance0.0393 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E2270 #447022
analogous
#272270 #4E2270 #70226B
triadic
#4E2270 #704E22 #22704E
tetradic
#4E2270 #702722 #447022 #226B70
square
#4E2270 #702722 #447022 #226B70
split-complementary
#4E2270 #6B7022 #227027
monochromatic
#100717 #2D1441 #4E2270 #6F309F #8E46C7

Accessibility & contrast

On white

11.75
#4E2270 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.79
#4E2270 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E2270
11.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E2270#FFFFFF#000000##FFFFFF
##4E22701.0011.751.7911.75
#FFFFFF11.751.0021.001.00
#0000001.7921.001.0021.00
##FFFFFF11.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003672
Deuteranopia (green-blind)
#0F386E
Tritanopia (blue-blind)
#483346
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #4e2270;
/* rgb */ color: rgb(78, 34, 112);
/* oklch */ color: oklch(35.6% 0.131 306.8);
Tailwind
colors: {
  custom: {
    50: '#83609a',
    500: '#4e2270',
    950: '#000000',
  },
}
SCSS
$custom: #4e2270;
$custom-light: #83609a;
$custom-dark: #000000;
JSON
{
  "hex": "#4e2270",
  "rgb": {
    "r": 78,
    "g": 34,
    "b": 112
  },
  "hsl": {
    "h": 273.846,
    "s": 53.425,
    "l": 28.627
  },
  "oklch": {
    "l": 0.35578,
    "c": 0.13068,
    "h": 306.8
  },
  "luminance": 0.03934
}

Semantic roles & 50–950 ramp

primary
#4E2270
secondary
#71A34A
accent
#DD4B8B
background
#F8F5F9
surface
#EFEAF2
border
#CAC6CC
text
#0B050E
muted
#7C797E

Preview Lab

Preview with #4E2270

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

Preview Lab → · Contrast checker → · Palette generator →

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