#4A1964#4A1964

#4A1964 is a dark, vivid violet. Relative luminance 0.031; OKLCH L 32.9% C 0.129 H 311.2°. Best body text is #FFFFFF at 13.01:1 contrast (WCAG AA passes).

Color values

HEX#4A1964
RGBrgb(74, 25, 100)
HSLhsl(279, 60%, 25%)
HSVhsv(279, 75%, 39%)
CMYKcmyk(26%, 75%, 0%, 60.8%)
CIE-LABlab(20.33, 36.48, -34.20)
CIE-LCHlch(20.33, 50.00, 316.84°)
OKLaboklab(32.93% 0.0847 -0.0967)
OKLCHoklch(32.93% 0.129 311.2)
XYZxyz(5.4715, 3.0713, 12.3587)
Luminance0.0307 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A1964 #336419
analogous
#251964 #4A1964 #641959
triadic
#4A1964 #644A19 #19644A
tetradic
#4A1964 #642519 #336419 #195964
square
#4A1964 #642519 #336419 #195964
split-complementary
#4A1964 #596419 #196425
monochromatic
#120618 #260D33 #4A1964 #6E2595 #9231C6

Accessibility & contrast

On white

13.01
#4A1964 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.61
#4A1964 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4A1964
13.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A1964#FFFFFF#000000##FFFFFF
##4A19641.0013.011.6113.01
#FFFFFF13.011.0021.001.00
#0000001.6121.001.0021.00
##FFFFFF13.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002F66
Deuteranopia (green-blind)
#0E3262
Tritanopia (blue-blind)
#47293C
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #4a1964;
/* rgb */ color: rgb(74, 25, 100);
/* oklch */ color: oklch(32.9% 0.129 311.2);
Tailwind
colors: {
  custom: {
    50: '#805b91',
    500: '#4a1964',
    950: '#000000',
  },
}
SCSS
$custom: #4a1964;
$custom-light: #805b91;
$custom-dark: #000000;
JSON
{
  "hex": "#4a1964",
  "rgb": {
    "r": 74,
    "g": 25,
    "b": 100
  },
  "hsl": {
    "h": 279.2,
    "s": 60,
    "l": 24.51
  },
  "oklch": {
    "l": 0.32929,
    "c": 0.12853,
    "h": 311.2
  },
  "luminance": 0.03071
}

Semantic roles & 50–950 ramp

primary
#4A1964
secondary
#5E9A3F
accent
#E3457C
background
#F8F5F8
surface
#EFE9F0
border
#CAC5CB
text
#0A040D
muted
#7C797D

Preview Lab

Preview with #4A1964

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

Preview Lab → · Contrast checker → · Palette generator →

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