#4A2FC1#4A2FC1

#4A2FC1 is a dark, highly saturated violet. Relative luminance 0.073; OKLCH L 44.1% C 0.211 H 281.8°. Best body text is #FFFFFF at 8.51:1 contrast (WCAG AA passes).

Color values

HEX#4A2FC1
RGBrgb(74, 47, 193)
HSLhsl(251, 61%, 47%)
HSVhsv(251, 76%, 76%)
CMYKcmyk(61.7%, 75.6%, 0%, 24.3%)
CIE-LABlab(32.56, 51.31, -71.74)
CIE-LCHlch(32.56, 88.20, 305.57°)
OKLaboklab(44.14% 0.0434 -0.2069)
OKLCHoklch(44.14% 0.211 281.8)
XYZxyz(13.4632, 7.3382, 51.1487)
Luminance0.0734 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A2FC1 #A6C12F
analogous
#2F5DC1 #4A2FC1 #932FC1
triadic
#4A2FC1 #C14A2F #2FC14A
tetradic
#4A2FC1 #C12F5D #A6C12F #2FC193
square
#4A2FC1 #C12F5D #A6C12F #2FC193
split-complementary
#4A2FC1 #C1932F #5DC12F
monochromatic
#24175F #372390 #4A2FC1 #6F57D6 #9988E2

Accessibility & contrast

On white

8.51
#4A2FC1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.47
#4A2FC1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4A2FC1
8.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A2FC1#FFFFFF#000000##FFFFFF
##4A2FC11.008.512.478.51
#FFFFFF8.511.0021.001.00
#0000002.4721.001.0021.00
##FFFFFF8.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0051C5
Deuteranopia (green-blind)
#0047BE
Tritanopia (blue-blind)
#005976
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #4a2fc1;
/* rgb */ color: rgb(74, 47, 193);
/* oklch */ color: oklch(44.1% 0.211 281.8);
Tailwind
colors: {
  custom: {
    50: '#8b6bd5',
    500: '#4a2fc1',
    950: '#000000',
  },
}
SCSS
$custom: #4a2fc1;
$custom-light: #8b6bd5;
$custom-dark: #000000;
JSON
{
  "hex": "#4a2fc1",
  "rgb": {
    "r": 74,
    "g": 47,
    "b": 193
  },
  "hsl": {
    "h": 251.096,
    "s": 60.833,
    "l": 47.059
  },
  "oklch": {
    "l": 0.44138,
    "c": 0.21141,
    "h": 281.8
  },
  "luminance": 0.07339
}

Semantic roles & 50–950 ramp

primary
#4A2FC1
secondary
#BECC80
accent
#E444C6
background
#F9F6FD
surface
#F2EBFA
border
#CCC6D3
text
#0D0714
muted
#7E7A83

Preview Lab

Preview with #4A2FC1

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

Preview Lab → · Contrast checker → · Palette generator →

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