#4A2185#4A2185

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

Color values

HEX#4A2185
RGBrgb(74, 33, 133)
HSLhsl(265, 60%, 33%)
HSVhsv(265, 75%, 52%)
CMYKcmyk(44.4%, 75.2%, 0%, 47.8%)
CIE-LABlab(24.44, 41.10, -48.70)
CIE-LCHlch(24.44, 63.73, 310.17°)
OKLaboklab(36.7% 0.0697 -0.1393)
OKLCHoklch(36.7% 0.156 296.6)
XYZxyz(7.6004, 4.2369, 22.6031)
Luminance0.0424 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A2185 #5C8521
analogous
#212A85 #4A2185 #7C2185
triadic
#4A2185 #854A21 #21854A
tetradic
#4A2185 #85212A #5C8521 #21857C
square
#4A2185 #85212A #5C8521 #21857C
split-complementary
#4A2185 #857C21 #2A8521
monochromatic
#130923 #2F1554 #4A2185 #652DB6 #844DD3

Accessibility & contrast

On white

11.37
#4A2185 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4A2185
11.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A2185#FFFFFF#000000##FFFFFF
##4A21851.0011.371.8511.37
#FFFFFF11.371.0021.001.00
#0000001.8521.001.0021.00
##FFFFFF11.371.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #4a2185;
/* rgb */ color: rgb(74, 33, 133);
/* oklch */ color: oklch(36.7% 0.156 296.6);
Tailwind
colors: {
  custom: {
    50: '#8260a9',
    500: '#4a2185',
    950: '#000000',
  },
}
SCSS
$custom: #4a2185;
$custom-light: #8260a9;
$custom-dark: #000000;
JSON
{
  "hex": "#4a2185",
  "rgb": {
    "r": 74,
    "g": 33,
    "b": 133
  },
  "hsl": {
    "h": 264.6,
    "s": 60.241,
    "l": 32.549
  },
  "oklch": {
    "l": 0.367,
    "c": 0.15581,
    "h": 296.6
  },
  "luminance": 0.04237
}

Semantic roles & 50–950 ramp

primary
#4A2185
secondary
#8AB64C
accent
#E344A2
background
#F8F5FA
surface
#EFEAF4
border
#CAC6CE
text
#0B0510
muted
#7C797F

Preview Lab

Preview with #4A2185

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

Preview Lab → · Contrast checker → · Palette generator →

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