#4A2294#4A2294

#4A2294 is a dark, vivid violet. Relative luminance 0.047; OKLCH L 38.2% C 0.172 H 292.2°. Best body text is #FFFFFF at 10.78:1 contrast (WCAG AA passes).

Color values

HEX#4A2294
RGBrgb(74, 34, 148)
HSLhsl(261, 63%, 36%)
HSVhsv(261, 77%, 58%)
CMYKcmyk(50%, 77%, 0%, 42%)
CIE-LABlab(25.97, 44.76, -55.51)
CIE-LCHlch(25.97, 71.31, 308.88°)
OKLaboklab(38.2% 0.065 -0.1593)
OKLCHoklch(38.2% 0.172 292.2)
XYZxyz(8.7399, 4.7377, 28.4652)
Luminance0.0474 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A2294 #6C9422
analogous
#223394 #4A2294 #832294
triadic
#4A2294 #944A22 #22944A
tetradic
#4A2294 #942233 #6C9422 #229483
square
#4A2294 #942233 #6C9422 #229483
split-complementary
#4A2294 #948322 #339422
monochromatic
#180B30 #311762 #4A2294 #632DC6 #8558D9

Accessibility & contrast

On white

10.78
#4A2294 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.95
#4A2294 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4A2294
10.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A2294#FFFFFF#000000##FFFFFF
##4A22941.0010.781.9510.78
#FFFFFF10.781.0021.001.00
#0000001.9521.001.0021.00
##FFFFFF10.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003F97
Deuteranopia (green-blind)
#003B92
Tritanopia (blue-blind)
#32415A
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #4a2294;
/* rgb */ color: rgb(74, 34, 148);
/* oklch */ color: oklch(38.2% 0.172 292.2);
Tailwind
colors: {
  custom: {
    50: '#8462b4',
    500: '#4a2294',
    950: '#000000',
  },
}
SCSS
$custom: #4a2294;
$custom-light: #8462b4;
$custom-dark: #000000;
JSON
{
  "hex": "#4a2294",
  "rgb": {
    "r": 74,
    "g": 34,
    "b": 148
  },
  "hsl": {
    "h": 261.053,
    "s": 62.637,
    "l": 35.686
  },
  "oklch": {
    "l": 0.38199,
    "c": 0.17209,
    "h": 292.2
  },
  "luminance": 0.04738
}

Semantic roles & 50–950 ramp

primary
#4A2294
secondary
#98BD55
accent
#E642AC
background
#F8F6FB
surface
#F0EBF6
border
#CBC6D0
text
#0C0511
muted
#7D7A80

Preview Lab

Preview with #4A2294

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

Preview Lab → · Contrast checker → · Palette generator →

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