#4A1FA0#4A1FA0

#4A1FA0 is a dark, vivid violet. Relative luminance 0.050; OKLCH L 39.0% C 0.189 H 289.7°. Best body text is #FFFFFF at 10.53:1 contrast (WCAG AA passes).

Color values

HEX#4A1FA0
RGBrgb(74, 31, 160)
HSLhsl(260, 68%, 37%)
HSVhsv(260, 81%, 63%)
CMYKcmyk(53.7%, 80.6%, 0%, 37.3%)
CIE-LABlab(26.66, 49.44, -61.74)
CIE-LCHlch(26.66, 79.10, 308.69°)
OKLaboklab(39.03% 0.0636 -0.1776)
OKLCHoklch(39.03% 0.189 289.7)
XYZxyz(9.6573, 4.9734, 33.7020)
Luminance0.0497 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A1FA0 #75A01F
analogous
#1F35A0 #4A1FA0 #8A1FA0
triadic
#4A1FA0 #A04A1F #1FA04A
tetradic
#4A1FA0 #A01F35 #75A01F #1FA08A
square
#4A1FA0 #A01F35 #75A01F #1FA08A
split-complementary
#4A1FA0 #A08A1F #35A01F
monochromatic
#1B0B39 #32156D #4A1FA0 #6229D3 #875ADF

Accessibility & contrast

On white

10.53
#4A1FA0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.99
#4A1FA0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4A1FA0
10.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A1FA0#FFFFFF#000000##FFFFFF
##4A1FA01.0010.531.9910.53
#FFFFFF10.531.0021.001.00
#0000001.9921.001.0021.00
##FFFFFF10.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0041A4
Deuteranopia (green-blind)
#003C9E
Tritanopia (blue-blind)
#294560
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #4a1fa0;
/* rgb */ color: rgb(74, 31, 160);
/* oklch */ color: oklch(39.0% 0.189 289.7);
Tailwind
colors: {
  custom: {
    50: '#8761bd',
    500: '#4a1fa0',
    950: '#000000',
  },
}
SCSS
$custom: #4a1fa0;
$custom-light: #8761bd;
$custom-dark: #000000;
JSON
{
  "hex": "#4a1fa0",
  "rgb": {
    "r": 74,
    "g": 31,
    "b": 160
  },
  "hsl": {
    "h": 260,
    "s": 67.539,
    "l": 37.451
  },
  "oklch": {
    "l": 0.39029,
    "c": 0.1886,
    "h": 289.7
  },
  "luminance": 0.04974
}

Semantic roles & 50–950 ramp

primary
#4A1FA0
secondary
#9FC358
accent
#EA3DB1
background
#F8F5FB
surface
#F0EAF7
border
#CBC6D0
text
#0C0512
muted
#7D7981

Preview Lab

Preview with #4A1FA0

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

Preview Lab → · Contrast checker → · Palette generator →

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