#4A1966#4A1966

#4A1966 is a dark, vivid violet. Relative luminance 0.031; OKLCH L 33.1% C 0.131 H 310.2°. Best body text is #FFFFFF at 12.95:1 contrast (WCAG AA passes).

Color values

HEX#4A1966
RGBrgb(74, 25, 102)
HSLhsl(278, 61%, 25%)
HSVhsv(278, 75%, 40%)
CMYKcmyk(27.5%, 75.5%, 0%, 60%)
CIE-LABlab(20.48, 36.96, -35.27)
CIE-LCHlch(20.48, 51.09, 316.34°)
OKLaboklab(33.09% 0.0844 -0.0998)
OKLCHoklch(33.09% 0.131 310.2)
XYZxyz(5.5695, 3.1105, 12.8748)
Luminance0.0311 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A1966 #356619
analogous
#241966 #4A1966 #66195B
triadic
#4A1966 #664A19 #19664A
tetradic
#4A1966 #662419 #356619 #195B66
square
#4A1966 #662419 #356619 #195B66
split-complementary
#4A1966 #5B6619 #196624
monochromatic
#120619 #260D35 #4A1966 #6E2597 #9131C8

Accessibility & contrast

On white

12.95
#4A1966 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.62
#4A1966 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4A1966
12.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A1966#FFFFFF#000000##FFFFFF
##4A19661.0012.951.6212.95
#FFFFFF12.951.0021.001.00
#0000001.6221.001.0021.00
##FFFFFF12.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002F68
Deuteranopia (green-blind)
#0B3264
Tritanopia (blue-blind)
#462A3E
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #4a1966;
/* rgb */ color: rgb(74, 25, 102);
/* oklch */ color: oklch(33.1% 0.131 310.2);
Tailwind
colors: {
  custom: {
    50: '#805b92',
    500: '#4a1966',
    950: '#000000',
  },
}
SCSS
$custom: #4a1966;
$custom-light: #805b92;
$custom-dark: #000000;
JSON
{
  "hex": "#4a1966",
  "rgb": {
    "r": 74,
    "g": 25,
    "b": 102
  },
  "hsl": {
    "h": 278.182,
    "s": 60.63,
    "l": 24.902
  },
  "oklch": {
    "l": 0.33088,
    "c": 0.13072,
    "h": 310.2
  },
  "luminance": 0.0311
}

Semantic roles & 50–950 ramp

primary
#4A1966
secondary
#619C3F
accent
#E4447E
background
#F8F5F9
surface
#EFE9F1
border
#CAC5CB
text
#0A040D
muted
#7C797E

Preview Lab

Preview with #4A1966

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

Preview Lab → · Contrast checker → · Palette generator →

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