#4A2293#4A2293

#4A2293 is a dark, vivid violet. Relative luminance 0.047; OKLCH L 38.1% C 0.171 H 292.4°. Best body text is #FFFFFF at 10.82:1 contrast (WCAG AA passes).

Color values

HEX#4A2293
RGBrgb(74, 34, 147)
HSLhsl(261, 62%, 35%)
HSVhsv(261, 77%, 58%)
CMYKcmyk(49.7%, 76.9%, 0%, 42.4%)
CIE-LABlab(25.88, 44.48, -55.05)
CIE-LCHlch(25.88, 70.77, 308.94°)
OKLaboklab(38.1% 0.0653 -0.158)
OKLCHoklch(38.1% 0.171 292.4)
XYZxyz(8.6611, 4.7062, 28.0501)
Luminance0.0471 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A2293 #6B9322
analogous
#223293 #4A2293 #822293
triadic
#4A2293 #934A22 #22934A
tetradic
#4A2293 #932232 #6B9322 #229382
square
#4A2293 #932232 #6B9322 #229382
split-complementary
#4A2293 #938222 #329322
monochromatic
#180B30 #311761 #4A2293 #632DC5 #8557D8

Accessibility & contrast

On white

10.82
#4A2293 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.94
#4A2293 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4A2293
10.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A2293#FFFFFF#000000##FFFFFF
##4A22931.0010.821.9410.82
#FFFFFF10.821.0021.001.00
#0000001.9421.001.0021.00
##FFFFFF10.821.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #4a2293;
/* rgb */ color: rgb(74, 34, 147);
/* oklch */ color: oklch(38.1% 0.171 292.4);
Tailwind
colors: {
  custom: {
    50: '#8462b4',
    500: '#4a2293',
    950: '#000000',
  },
}
SCSS
$custom: #4a2293;
$custom-light: #8462b4;
$custom-dark: #000000;
JSON
{
  "hex": "#4a2293",
  "rgb": {
    "r": 74,
    "g": 34,
    "b": 147
  },
  "hsl": {
    "h": 261.239,
    "s": 62.431,
    "l": 35.49
  },
  "oklch": {
    "l": 0.38105,
    "c": 0.17093,
    "h": 292.4
  },
  "luminance": 0.04706
}

Semantic roles & 50–950 ramp

primary
#4A2293
secondary
#98BC55
accent
#E542AC
background
#F8F5FB
surface
#F0EAF6
border
#CBC6D0
text
#0C0511
muted
#7D7980

Preview Lab

Preview with #4A2293

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

Preview Lab → · Contrast checker → · Palette generator →

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