#4A1677#4A1677

#4A1677 is a dark, vivid violet. Relative luminance 0.034; OKLCH L 34.2% C 0.153 H 303.2°. Best body text is #FFFFFF at 12.56:1 contrast (WCAG AA passes).

Color values

HEX#4A1677
RGBrgb(74, 22, 119)
HSLhsl(272, 69%, 28%)
HSVhsv(272, 82%, 47%)
CMYKcmyk(37.8%, 81.5%, 0%, 53.3%)
CIE-LABlab(21.44, 42.47, -44.73)
CIE-LCHlch(21.44, 61.68, 313.52°)
OKLaboklab(34.21% 0.0836 -0.1276)
OKLCHoklch(34.21% 0.153 303.2)
XYZxyz(6.4399, 3.3616, 17.7588)
Luminance0.0336 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A1677 #437716
analogous
#1A1677 #4A1677 #771673
triadic
#4A1677 #774A16 #16774A
tetradic
#4A1677 #771A16 #437716 #167377
square
#4A1677 #771A16 #437716 #167377
split-complementary
#4A1677 #737716 #16771A
monochromatic
#10051A #2A0C43 #4A1677 #6A20AB #8A2FD9

Accessibility & contrast

On white

12.56
#4A1677 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.67
#4A1677 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4A1677
12.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A1677#FFFFFF#000000##FFFFFF
##4A16771.0012.561.6712.56
#FFFFFF12.561.0021.001.00
#0000001.6721.001.0021.00
##FFFFFF12.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00327A
Deuteranopia (green-blind)
#003375
Tritanopia (blue-blind)
#413046
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #4a1677;
/* rgb */ color: rgb(74, 22, 119);
/* oklch */ color: oklch(34.2% 0.153 303.2);
Tailwind
colors: {
  custom: {
    50: '#825a9f',
    500: '#4a1677',
    950: '#000000',
  },
}
SCSS
$custom: #4a1677;
$custom-light: #825a9f;
$custom-dark: #000000;
JSON
{
  "hex": "#4a1677",
  "rgb": {
    "r": 74,
    "g": 22,
    "b": 119
  },
  "hsl": {
    "h": 272.165,
    "s": 68.794,
    "l": 27.647
  },
  "oklch": {
    "l": 0.34206,
    "c": 0.15255,
    "h": 303.2
  },
  "luminance": 0.03362
}

Semantic roles & 50–950 ramp

primary
#4A1677
secondary
#70AC3C
accent
#EC3C8E
background
#F8F5F9
surface
#EFE9F2
border
#CAC5CC
text
#0B040F
muted
#7C797E

Preview Lab

Preview with #4A1677

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

Preview Lab → · Contrast checker → · Palette generator →

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