#4A1666#4A1666

#4A1666 is a dark, vivid violet. Relative luminance 0.030; OKLCH L 32.7% C 0.135 H 310.7°. Best body text is #FFFFFF at 13.14:1 contrast (WCAG AA passes).

Color values

HEX#4A1666
RGBrgb(74, 22, 102)
HSLhsl(279, 65%, 24%)
HSVhsv(279, 78%, 40%)
CMYKcmyk(27.5%, 78.4%, 0%, 60%)
CIE-LABlab(20.00, 38.32, -36.04)
CIE-LCHlch(20.00, 52.61, 316.76°)
OKLaboklab(32.75% 0.0877 -0.1021)
OKLCHoklch(32.75% 0.135 310.7)
XYZxyz(5.5088, 2.9891, 12.8546)
Luminance0.0299 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A1666 #326616
analogous
#221666 #4A1666 #66165A
triadic
#4A1666 #664A16 #16664A
tetradic
#4A1666 #662216 #326616 #165A66
square
#4A1666 #662216 #326616 #165A66
split-complementary
#4A1666 #5A6616 #166622
monochromatic
#120519 #250B34 #4A1666 #6F2198 #932CCB

Accessibility & contrast

On white

13.14
#4A1666 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.60
#4A1666 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4A1666
13.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A1666#FFFFFF#000000##FFFFFF
##4A16661.0013.141.6013.14
#FFFFFF13.141.0021.001.00
#0000001.6021.001.0021.00
##FFFFFF13.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002E68
Deuteranopia (green-blind)
#063164
Tritanopia (blue-blind)
#46293D
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #4a1666;
/* rgb */ color: rgb(74, 22, 102);
/* oklch */ color: oklch(32.7% 0.135 310.7);
Tailwind
colors: {
  custom: {
    50: '#805992',
    500: '#4a1666',
    950: '#000000',
  },
}
SCSS
$custom: #4a1666;
$custom-light: #805992;
$custom-dark: #000000;
JSON
{
  "hex": "#4a1666",
  "rgb": {
    "r": 74,
    "g": 22,
    "b": 102
  },
  "hsl": {
    "h": 279,
    "s": 64.516,
    "l": 24.314
  },
  "oklch": {
    "l": 0.32746,
    "c": 0.13456,
    "h": 310.7
  },
  "luminance": 0.02989
}

Semantic roles & 50–950 ramp

primary
#4A1666
secondary
#5D9D3B
accent
#E8407B
background
#F8F5F9
surface
#EFE9F1
border
#CAC5CB
text
#0B040D
muted
#7C797E

Preview Lab

Preview with #4A1666

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

Preview Lab → · Contrast checker → · Palette generator →

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