#3816C9#3816C9

#3816C9 is a dark, highly saturated violet. Relative luminance 0.056; OKLCH L 41.2% C 0.242 H 276.0°. Best body text is #FFFFFF at 9.88:1 contrast (WCAG AA passes).

Color values

HEX#3816C9
RGBrgb(56, 22, 201)
HSLhsl(251, 80%, 44%)
HSVhsv(251, 89%, 79%)
CMYKcmyk(72.1%, 89.1%, 0%, 21.2%)
CIE-LABlab(28.46, 62.34, -83.28)
CIE-LCHlch(28.46, 104.02, 306.82°)
OKLaboklab(41.19% 0.0252 -0.2405)
OKLCHoklch(41.19% 0.242 276)
XYZxyz(12.4570, 5.6304, 55.6773)
Luminance0.0563 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3816C9 #A7C916
analogous
#164DC9 #3816C9 #9116C9
triadic
#3816C9 #C93816 #16C938
tetradic
#3816C9 #C9164D #A7C916 #16C991
square
#3816C9 #C9164D #A7C916 #16C991
split-complementary
#3816C9 #C99116 #4DC916
monochromatic
#190A5B #291092 #3816C9 #5633E9 #846BEF

Accessibility & contrast

On white

9.88
#3816C9 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.13
#3816C9 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3816C9
9.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3816C9#FFFFFF#000000##FFFFFF
##3816C91.009.882.139.88
#FFFFFF9.881.0021.001.00
#0000002.1321.001.0021.00
##FFFFFF9.881.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #3816c9;
/* rgb */ color: rgb(56, 22, 201);
/* oklch */ color: oklch(41.2% 0.242 276.0);
Tailwind
colors: {
  custom: {
    50: '#875fdb',
    500: '#3816c9',
    950: '#000000',
  },
}
SCSS
$custom: #3816c9;
$custom-light: #875fdb;
$custom-dark: #000000;
JSON
{
  "hex": "#3816c9",
  "rgb": {
    "r": 56,
    "g": 22,
    "b": 201
  },
  "hsl": {
    "h": 251.397,
    "s": 80.269,
    "l": 43.725
  },
  "oklch": {
    "l": 0.41194,
    "c": 0.24182,
    "h": 276
  },
  "luminance": 0.05632
}

Semantic roles & 50–950 ramp

primary
#3816C9
secondary
#BFD467
accent
#F731D1
background
#F9F5FD
surface
#F1EAFB
border
#CBC6D4
text
#0D0515
muted
#7E7983

Preview Lab

Preview with #3816C9

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

Preview Lab → · Contrast checker → · Palette generator →

#3816C9 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva