#4E2370#4E2370

#4E2370 is a dark, vivid violet. Relative luminance 0.040; OKLCH L 35.7% C 0.129 H 306.6°. Best body text is #FFFFFF at 11.68:1 contrast (WCAG AA passes).

Color values

HEX#4E2370
RGBrgb(78, 35, 112)
HSLhsl(274, 52%, 29%)
HSVhsv(274, 69%, 44%)
CMYKcmyk(30.4%, 68.8%, 0%, 56.1%)
CIE-LABlab(23.64, 35.33, -36.63)
CIE-LCHlch(23.64, 50.89, 313.97°)
OKLaboklab(35.72% 0.0771 -0.1037)
OKLCHoklch(35.72% 0.129 306.6)
XYZxyz(6.6669, 3.9917, 15.7453)
Luminance0.0399 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E2370 #457023
analogous
#272370 #4E2370 #70236C
triadic
#4E2370 #704E23 #23704E
tetradic
#4E2370 #702723 #457023 #236C70
square
#4E2370 #702723 #457023 #236C70
split-complementary
#4E2370 #6C7023 #237027
monochromatic
#100717 #2E1441 #4E2370 #6E329F #8E48C6

Accessibility & contrast

On white

11.68
#4E2370 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.80
#4E2370 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E2370
11.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E2370#FFFFFF#000000##FFFFFF
##4E23701.0011.681.8011.68
#FFFFFF11.681.0021.001.00
#0000001.8021.001.0021.00
##FFFFFF11.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003772
Deuteranopia (green-blind)
#11396E
Tritanopia (blue-blind)
#483346
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #4e2370;
/* rgb */ color: rgb(78, 35, 112);
/* oklch */ color: oklch(35.7% 0.129 306.6);
Tailwind
colors: {
  custom: {
    50: '#83619a',
    500: '#4e2370',
    950: '#000000',
  },
}
SCSS
$custom: #4e2370;
$custom-light: #83619a;
$custom-dark: #000000;
JSON
{
  "hex": "#4e2370",
  "rgb": {
    "r": 78,
    "g": 35,
    "b": 112
  },
  "hsl": {
    "h": 273.506,
    "s": 52.381,
    "l": 28.824
  },
  "oklch": {
    "l": 0.35716,
    "c": 0.12921,
    "h": 306.6
  },
  "luminance": 0.03992
}

Semantic roles & 50–950 ramp

primary
#4E2370
secondary
#72A34C
accent
#DC4C8B
background
#F8F5F9
surface
#EFEAF2
border
#CAC6CC
text
#0B050E
muted
#7C797E

Preview Lab

Preview with #4E2370

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

Preview Lab → · Contrast checker → · Palette generator →

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