#4A1665#4A1665

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

Color values

HEX#4A1665
RGBrgb(74, 22, 101)
HSLhsl(279, 64%, 24%)
HSVhsv(279, 78%, 40%)
CMYKcmyk(26.7%, 78.2%, 0%, 60.4%)
CIE-LABlab(19.92, 38.09, -35.52)
CIE-LCHlch(19.92, 52.08, 317.00°)
OKLaboklab(32.67% 0.0879 -0.1005)
OKLCHoklch(32.67% 0.134 311.1)
XYZxyz(5.4595, 2.9694, 12.5949)
Luminance0.0297 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A1665 #316516
analogous
#231665 #4A1665 #651659
triadic
#4A1665 #654A16 #16654A
tetradic
#4A1665 #652316 #316516 #165965
square
#4A1665 #652316 #316516 #165965
split-complementary
#4A1665 #596516 #166523
monochromatic
#120519 #250B33 #4A1665 #6F2197 #942CCA

Accessibility & contrast

On white

13.18
#4A1665 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.59
#4A1665 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4A1665
13.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A1665#FFFFFF#000000##FFFFFF
##4A16651.0013.181.5913.18
#FFFFFF13.181.0021.001.00
#0000001.5921.001.0021.00
##FFFFFF13.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002E67
Deuteranopia (green-blind)
#083163
Tritanopia (blue-blind)
#46283C
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #4a1665;
/* rgb */ color: rgb(74, 22, 101);
/* oklch */ color: oklch(32.7% 0.134 311.1);
Tailwind
colors: {
  custom: {
    50: '#805991',
    500: '#4a1665',
    950: '#000000',
  },
}
SCSS
$custom: #4a1665;
$custom-light: #805991;
$custom-dark: #000000;
JSON
{
  "hex": "#4a1665",
  "rgb": {
    "r": 74,
    "g": 22,
    "b": 101
  },
  "hsl": {
    "h": 279.494,
    "s": 64.228,
    "l": 24.118
  },
  "oklch": {
    "l": 0.32665,
    "c": 0.13351,
    "h": 311.1
  },
  "luminance": 0.02969
}

Semantic roles & 50–950 ramp

primary
#4A1665
secondary
#5C9C3B
accent
#E7417A
background
#F8F5F9
surface
#EFE9F1
border
#CAC5CB
text
#0A040D
muted
#7C797E

Preview Lab

Preview with #4A1665

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

Preview Lab → · Contrast checker → · Palette generator →

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