#4E1673#4E1673

#4E1673 is a dark, vivid violet. Relative luminance 0.034; OKLCH L 34.4% C 0.149 H 307.4°. Best body text is #FFFFFF at 12.45:1 contrast (WCAG AA passes).

Color values

HEX#4E1673
RGBrgb(78, 22, 115)
HSLhsl(276, 68%, 27%)
HSVhsv(276, 81%, 45%)
CMYKcmyk(32.2%, 80.9%, 0%, 54.9%)
CIE-LABlab(21.69, 42.23, -41.71)
CIE-LCHlch(21.69, 59.36, 315.35°)
OKLaboklab(34.41% 0.0908 -0.1186)
OKLCHoklch(34.41% 0.149 307.4)
XYZxyz(6.5226, 3.4314, 16.5350)
Luminance0.0343 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E1673 #3B7316
analogous
#201673 #4E1673 #73166A
triadic
#4E1673 #734E16 #16734E
tetradic
#4E1673 #732016 #3B7316 #166A73
square
#4E1673 #732016 #3B7316 #166A73
split-complementary
#4E1673 #6A7316 #167320
monochromatic
#11051A #2B0C40 #4E1673 #7120A6 #932DD7

Accessibility & contrast

On white

12.45
#4E1673 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.69
#4E1673 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E1673
12.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E1673#FFFFFF#000000##FFFFFF
##4E16731.0012.451.6912.45
#FFFFFF12.451.0021.001.00
#0000001.6921.001.0021.00
##FFFFFF12.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003276
Deuteranopia (green-blind)
#003471
Tritanopia (blue-blind)
#482E44
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #4e1673;
/* rgb */ color: rgb(78, 22, 115);
/* oklch */ color: oklch(34.4% 0.149 307.4);
Tailwind
colors: {
  custom: {
    50: '#845a9c',
    500: '#4e1673',
    950: '#000000',
  },
}
SCSS
$custom: #4e1673;
$custom-light: #845a9c;
$custom-dark: #000000;
JSON
{
  "hex": "#4e1673",
  "rgb": {
    "r": 78,
    "g": 22,
    "b": 115
  },
  "hsl": {
    "h": 276.129,
    "s": 67.883,
    "l": 26.863
  },
  "oklch": {
    "l": 0.34406,
    "c": 0.14935,
    "h": 307.4
  },
  "luminance": 0.03431
}

Semantic roles & 50–950 ramp

primary
#4E1673
secondary
#67A93C
accent
#EB3D82
background
#F8F5F9
surface
#EFE9F2
border
#CAC5CC
text
#0B040E
muted
#7C797E

Preview Lab

Preview with #4E1673

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

Preview Lab → · Contrast checker → · Palette generator →

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