#4A1963#4A1963

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

Color values

HEX#4A1963
RGBrgb(74, 25, 99)
HSLhsl(280, 60%, 24%)
HSVhsv(280, 75%, 39%)
CMYKcmyk(25.3%, 74.7%, 0%, 61.2%)
CIE-LABlab(20.25, 36.24, -33.67)
CIE-LCHlch(20.25, 49.46, 317.11°)
OKLaboklab(32.85% 0.0848 -0.0951)
OKLCHoklch(32.85% 0.127 311.7)
XYZxyz(5.4234, 3.0521, 12.1054)
Luminance0.0305 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A1963 #326319
analogous
#251963 #4A1963 #631957
triadic
#4A1963 #634A19 #19634A
tetradic
#4A1963 #632519 #326319 #195763
square
#4A1963 #632519 #326319 #195763
split-complementary
#4A1963 #576319 #196325
monochromatic
#120618 #250D32 #4A1963 #6F2594 #9332C5

Accessibility & contrast

On white

13.04
#4A1963 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4A1963
13.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A1963#FFFFFF#000000##FFFFFF
##4A19631.0013.041.6113.04
#FFFFFF13.041.0021.001.00
#0000001.6121.001.0021.00
##FFFFFF13.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002E65
Deuteranopia (green-blind)
#103261
Tritanopia (blue-blind)
#47293C
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #4a1963;
/* rgb */ color: rgb(74, 25, 99);
/* oklch */ color: oklch(32.9% 0.127 311.7);
Tailwind
colors: {
  custom: {
    50: '#805a90',
    500: '#4a1963',
    950: '#000000',
  },
}
SCSS
$custom: #4a1963;
$custom-light: #805a90;
$custom-dark: #000000;
JSON
{
  "hex": "#4a1963",
  "rgb": {
    "r": 74,
    "g": 25,
    "b": 99
  },
  "hsl": {
    "h": 279.73,
    "s": 59.677,
    "l": 24.314
  },
  "oklch": {
    "l": 0.32851,
    "c": 0.12745,
    "h": 311.7
  },
  "luminance": 0.03052
}

Semantic roles & 50–950 ramp

primary
#4A1963
secondary
#5D993F
accent
#E3457A
background
#F8F5F8
surface
#EFE9F0
border
#CAC5CB
text
#0A040C
muted
#7C797D

Preview Lab

Preview with #4A1963

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

Preview Lab → · Contrast checker → · Palette generator →

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