#3A16C9#3A16C9

#3A16C9 is a dark, highly saturated violet. Relative luminance 0.057; OKLCH L 41.3% C 0.241 H 276.7°. Best body text is #FFFFFF at 9.82:1 contrast (WCAG AA passes).

Color values

HEX#3A16C9
RGBrgb(58, 22, 201)
HSLhsl(252, 80%, 44%)
HSVhsv(252, 89%, 79%)
CMYKcmyk(71.1%, 89.1%, 0%, 21.2%)
CIE-LABlab(28.61, 62.45, -83.02)
CIE-LCHlch(28.61, 103.88, 306.95°)
OKLaboklab(41.34% 0.0281 -0.2397)
OKLCHoklch(41.34% 0.241 276.7)
XYZxyz(12.5710, 5.6892, 55.6826)
Luminance0.0569 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A16C9 #A5C916
analogous
#164BC9 #3A16C9 #9316C9
triadic
#3A16C9 #C93A16 #16C93A
tetradic
#3A16C9 #C9164B #A5C916 #16C993
square
#3A16C9 #C9164B #A5C916 #16C993
split-complementary
#3A16C9 #C99316 #4BC916
monochromatic
#1A0A5B #2A1092 #3A16C9 #5833E9 #856BEF

Accessibility & contrast

On white

9.82
#3A16C9 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.14
#3A16C9 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3A16C9
9.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A16C9#FFFFFF#000000##FFFFFF
##3A16C91.009.822.149.82
#FFFFFF9.821.0021.001.00
#0000002.1421.001.0021.00
##FFFFFF9.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004ACE
Deuteranopia (green-blind)
#003CC6
Tritanopia (blue-blind)
#005577
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #3a16c9;
/* rgb */ color: rgb(58, 22, 201);
/* oklch */ color: oklch(41.3% 0.241 276.7);
Tailwind
colors: {
  custom: {
    50: '#875fdb',
    500: '#3a16c9',
    950: '#000000',
  },
}
SCSS
$custom: #3a16c9;
$custom-light: #875fdb;
$custom-dark: #000000;
JSON
{
  "hex": "#3a16c9",
  "rgb": {
    "r": 58,
    "g": 22,
    "b": 201
  },
  "hsl": {
    "h": 252.067,
    "s": 80.269,
    "l": 43.725
  },
  "oklch": {
    "l": 0.41337,
    "c": 0.24136,
    "h": 276.7
  },
  "luminance": 0.0569
}

Semantic roles & 50–950 ramp

primary
#3A16C9
secondary
#BED467
accent
#F731CF
background
#F9F5FD
surface
#F2EAFB
border
#CCC6D4
text
#0D0515
muted
#7E7983

Preview Lab

Preview with #3A16C9

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

Preview Lab → · Contrast checker → · Palette generator →

#3A16C9 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva