#3A16A1#3A16A1

#3A16A1 is a dark, vivid violet. Relative luminance 0.040; OKLCH L 36.7% C 0.198 H 282.4°. Best body text is #FFFFFF at 11.61:1 contrast (WCAG AA passes).

Color values

HEX#3A16A1
RGBrgb(58, 22, 161)
HSLhsl(256, 76%, 36%)
HSVhsv(256, 86%, 63%)
CMYKcmyk(64%, 86.3%, 0%, 36.9%)
CIE-LABlab(23.82, 51.62, -67.09)
CIE-LCHlch(23.82, 84.65, 307.58°)
OKLaboklab(36.71% 0.0427 -0.1935)
OKLCHoklch(36.71% 0.198 282.4)
XYZxyz(8.4628, 4.0459, 34.0463)
Luminance0.0405 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A16A1 #7DA116
analogous
#1637A1 #3A16A1 #7F16A1
triadic
#3A16A1 #A13A16 #16A13A
tetradic
#3A16A1 #A11637 #7DA116 #16A17F
square
#3A16A1 #A11637 #7DA116 #16A17F
split-complementary
#3A16A1 #A17F16 #37A116
monochromatic
#130735 #270F6B #3A16A1 #4D1DD7 #734BE6

Accessibility & contrast

On white

11.61
#3A16A1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.81
#3A16A1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3A16A1
11.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A16A1#FFFFFF#000000##FFFFFF
##3A16A11.0011.611.8111.61
#FFFFFF11.611.0021.001.00
#0000001.8121.001.0021.00
##FFFFFF11.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003DA5
Deuteranopia (green-blind)
#00349F
Tritanopia (blue-blind)
#00435F
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #3a16a1;
/* rgb */ color: rgb(58, 22, 161);
/* oklch */ color: oklch(36.7% 0.198 282.4);
Tailwind
colors: {
  custom: {
    50: '#7f5bbe',
    500: '#3a16a1',
    950: '#000000',
  },
}
SCSS
$custom: #3a16a1;
$custom-light: #7f5bbe;
$custom-dark: #000000;
JSON
{
  "hex": "#3a16a1",
  "rgb": {
    "r": 58,
    "g": 22,
    "b": 161
  },
  "hsl": {
    "h": 255.54,
    "s": 75.956,
    "l": 35.882
  },
  "oklch": {
    "l": 0.36707,
    "c": 0.19815,
    "h": 282.4
  },
  "luminance": 0.04047
}

Semantic roles & 50–950 ramp

primary
#3A16A1
secondary
#A8C84B
accent
#F335C2
background
#F8F5FB
surface
#F0E9F7
border
#CBC5D0
text
#0B0412
muted
#7C7981

Preview Lab

Preview with #3A16A1

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

Preview Lab → · Contrast checker → · Palette generator →

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