#4A1680#4A1680

#4A1680 is a dark, vivid violet. Relative luminance 0.036; OKLCH L 35.0% C 0.162 H 299.9°. Best body text is #FFFFFF at 12.23:1 contrast (WCAG AA passes).

Color values

HEX#4A1680
RGBrgb(74, 22, 128)
HSLhsl(269, 71%, 29%)
HSVhsv(269, 83%, 50%)
CMYKcmyk(42.2%, 82.8%, 0%, 49.8%)
CIE-LABlab(22.26, 44.73, -49.11)
CIE-LCHlch(22.26, 66.43, 312.33°)
OKLaboklab(35.03% 0.0809 -0.1405)
OKLCHoklch(35.03% 0.162 299.9)
XYZxyz(7.0062, 3.5881, 20.7413)
Luminance0.0359 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A1680 #4C8016
analogous
#161780 #4A1680 #7F1680
triadic
#4A1680 #804A16 #16804A
tetradic
#4A1680 #801617 #4C8016 #16807F
square
#4A1680 #801617 #4C8016 #16807F
split-complementary
#4A1680 #807F16 #178016
monochromatic
#0F041A #2C0D4C #4A1680 #681FB4 #8734DC

Accessibility & contrast

On white

12.23
#4A1680 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.72
#4A1680 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4A1680
12.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A1680#FFFFFF#000000##FFFFFF
##4A16801.0012.231.7212.23
#FFFFFF12.231.0021.001.00
#0000001.7221.001.0021.00
##FFFFFF12.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003583
Deuteranopia (green-blind)
#00347E
Tritanopia (blue-blind)
#3D344C
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #4a1680;
/* rgb */ color: rgb(74, 22, 128);
/* oklch */ color: oklch(35.0% 0.162 299.9);
Tailwind
colors: {
  custom: {
    50: '#835ba6',
    500: '#4a1680',
    950: '#000000',
  },
}
SCSS
$custom: #4a1680;
$custom-light: #835ba6;
$custom-dark: #000000;
JSON
{
  "hex": "#4a1680",
  "rgb": {
    "r": 74,
    "g": 22,
    "b": 128
  },
  "hsl": {
    "h": 269.434,
    "s": 70.667,
    "l": 29.412
  },
  "oklch": {
    "l": 0.35033,
    "c": 0.16208,
    "h": 299.9
  },
  "luminance": 0.03588
}

Semantic roles & 50–950 ramp

primary
#4A1680
secondary
#7AB53D
accent
#ED3A96
background
#F8F5FA
surface
#EFE9F4
border
#CAC5CE
text
#0B040F
muted
#7C797F

Preview Lab

Preview with #4A1680

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

Preview Lab → · Contrast checker → · Palette generator →

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