#4A2B86#4A2B86

#4A2B86 is a dark, vivid violet. Relative luminance 0.049; OKLCH L 38.2% C 0.144 H 294.2°. Best body text is #FFFFFF at 10.60:1 contrast (WCAG AA passes).

Color values

HEX#4A2B86
RGBrgb(74, 43, 134)
HSLhsl(260, 51%, 35%)
HSVhsv(260, 68%, 53%)
CMYKcmyk(44.8%, 67.9%, 0%, 47.5%)
CIE-LABlab(26.46, 36.01, -46.03)
CIE-LCHlch(26.46, 58.44, 308.03°)
OKLaboklab(38.17% 0.059 -0.1315)
OKLCHoklch(38.17% 0.144 294.2)
XYZxyz(7.9898, 4.9046, 23.0754)
Luminance0.0491 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A2B86 #67862B
analogous
#2B3986 #4A2B86 #782B86
triadic
#4A2B86 #864A2B #2B864A
tetradic
#4A2B86 #862B39 #67862B #2B8678
square
#4A2B86 #862B39 #67862B #2B8678
split-complementary
#4A2B86 #86782B #39862B
monochromatic
#170D29 #301C58 #4A2B86 #643AB4 #8460CC

Accessibility & contrast

On white

10.60
#4A2B86 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.98
#4A2B86 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4A2B86
10.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A2B86#FFFFFF#000000##FFFFFF
##4A2B861.0010.601.9810.60
#FFFFFF10.601.0021.001.00
#0000001.9821.001.0021.00
##FFFFFF10.601.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #4a2b86;
/* rgb */ color: rgb(74, 43, 134);
/* oklch */ color: oklch(38.2% 0.144 294.2);
Tailwind
colors: {
  custom: {
    50: '#8266aa',
    500: '#4a2b86',
    950: '#000000',
  },
}
SCSS
$custom: #4a2b86;
$custom-light: #8266aa;
$custom-dark: #000000;
JSON
{
  "hex": "#4a2b86",
  "rgb": {
    "r": 74,
    "g": 43,
    "b": 134
  },
  "hsl": {
    "h": 260.44,
    "s": 51.412,
    "l": 34.706
  },
  "oklch": {
    "l": 0.38168,
    "c": 0.14418,
    "h": 294.2
  },
  "luminance": 0.04905
}

Semantic roles & 50–950 ramp

primary
#4A2B86
secondary
#94B25B
accent
#DB4DAB
background
#F8F6FA
surface
#EFEBF4
border
#CAC6CE
text
#0B0610
muted
#7C7A7F

Preview Lab

Preview with #4A2B86

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

Preview Lab → · Contrast checker → · Palette generator →

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