#4A2986#4A2986

#4A2986 is a dark, vivid violet. Relative luminance 0.048; OKLCH L 37.9% C 0.147 H 294.6°. Best body text is #FFFFFF at 10.75:1 contrast (WCAG AA passes).

Color values

HEX#4A2986
RGBrgb(74, 41, 134)
HSLhsl(261, 53%, 34%)
HSVhsv(261, 69%, 53%)
CMYKcmyk(44.8%, 69.4%, 0%, 47.5%)
CIE-LABlab(26.05, 37.14, -46.70)
CIE-LCHlch(26.05, 59.67, 308.49°)
OKLaboklab(37.87% 0.0612 -0.1335)
OKLCHoklch(37.87% 0.147 294.6)
XYZxyz(7.9189, 4.7627, 23.0517)
Luminance0.0476 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A2986 #658629
analogous
#293786 #4A2986 #792986
triadic
#4A2986 #864A29 #29864A
tetradic
#4A2986 #862937 #658629 #298679
square
#4A2986 #862937 #658629 #298679
split-complementary
#4A2986 #867929 #378629
monochromatic
#160C28 #301B57 #4A2986 #6437B5 #845CCD

Accessibility & contrast

On white

10.75
#4A2986 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.95
#4A2986 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4A2986
10.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A2986#FFFFFF#000000##FFFFFF
##4A29861.0010.751.9510.75
#FFFFFF10.751.0021.001.00
#0000001.9521.001.0021.00
##FFFFFF10.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003E89
Deuteranopia (green-blind)
#003C84
Tritanopia (blue-blind)
#3A3F54
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #4a2986;
/* rgb */ color: rgb(74, 41, 134);
/* oklch */ color: oklch(37.9% 0.147 294.6);
Tailwind
colors: {
  custom: {
    50: '#8265aa',
    500: '#4a2986',
    950: '#000000',
  },
}
SCSS
$custom: #4a2986;
$custom-light: #8265aa;
$custom-dark: #000000;
JSON
{
  "hex": "#4a2986",
  "rgb": {
    "r": 74,
    "g": 41,
    "b": 134
  },
  "hsl": {
    "h": 261.29,
    "s": 53.143,
    "l": 34.314
  },
  "oklch": {
    "l": 0.37871,
    "c": 0.14689,
    "h": 294.6
  },
  "luminance": 0.04763
}

Semantic roles & 50–950 ramp

primary
#4A2986
secondary
#93B358
accent
#DD4BA9
background
#F8F6FA
surface
#EFEBF4
border
#CAC6CE
text
#0B0610
muted
#7C7A7F

Preview Lab

Preview with #4A2986

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

Preview Lab → · Contrast checker → · Palette generator →

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