#4A1FAE#4A1FAE

#4A1FAE is a dark, highly saturated violet. Relative luminance 0.055; OKLCH L 40.4% C 0.204 H 286.8°. Best body text is #FFFFFF at 10.01:1 contrast (WCAG AA passes).

Color values

HEX#4A1FAE
RGBrgb(74, 31, 174)
HSLhsl(258, 70%, 40%)
HSVhsv(258, 82%, 68%)
CMYKcmyk(57.5%, 82.2%, 0%, 31.8%)
CIE-LABlab(28.09, 53.26, -67.84)
CIE-LCHlch(28.09, 86.25, 308.13°)
OKLaboklab(40.45% 0.0589 -0.1954)
OKLCHoklch(40.45% 0.204 286.8)
XYZxyz(10.9517, 5.4912, 40.5190)
Luminance0.0549 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A1FAE #83AE1F
analogous
#1F3BAE #4A1FAE #911FAE
triadic
#4A1FAE #AE4A1F #1FAE4A
tetradic
#4A1FAE #AE1F3B #83AE1F #1FAE91
square
#4A1FAE #AE1F3B #83AE1F #1FAE91
split-complementary
#4A1FAE #AE911F #3BAE1F
monochromatic
#1E0C46 #34167A #4A1FAE #6330DA #8A64E3

Accessibility & contrast

On white

10.01
#4A1FAE on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.10
#4A1FAE on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4A1FAE
10.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A1FAE#FFFFFF#000000##FFFFFF
##4A1FAE1.0010.012.1010.01
#FFFFFF10.011.0021.001.00
#0000002.1021.001.0021.00
##FFFFFF10.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0046B2
Deuteranopia (green-blind)
#003EAB
Tritanopia (blue-blind)
#184B68
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #4a1fae;
/* rgb */ color: rgb(74, 31, 174);
/* oklch */ color: oklch(40.4% 0.204 286.8);
Tailwind
colors: {
  custom: {
    50: '#8962c7',
    500: '#4a1fae',
    950: '#000000',
  },
}
SCSS
$custom: #4a1fae;
$custom-light: #8962c7;
$custom-dark: #000000;
JSON
{
  "hex": "#4a1fae",
  "rgb": {
    "r": 74,
    "g": 31,
    "b": 174
  },
  "hsl": {
    "h": 258.042,
    "s": 69.756,
    "l": 40.196
  },
  "oklch": {
    "l": 0.40448,
    "c": 0.20403,
    "h": 286.8
  },
  "luminance": 0.05492
}

Semantic roles & 50–950 ramp

primary
#4A1FAE
secondary
#A9C860
accent
#ED3BB7
background
#F9F6FC
surface
#F1EBF8
border
#CBC6D1
text
#0D0513
muted
#7E7A82

Preview Lab

Preview with #4A1FAE

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

Preview Lab → · Contrast checker → · Palette generator →

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