#4A2193#4A2193

#4A2193 is a dark, vivid violet. Relative luminance 0.046; OKLCH L 38.0% C 0.172 H 292.6°. Best body text is #FFFFFF at 10.88:1 contrast (WCAG AA passes).

Color values

HEX#4A2193
RGBrgb(74, 33, 147)
HSLhsl(262, 63%, 35%)
HSVhsv(262, 78%, 58%)
CMYKcmyk(49.7%, 77.6%, 0%, 42.4%)
CIE-LABlab(25.71, 44.96, -55.33)
CIE-LCHlch(25.71, 71.29, 309.10°)
OKLaboklab(37.99% 0.0661 -0.1588)
OKLCHoklch(37.99% 0.172 292.6)
XYZxyz(8.6329, 4.6498, 28.0408)
Luminance0.0465 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A2193 #6A9321
analogous
#213193 #4A2193 #832193
triadic
#4A2193 #934A21 #21934A
tetradic
#4A2193 #932131 #6A9321 #219383
square
#4A2193 #932131 #6A9321 #219383
split-complementary
#4A2193 #938321 #319321
monochromatic
#180B2F #311661 #4A2193 #632CC5 #8555D9

Accessibility & contrast

On white

10.88
#4A2193 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.93
#4A2193 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4A2193
10.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A2193#FFFFFF#000000##FFFFFF
##4A21931.0010.881.9310.88
#FFFFFF10.881.0021.001.00
#0000001.9321.001.0021.00
##FFFFFF10.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003E96
Deuteranopia (green-blind)
#003B91
Tritanopia (blue-blind)
#334059
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #4a2193;
/* rgb */ color: rgb(74, 33, 147);
/* oklch */ color: oklch(38.0% 0.172 292.6);
Tailwind
colors: {
  custom: {
    50: '#8461b4',
    500: '#4a2193',
    950: '#000000',
  },
}
SCSS
$custom: #4a2193;
$custom-light: #8461b4;
$custom-dark: #000000;
JSON
{
  "hex": "#4a2193",
  "rgb": {
    "r": 74,
    "g": 33,
    "b": 147
  },
  "hsl": {
    "h": 261.579,
    "s": 63.333,
    "l": 35.294
  },
  "oklch": {
    "l": 0.37987,
    "c": 0.17199,
    "h": 292.6
  },
  "luminance": 0.0465
}

Semantic roles & 50–950 ramp

primary
#4A2193
secondary
#97BD53
accent
#E641AB
background
#F8F5FB
surface
#F0EAF6
border
#CBC6D0
text
#0C0511
muted
#7D7980

Preview Lab

Preview with #4A2193

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

Preview Lab → · Contrast checker → · Palette generator →

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