#4A2284#4A2284

#4A2284 is a dark, vivid violet. Relative luminance 0.043; OKLCH L 36.7% C 0.153 H 296.7°. Best body text is #FFFFFF at 11.33:1 contrast (WCAG AA passes).

Color values

HEX#4A2284
RGBrgb(74, 34, 132)
HSLhsl(264, 59%, 33%)
HSVhsv(264, 74%, 52%)
CMYKcmyk(43.9%, 74.2%, 0%, 48.2%)
CIE-LABlab(24.53, 40.32, -47.92)
CIE-LCHlch(24.53, 62.63, 310.08°)
OKLaboklab(36.74% 0.069 -0.1371)
OKLCHoklch(36.74% 0.153 296.7)
XYZxyz(7.5598, 4.2657, 22.2504)
Luminance0.0427 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A2284 #5C8422
analogous
#222B84 #4A2284 #7B2284
triadic
#4A2284 #844A22 #22844A
tetradic
#4A2284 #84222B #5C8422 #22847B
square
#4A2284 #84222B #5C8422 #22847B
split-complementary
#4A2284 #847B22 #2B8422
monochromatic
#130923 #2F1553 #4A2284 #652FB5 #844FD2

Accessibility & contrast

On white

11.33
#4A2284 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.85
#4A2284 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4A2284
11.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A2284#FFFFFF#000000##FFFFFF
##4A22841.0011.331.8511.33
#FFFFFF11.331.0021.001.00
#0000001.8521.001.0021.00
##FFFFFF11.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003B87
Deuteranopia (green-blind)
#003982
Tritanopia (blue-blind)
#3B3B51
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #4a2284;
/* rgb */ color: rgb(74, 34, 132);
/* oklch */ color: oklch(36.7% 0.153 296.7);
Tailwind
colors: {
  custom: {
    50: '#8261a9',
    500: '#4a2284',
    950: '#000000',
  },
}
SCSS
$custom: #4a2284;
$custom-light: #8261a9;
$custom-dark: #000000;
JSON
{
  "hex": "#4a2284",
  "rgb": {
    "r": 74,
    "g": 34,
    "b": 132
  },
  "hsl": {
    "h": 264.49,
    "s": 59.036,
    "l": 32.549
  },
  "oklch": {
    "l": 0.36737,
    "c": 0.15344,
    "h": 296.7
  },
  "luminance": 0.04266
}

Semantic roles & 50–950 ramp

primary
#4A2284
secondary
#8AB54D
accent
#E246A2
background
#F8F5FA
surface
#EFEAF4
border
#CAC6CE
text
#0B0510
muted
#7C797F

Preview Lab

Preview with #4A2284

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

Preview Lab → · Contrast checker → · Palette generator →

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