#4A2D86#4A2D86

#4A2D86 is a dark, vivid violet. Relative luminance 0.051; OKLCH L 38.5% C 0.141 H 293.7°. Best body text is #FFFFFF at 10.44:1 contrast (WCAG AA passes).

Color values

HEX#4A2D86
RGBrgb(74, 45, 134)
HSLhsl(260, 50%, 35%)
HSVhsv(260, 66%, 53%)
CMYKcmyk(44.8%, 66.4%, 0%, 47.5%)
CIE-LABlab(26.89, 34.85, -45.34)
CIE-LCHlch(26.89, 57.19, 307.55°)
OKLaboklab(38.48% 0.0568 -0.1295)
OKLCHoklch(38.48% 0.141 293.7)
XYZxyz(8.0643, 5.0536, 23.1002)
Luminance0.0505 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A2D86 #69862D
analogous
#2D3C86 #4A2D86 #772D86
triadic
#4A2D86 #864A2D #2D864A
tetradic
#4A2D86 #862D3C #69862D #2D8677
square
#4A2D86 #862D3C #69862D #2D8677
split-complementary
#4A2D86 #86772D #3C862D
monochromatic
#170E2A #311E58 #4A2D86 #633CB4 #8563CB

Accessibility & contrast

On white

10.44
#4A2D86 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.01
#4A2D86 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4A2D86
10.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A2D86#FFFFFF#000000##FFFFFF
##4A2D861.0010.442.0110.44
#FFFFFF10.441.0021.001.00
#0000002.0121.001.0021.00
##FFFFFF10.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004189
Deuteranopia (green-blind)
#003E84
Tritanopia (blue-blind)
#394255
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #4a2d86;
/* rgb */ color: rgb(74, 45, 134);
/* oklch */ color: oklch(38.5% 0.141 293.7);
Tailwind
colors: {
  custom: {
    50: '#8268aa',
    500: '#4a2d86',
    950: '#000000',
  },
}
SCSS
$custom: #4a2d86;
$custom-light: #8268aa;
$custom-dark: #000000;
JSON
{
  "hex": "#4a2d86",
  "rgb": {
    "r": 74,
    "g": 45,
    "b": 134
  },
  "hsl": {
    "h": 259.551,
    "s": 49.721,
    "l": 35.098
  },
  "oklch": {
    "l": 0.38475,
    "c": 0.14141,
    "h": 293.7
  },
  "luminance": 0.05054
}

Semantic roles & 50–950 ramp

primary
#4A2D86
secondary
#96B15E
accent
#D94FAC
background
#F8F6FA
surface
#EFEBF4
border
#CAC6CE
text
#0B0610
muted
#7C7A7F

Preview Lab

Preview with #4A2D86

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

Preview Lab → · Contrast checker → · Palette generator →

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