#3816A0#3816A0

#3816A0 is a dark, vivid violet. Relative luminance 0.040; OKLCH L 36.4% C 0.197 H 281.6°. Best body text is #FFFFFF at 11.73:1 contrast (WCAG AA passes).

Color values

HEX#3816A0
RGBrgb(56, 22, 160)
HSLhsl(255, 76%, 36%)
HSVhsv(255, 86%, 63%)
CMYKcmyk(65%, 86.3%, 0%, 37.3%)
CIE-LABlab(23.51, 51.17, -67.00)
CIE-LCHlch(23.51, 84.30, 307.37°)
OKLaboklab(36.41% 0.0398 -0.1933)
OKLCHoklch(36.41% 0.197 281.6)
XYZxyz(8.2610, 3.9520, 33.5784)
Luminance0.0395 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3816A0 #7EA016
analogous
#1639A0 #3816A0 #7D16A0
triadic
#3816A0 #A03816 #16A038
tetradic
#3816A0 #A01639 #7EA016 #16A07D
square
#3816A0 #A01639 #7EA016 #16A07D
split-complementary
#3816A0 #A07D16 #39A016
monochromatic
#120734 #250F6A #3816A0 #4B1DD6 #714AE6

Accessibility & contrast

On white

11.73
#3816A0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.79
#3816A0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3816A0
11.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3816A0#FFFFFF#000000##FFFFFF
##3816A01.0011.731.7911.73
#FFFFFF11.731.0021.001.00
#0000001.7921.001.0021.00
##FFFFFF11.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003CA4
Deuteranopia (green-blind)
#00339E
Tritanopia (blue-blind)
#00435E
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #3816a0;
/* rgb */ color: rgb(56, 22, 160);
/* oklch */ color: oklch(36.4% 0.197 281.6);
Tailwind
colors: {
  custom: {
    50: '#7e5bbd',
    500: '#3816a0',
    950: '#000000',
  },
}
SCSS
$custom: #3816a0;
$custom-light: #7e5bbd;
$custom-dark: #000000;
JSON
{
  "hex": "#3816a0",
  "rgb": {
    "r": 56,
    "g": 22,
    "b": 160
  },
  "hsl": {
    "h": 254.783,
    "s": 75.824,
    "l": 35.686
  },
  "oklch": {
    "l": 0.36414,
    "c": 0.19735,
    "h": 281.6
  },
  "luminance": 0.03953
}

Semantic roles & 50–950 ramp

primary
#3816A0
secondary
#A9C84A
accent
#F235C4
background
#F8F5FB
surface
#EFE9F7
border
#CAC5D0
text
#0B0412
muted
#7C7981

Preview Lab

Preview with #3816A0

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

Preview Lab → · Contrast checker → · Palette generator →

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