#4A2FC5#4A2FC5

#4A2FC5 is a dark, highly saturated violet. Relative luminance 0.075; OKLCH L 44.5% C 0.216 H 281.3°. Best body text is #FFFFFF at 8.39:1 contrast (WCAG AA passes).

Color values

HEX#4A2FC5
RGBrgb(74, 47, 197)
HSLhsl(251, 61%, 48%)
HSVhsv(251, 76%, 77%)
CMYKcmyk(62.4%, 76.1%, 0%, 22.7%)
CIE-LABlab(32.96, 52.49, -73.43)
CIE-LCHlch(32.96, 90.26, 305.56°)
OKLaboklab(44.53% 0.0423 -0.2119)
OKLCHoklch(44.53% 0.216 281.3)
XYZxyz(13.9154, 7.5191, 53.5305)
Luminance0.0752 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A2FC5 #AAC52F
analogous
#2F5FC5 #4A2FC5 #952FC5
triadic
#4A2FC5 #C54A2F #2FC54A
tetradic
#4A2FC5 #C52F5F #AAC52F #2FC595
square
#4A2FC5 #C52F5F #AAC52F #2FC595
split-complementary
#4A2FC5 #C5952F #5FC52F
monochromatic
#251762 #372394 #4A2FC5 #705AD8 #9B8BE3

Accessibility & contrast

On white

8.39
#4A2FC5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.50
#4A2FC5 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4A2FC5
8.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A2FC5#FFFFFF#000000##FFFFFF
##4A2FC51.008.392.508.39
#FFFFFF8.391.0021.001.00
#0000002.5021.001.0021.00
##FFFFFF8.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0053C9
Deuteranopia (green-blind)
#0048C2
Tritanopia (blue-blind)
#005B79
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #4a2fc5;
/* rgb */ color: rgb(74, 47, 197);
/* oklch */ color: oklch(44.5% 0.216 281.3);
Tailwind
colors: {
  custom: {
    50: '#8c6bd8',
    500: '#4a2fc5',
    950: '#000000',
  },
}
SCSS
$custom: #4a2fc5;
$custom-light: #8c6bd8;
$custom-dark: #000000;
JSON
{
  "hex": "#4a2fc5",
  "rgb": {
    "r": 74,
    "g": 47,
    "b": 197
  },
  "hsl": {
    "h": 250.8,
    "s": 61.475,
    "l": 47.843
  },
  "oklch": {
    "l": 0.44534,
    "c": 0.21606,
    "h": 281.3
  },
  "luminance": 0.0752
}

Semantic roles & 50–950 ramp

primary
#4A2FC5
secondary
#C0CD82
accent
#E543C8
background
#F9F6FD
surface
#F2EBFB
border
#CCC6D4
text
#0D0715
muted
#7E7A83

Preview Lab

Preview with #4A2FC5

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

Preview Lab → · Contrast checker → · Palette generator →

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