#4A1984#4A1984

#4A1984 is a dark, vivid violet. Relative luminance 0.038; OKLCH L 35.7% C 0.163 H 298.2°. Best body text is #FFFFFF at 11.91:1 contrast (WCAG AA passes).

Color values

HEX#4A1984
RGBrgb(74, 25, 132)
HSLhsl(267, 68%, 31%)
HSVhsv(267, 81%, 52%)
CMYKcmyk(43.9%, 81.1%, 0%, 48.2%)
CIE-LABlab(23.06, 44.53, -50.33)
CIE-LCHlch(23.06, 67.20, 311.50°)
OKLaboklab(35.7% 0.0772 -0.1441)
OKLCHoklch(35.7% 0.163 298.2)
XYZxyz(7.3354, 3.8169, 22.1756)
Luminance0.0382 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A1984 #538419
analogous
#191D84 #4A1984 #7F1984
triadic
#4A1984 #844A19 #19844A
tetradic
#4A1984 #84191D #538419 #19847F
square
#4A1984 #84191D #538419 #19847F
split-complementary
#4A1984 #847F19 #1D8419
monochromatic
#10061D #2D0F51 #4A1984 #6723B7 #853DDA

Accessibility & contrast

On white

11.91
#4A1984 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.76
#4A1984 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4A1984
11.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A1984#FFFFFF#000000##FFFFFF
##4A19841.0011.911.7611.91
#FFFFFF11.911.0021.001.00
#0000001.7621.001.0021.00
##FFFFFF11.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003787
Deuteranopia (green-blind)
#003682
Tritanopia (blue-blind)
#3B374E
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #4a1984;
/* rgb */ color: rgb(74, 25, 132);
/* oklch */ color: oklch(35.7% 0.163 298.2);
Tailwind
colors: {
  custom: {
    50: '#835ca9',
    500: '#4a1984',
    950: '#000000',
  },
}
SCSS
$custom: #4a1984;
$custom-light: #835ca9;
$custom-dark: #000000;
JSON
{
  "hex": "#4a1984",
  "rgb": {
    "r": 74,
    "g": 25,
    "b": 132
  },
  "hsl": {
    "h": 267.477,
    "s": 68.153,
    "l": 30.784
  },
  "oklch": {
    "l": 0.35701,
    "c": 0.16345,
    "h": 298.2
  },
  "luminance": 0.03817
}

Semantic roles & 50–950 ramp

primary
#4A1984
secondary
#81B841
accent
#EB3D9B
background
#F8F5FA
surface
#F0E9F4
border
#CBC5CE
text
#0B0410
muted
#7C797F

Preview Lab

Preview with #4A1984

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

Preview Lab → · Contrast checker → · Palette generator →

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