#4A2086#4A2086

#4A2086 is a dark, vivid violet. Relative luminance 0.042; OKLCH L 36.7% C 0.158 H 296.5°. Best body text is #FFFFFF at 11.40:1 contrast (WCAG AA passes).

Color values

HEX#4A2086
RGBrgb(74, 32, 134)
HSLhsl(265, 61%, 33%)
HSVhsv(265, 76%, 53%)
CMYKcmyk(44.8%, 76.1%, 0%, 47.5%)
CIE-LABlab(24.35, 41.87, -49.47)
CIE-LCHlch(24.35, 64.81, 310.25°)
OKLaboklab(36.67% 0.0704 -0.1416)
OKLCHoklch(36.67% 0.158 296.5)
XYZxyz(7.6425, 4.2099, 22.9596)
Luminance0.0421 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A2086 #5C8620
analogous
#202986 #4A2086 #7D2086
triadic
#4A2086 #864A20 #20864A
tetradic
#4A2086 #862029 #5C8620 #20867D
square
#4A2086 #862029 #5C8620 #20867D
split-complementary
#4A2086 #867D20 #298620
monochromatic
#130823 #2F1455 #4A2086 #652CB7 #844CD4

Accessibility & contrast

On white

11.40
#4A2086 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.84
#4A2086 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4A2086
11.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A2086#FFFFFF#000000##FFFFFF
##4A20861.0011.401.8411.40
#FFFFFF11.401.0021.001.00
#0000001.8421.001.0021.00
##FFFFFF11.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003A89
Deuteranopia (green-blind)
#003884
Tritanopia (blue-blind)
#3A3B51
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #4a2086;
/* rgb */ color: rgb(74, 32, 134);
/* oklch */ color: oklch(36.7% 0.158 296.5);
Tailwind
colors: {
  custom: {
    50: '#8360aa',
    500: '#4a2086',
    950: '#000000',
  },
}
SCSS
$custom: #4a2086;
$custom-light: #8360aa;
$custom-dark: #000000;
JSON
{
  "hex": "#4a2086",
  "rgb": {
    "r": 74,
    "g": 32,
    "b": 134
  },
  "hsl": {
    "h": 264.706,
    "s": 61.446,
    "l": 32.549
  },
  "oklch": {
    "l": 0.36666,
    "c": 0.15814,
    "h": 296.5
  },
  "luminance": 0.0421
}

Semantic roles & 50–950 ramp

primary
#4A2086
secondary
#8AB74B
accent
#E543A2
background
#F8F5FA
surface
#EFEAF4
border
#CAC6CE
text
#0B0510
muted
#7C797F

Preview Lab

Preview with #4A2086

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

Preview Lab → · Contrast checker → · Palette generator →

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