#3116A1#3116A1

#3116A1 is a dark, vivid violet. Relative luminance 0.038; OKLCH L 35.9% C 0.200 H 278.2°. Best body text is #FFFFFF at 11.93:1 contrast (WCAG AA passes).

Color values

HEX#3116A1
RGBrgb(49, 22, 161)
HSLhsl(252, 76%, 36%)
HSVhsv(252, 86%, 63%)
CMYKcmyk(69.6%, 86.3%, 0%, 36.9%)
CIE-LABlab(23.00, 50.89, -68.48)
CIE-LCHlch(23.00, 85.32, 306.62°)
OKLaboklab(35.94% 0.0286 -0.1978)
OKLCHoklch(35.94% 0.2 278.2)
XYZxyz(7.9845, 3.7993, 34.0239)
Luminance0.0380 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3116A1 #86A116
analogous
#1640A1 #3116A1 #7616A1
triadic
#3116A1 #A13116 #16A131
tetradic
#3116A1 #A11640 #86A116 #16A176
square
#3116A1 #A11640 #86A116 #16A176
split-complementary
#3116A1 #A17616 #40A116
monochromatic
#100735 #210F6B #3116A1 #411DD7 #694BE6

Accessibility & contrast

On white

11.93
#3116A1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.76
#3116A1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3116A1
11.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3116A1#FFFFFF#000000##FFFFFF
##3116A11.0011.931.7611.93
#FFFFFF11.931.0021.001.00
#0000001.7621.001.0021.00
##FFFFFF11.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003CA5
Deuteranopia (green-blind)
#00319F
Tritanopia (blue-blind)
#00445F
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #3116a1;
/* rgb */ color: rgb(49, 22, 161);
/* oklch */ color: oklch(35.9% 0.200 278.2);
Tailwind
colors: {
  custom: {
    50: '#7b5abe',
    500: '#3116a1',
    950: '#000000',
  },
}
SCSS
$custom: #3116a1;
$custom-light: #7b5abe;
$custom-dark: #000000;
JSON
{
  "hex": "#3116a1",
  "rgb": {
    "r": 49,
    "g": 22,
    "b": 161
  },
  "hsl": {
    "h": 251.655,
    "s": 75.956,
    "l": 35.882
  },
  "oklch": {
    "l": 0.35939,
    "c": 0.19981,
    "h": 278.2
  },
  "luminance": 0.038
}

Semantic roles & 50–950 ramp

primary
#3116A1
secondary
#B0C84B
accent
#F335CE
background
#F8F5FB
surface
#EFE9F7
border
#CAC5D0
text
#0B0412
muted
#7C7981

Preview Lab

Preview with #3116A1

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

Preview Lab → · Contrast checker → · Palette generator →

#3116A1 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva