#3F16A1#3F16A1

#3F16A1 is a dark, vivid violet. Relative luminance 0.042; OKLCH L 37.2% C 0.197 H 284.9°. Best body text is #FFFFFF at 11.41:1 contrast (WCAG AA passes).

Color values

HEX#3F16A1
RGBrgb(63, 22, 161)
HSLhsl(258, 76%, 36%)
HSVhsv(258, 86%, 63%)
CMYKcmyk(60.9%, 86.3%, 0%, 36.9%)
CIE-LABlab(24.33, 52.08, -66.23)
CIE-LCHlch(24.33, 84.25, 308.18°)
OKLaboklab(37.18% 0.0507 -0.1909)
OKLCHoklch(37.18% 0.197 284.9)
XYZxyz(8.7679, 4.2032, 34.0606)
Luminance0.0420 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F16A1 #78A116
analogous
#1632A1 #3F16A1 #8416A1
triadic
#3F16A1 #A13F16 #16A13F
tetradic
#3F16A1 #A11632 #78A116 #16A184
square
#3F16A1 #A11632 #78A116 #16A184
split-complementary
#3F16A1 #A18416 #32A116
monochromatic
#150735 #2A0F6B #3F16A1 #541DD7 #794BE6

Accessibility & contrast

On white

11.41
#3F16A1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.84
#3F16A1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3F16A1
11.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F16A1#FFFFFF#000000##FFFFFF
##3F16A11.0011.411.8411.41
#FFFFFF11.411.0021.001.00
#0000001.8421.001.0021.00
##FFFFFF11.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003DA5
Deuteranopia (green-blind)
#00359F
Tritanopia (blue-blind)
#00435F
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #3f16a1;
/* rgb */ color: rgb(63, 22, 161);
/* oklch */ color: oklch(37.2% 0.197 284.9);
Tailwind
colors: {
  custom: {
    50: '#825cbe',
    500: '#3f16a1',
    950: '#000000',
  },
}
SCSS
$custom: #3f16a1;
$custom-light: #825cbe;
$custom-dark: #000000;
JSON
{
  "hex": "#3f16a1",
  "rgb": {
    "r": 63,
    "g": 22,
    "b": 161
  },
  "hsl": {
    "h": 257.698,
    "s": 75.956,
    "l": 35.882
  },
  "oklch": {
    "l": 0.37177,
    "c": 0.19748,
    "h": 284.9
  },
  "luminance": 0.04204
}

Semantic roles & 50–950 ramp

primary
#3F16A1
secondary
#A3C84B
accent
#F335BB
background
#F8F5FB
surface
#F0E9F7
border
#CBC5D0
text
#0C0412
muted
#7D7981

Preview Lab

Preview with #3F16A1

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

Preview Lab → · Contrast checker → · Palette generator →

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