#3316A0#3316A0

#3316A0 is a dark, vivid violet. Relative luminance 0.038; OKLCH L 36.0% C 0.198 H 279.3°. Best body text is #FFFFFF at 11.91:1 contrast (WCAG AA passes).

Color values

HEX#3316A0
RGBrgb(51, 22, 160)
HSLhsl(253, 76%, 36%)
HSVhsv(253, 86%, 63%)
CMYKcmyk(68.1%, 86.3%, 0%, 37.3%)
CIE-LABlab(23.05, 50.76, -67.78)
CIE-LCHlch(23.05, 84.68, 306.83°)
OKLaboklab(35.99% 0.032 -0.1957)
OKLCHoklch(35.99% 0.198 279.3)
XYZxyz(7.9953, 3.8150, 33.5659)
Luminance0.0382 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3316A0 #83A016
analogous
#163EA0 #3316A0 #7816A0
triadic
#3316A0 #A03316 #16A033
tetradic
#3316A0 #A0163E #83A016 #16A078
square
#3316A0 #A0163E #83A016 #16A078
split-complementary
#3316A0 #A07816 #3EA016
monochromatic
#110734 #220F6A #3316A0 #441DD6 #6B4AE6

Accessibility & contrast

On white

11.91
#3316A0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.76
#3316A0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3316A0
11.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3316A0#FFFFFF#000000##FFFFFF
##3316A01.0011.911.7611.91
#FFFFFF11.911.0021.001.00
#0000001.7621.001.0021.00
##FFFFFF11.911.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #3316a0;
/* rgb */ color: rgb(51, 22, 160);
/* oklch */ color: oklch(36.0% 0.198 279.3);
Tailwind
colors: {
  custom: {
    50: '#7c5bbd',
    500: '#3316a0',
    950: '#000000',
  },
}
SCSS
$custom: #3316a0;
$custom-light: #7c5bbd;
$custom-dark: #000000;
JSON
{
  "hex": "#3316a0",
  "rgb": {
    "r": 51,
    "g": 22,
    "b": 160
  },
  "hsl": {
    "h": 252.609,
    "s": 75.824,
    "l": 35.686
  },
  "oklch": {
    "l": 0.35985,
    "c": 0.19827,
    "h": 279.3
  },
  "luminance": 0.03816
}

Semantic roles & 50–950 ramp

primary
#3316A0
secondary
#ADC84A
accent
#F235CB
background
#F8F5FB
surface
#EFE9F7
border
#CAC5D0
text
#0B0412
muted
#7C7981

Preview Lab

Preview with #3316A0

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

Preview Lab → · Contrast checker → · Palette generator →

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