#4A2CC7#4A2CC7

#4A2CC7 is a dark, highly saturated violet. Relative luminance 0.074; OKLCH L 44.4% C 0.221 H 281.4°. Best body text is #FFFFFF at 8.48:1 contrast (WCAG AA passes).

Color values

HEX#4A2CC7
RGBrgb(74, 44, 199)
HSLhsl(252, 64%, 48%)
HSVhsv(252, 78%, 78%)
CMYKcmyk(62.8%, 77.9%, 0%, 22%)
CIE-LABlab(32.66, 54.52, -75.11)
CIE-LCHlch(32.66, 92.81, 305.98°)
OKLaboklab(44.38% 0.0436 -0.2167)
OKLCHoklch(44.38% 0.221 281.4)
XYZxyz(14.0303, 7.3797, 54.7068)
Luminance0.0738 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A2CC7 #A9C72C
analogous
#2C5BC7 #4A2CC7 #982CC7
triadic
#4A2CC7 #C74A2C #2CC74A
tetradic
#4A2CC7 #C72C5B #A9C72C #2CC798
square
#4A2CC7 #C72C5B #A9C72C #2CC798
split-complementary
#4A2CC7 #C7982C #5BC72C
monochromatic
#251663 #372195 #4A2CC7 #7056DA #9A89E5

Accessibility & contrast

On white

8.48
#4A2CC7 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.48
#4A2CC7 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4A2CC7
8.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A2CC7#FFFFFF#000000##FFFFFF
##4A2CC71.008.482.488.48
#FFFFFF8.481.0021.001.00
#0000002.4821.001.0021.00
##FFFFFF8.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0052CB
Deuteranopia (green-blind)
#0047C4
Tritanopia (blue-blind)
#005A79
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #4a2cc7;
/* rgb */ color: rgb(74, 44, 199);
/* oklch */ color: oklch(44.4% 0.221 281.4);
Tailwind
colors: {
  custom: {
    50: '#8c6ad9',
    500: '#4a2cc7',
    950: '#000000',
  },
}
SCSS
$custom: #4a2cc7;
$custom-light: #8c6ad9;
$custom-dark: #000000;
JSON
{
  "hex": "#4a2cc7",
  "rgb": {
    "r": 74,
    "g": 44,
    "b": 199
  },
  "hsl": {
    "h": 251.613,
    "s": 63.786,
    "l": 47.647
  },
  "oklch": {
    "l": 0.44381,
    "c": 0.22106,
    "h": 281.4
  },
  "luminance": 0.07381
}

Semantic roles & 50–950 ramp

primary
#4A2CC7
secondary
#BFCF80
accent
#E741C7
background
#F9F6FD
surface
#F2EBFB
border
#CCC6D4
text
#0E0715
muted
#7E7A83

Preview Lab

Preview with #4A2CC7

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

Preview Lab → · Contrast checker → · Palette generator →

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