#3B16A1#3B16A1

#3B16A1 is a dark, vivid violet. Relative luminance 0.041; OKLCH L 36.8% C 0.198 H 282.9°. Best body text is #FFFFFF at 11.57:1 contrast (WCAG AA passes).

Color values

HEX#3B16A1
RGBrgb(59, 22, 161)
HSLhsl(256, 76%, 36%)
HSVhsv(256, 86%, 63%)
CMYKcmyk(63.4%, 86.3%, 0%, 36.9%)
CIE-LABlab(23.92, 51.71, -66.92)
CIE-LCHlch(23.92, 84.57, 307.69°)
OKLaboklab(36.8% 0.0443 -0.193)
OKLCHoklch(36.8% 0.198 282.9)
XYZxyz(8.5216, 4.0762, 34.0490)
Luminance0.0408 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3B16A1 #7CA116
analogous
#1637A1 #3B16A1 #8016A1
triadic
#3B16A1 #A13B16 #16A13B
tetradic
#3B16A1 #A11637 #7CA116 #16A180
square
#3B16A1 #A11637 #7CA116 #16A180
split-complementary
#3B16A1 #A18016 #37A116
monochromatic
#140735 #270F6B #3B16A1 #4F1DD7 #744BE6

Accessibility & contrast

On white

11.57
#3B16A1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.82
#3B16A1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3B16A1
11.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3B16A1#FFFFFF#000000##FFFFFF
##3B16A11.0011.571.8211.57
#FFFFFF11.571.0021.001.00
#0000001.8221.001.0021.00
##FFFFFF11.571.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: #3b16a1;
/* rgb */ color: rgb(59, 22, 161);
/* oklch */ color: oklch(36.8% 0.198 282.9);
Tailwind
colors: {
  custom: {
    50: '#805bbe',
    500: '#3b16a1',
    950: '#000000',
  },
}
SCSS
$custom: #3b16a1;
$custom-light: #805bbe;
$custom-dark: #000000;
JSON
{
  "hex": "#3b16a1",
  "rgb": {
    "r": 59,
    "g": 22,
    "b": 161
  },
  "hsl": {
    "h": 255.971,
    "s": 75.956,
    "l": 35.882
  },
  "oklch": {
    "l": 0.36799,
    "c": 0.19799,
    "h": 282.9
  },
  "luminance": 0.04077
}

Semantic roles & 50–950 ramp

primary
#3B16A1
secondary
#A7C84B
accent
#F335C0
background
#F8F5FB
surface
#F0E9F7
border
#CBC5D0
text
#0C0412
muted
#7D7981

Preview Lab

Preview with #3B16A1

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

Preview Lab → · Contrast checker → · Palette generator →

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