#3F16B4#3F16B4

#3F16B4 is a dark, highly saturated violet. Relative luminance 0.049; OKLCH L 39.3% C 0.218 H 281.5°. Best body text is #FFFFFF at 10.58:1 contrast (WCAG AA passes).

Color values

HEX#3F16B4
RGBrgb(63, 22, 180)
HSLhsl(256, 78%, 40%)
HSVhsv(256, 88%, 71%)
CMYKcmyk(65%, 87.8%, 0%, 29.4%)
CIE-LABlab(26.52, 57.19, -74.06)
CIE-LCHlch(26.52, 93.57, 307.67°)
OKLaboklab(39.3% 0.0434 -0.2136)
OKLCHoklch(39.3% 0.218 281.5)
XYZxyz(10.5724, 4.9251, 43.5647)
Luminance0.0493 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F16B4 #8BB416
analogous
#163CB4 #3F16B4 #8E16B4
triadic
#3F16B4 #B43F16 #16B43F
tetradic
#3F16B4 #B4163C #8BB416 #16B48E
square
#3F16B4 #B4163C #8BB416 #16B48E
split-complementary
#3F16B4 #B48E16 #3CB416
monochromatic
#190947 #2C0F7D #3F16B4 #5523E4 #7F5AEB

Accessibility & contrast

On white

10.58
#3F16B4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.99
#3F16B4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3F16B4
10.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F16B4#FFFFFF#000000##FFFFFF
##3F16B41.0010.581.9910.58
#FFFFFF10.581.0021.001.00
#0000001.9921.001.0021.00
##FFFFFF10.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0044B8
Deuteranopia (green-blind)
#0039B1
Tritanopia (blue-blind)
#004B6A
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #3f16b4;
/* rgb */ color: rgb(63, 22, 180);
/* oklch */ color: oklch(39.3% 0.218 281.5);
Tailwind
colors: {
  custom: {
    50: '#855dcc',
    500: '#3f16b4',
    950: '#000000',
  },
}
SCSS
$custom: #3f16b4;
$custom-light: #855dcc;
$custom-dark: #000000;
JSON
{
  "hex": "#3f16b4",
  "rgb": {
    "r": 63,
    "g": 22,
    "b": 180
  },
  "hsl": {
    "h": 255.57,
    "s": 78.218,
    "l": 39.608
  },
  "oklch": {
    "l": 0.39303,
    "c": 0.21801,
    "h": 281.5
  },
  "luminance": 0.04926
}

Semantic roles & 50–950 ramp

primary
#3F16B4
secondary
#AFCE58
accent
#F533C2
background
#F8F5FC
surface
#F0E9F9
border
#CBC5D2
text
#0D0514
muted
#7D7982

Preview Lab

Preview with #3F16B4

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

Preview Lab → · Contrast checker → · Palette generator →

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