#4A1869#4A1869

#4A1869 is a dark, vivid violet. Relative luminance 0.031; OKLCH L 33.2% C 0.135 H 308.9°. Best body text is #FFFFFF at 12.92:1 contrast (WCAG AA passes).

Color values

HEX#4A1869
RGBrgb(74, 24, 105)
HSLhsl(277, 63%, 25%)
HSVhsv(277, 77%, 41%)
CMYKcmyk(29.5%, 77.1%, 0%, 58.8%)
CIE-LABlab(20.55, 38.15, -37.11)
CIE-LCHlch(20.55, 53.22, 315.79°)
OKLaboklab(33.21% 0.085 -0.1052)
OKLCHoklch(33.21% 0.135 308.9)
XYZxyz(5.7000, 3.1291, 13.6656)
Luminance0.0313 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A1869 #376918
analogous
#211869 #4A1869 #69185F
triadic
#4A1869 #694A18 #18694A
tetradic
#4A1869 #692118 #376918 #185F69
square
#4A1869 #692118 #376918 #185F69
split-complementary
#4A1869 #5F6918 #186921
monochromatic
#120619 #270D37 #4A1869 #6D239B #902FCD

Accessibility & contrast

On white

12.92
#4A1869 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.63
#4A1869 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4A1869
12.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A1869#FFFFFF#000000##FFFFFF
##4A18691.0012.921.6312.92
#FFFFFF12.921.0021.001.00
#0000001.6321.001.0021.00
##FFFFFF12.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00306B
Deuteranopia (green-blind)
#033267
Tritanopia (blue-blind)
#452B3F
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #4a1869;
/* rgb */ color: rgb(74, 24, 105);
/* oklch */ color: oklch(33.2% 0.135 308.9);
Tailwind
colors: {
  custom: {
    50: '#805a94',
    500: '#4a1869',
    950: '#000000',
  },
}
SCSS
$custom: #4a1869;
$custom-light: #805a94;
$custom-dark: #000000;
JSON
{
  "hex": "#4a1869",
  "rgb": {
    "r": 74,
    "g": 24,
    "b": 105
  },
  "hsl": {
    "h": 277.037,
    "s": 62.791,
    "l": 25.294
  },
  "oklch": {
    "l": 0.33214,
    "c": 0.13527,
    "h": 308.9
  },
  "luminance": 0.03129
}

Semantic roles & 50–950 ramp

primary
#4A1869
secondary
#639F3E
accent
#E64281
background
#F8F5F9
surface
#EFE9F1
border
#CAC5CB
text
#0B040D
muted
#7C797E

Preview Lab

Preview with #4A1869

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

Preview Lab → · Contrast checker → · Palette generator →

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