#4A2C86#4A2C86

#4A2C86 is a dark, vivid violet. Relative luminance 0.050; OKLCH L 38.3% C 0.143 H 293.9°. Best body text is #FFFFFF at 10.52:1 contrast (WCAG AA passes).

Color values

HEX#4A2C86
RGBrgb(74, 44, 134)
HSLhsl(260, 51%, 35%)
HSVhsv(260, 67%, 53%)
CMYKcmyk(44.8%, 67.2%, 0%, 47.5%)
CIE-LABlab(26.67, 35.43, -45.69)
CIE-LCHlch(26.67, 57.82, 307.79°)
OKLaboklab(38.32% 0.0579 -0.1305)
OKLCHoklch(38.32% 0.143 293.9)
XYZxyz(8.0266, 4.9782, 23.0876)
Luminance0.0498 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A2C86 #68862C
analogous
#2C3B86 #4A2C86 #772C86
triadic
#4A2C86 #864A2C #2C864A
tetradic
#4A2C86 #862C3B #68862C #2C8677
square
#4A2C86 #862C3B #68862C #2C8677
split-complementary
#4A2C86 #86772C #3B862C
monochromatic
#170E2A #311D58 #4A2C86 #633BB4 #8561CB

Accessibility & contrast

On white

10.52
#4A2C86 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.00
#4A2C86 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4A2C86
10.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A2C86#FFFFFF#000000##FFFFFF
##4A2C861.0010.522.0010.52
#FFFFFF10.521.0021.001.00
#0000002.0021.001.0021.00
##FFFFFF10.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004089
Deuteranopia (green-blind)
#003E84
Tritanopia (blue-blind)
#394155
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #4a2c86;
/* rgb */ color: rgb(74, 44, 134);
/* oklch */ color: oklch(38.3% 0.143 293.9);
Tailwind
colors: {
  custom: {
    50: '#8267aa',
    500: '#4a2c86',
    950: '#000000',
  },
}
SCSS
$custom: #4a2c86;
$custom-light: #8267aa;
$custom-dark: #000000;
JSON
{
  "hex": "#4a2c86",
  "rgb": {
    "r": 74,
    "g": 44,
    "b": 134
  },
  "hsl": {
    "h": 260,
    "s": 50.562,
    "l": 34.902
  },
  "oklch": {
    "l": 0.38321,
    "c": 0.1428,
    "h": 293.9
  },
  "luminance": 0.04978
}

Semantic roles & 50–950 ramp

primary
#4A2C86
secondary
#95B15C
accent
#DA4EAB
background
#F8F6FA
surface
#EFEBF4
border
#CAC6CE
text
#0B0610
muted
#7C7A7F

Preview Lab

Preview with #4A2C86

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

Preview Lab → · Contrast checker → · Palette generator →

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