#3116A0#3116A0

#3116A0 is a dark, vivid violet. Relative luminance 0.038; OKLCH L 35.8% C 0.199 H 278.4°. Best body text is #FFFFFF at 11.98:1 contrast (WCAG AA passes).

Color values

HEX#3116A0
RGBrgb(49, 22, 160)
HSLhsl(252, 76%, 36%)
HSVhsv(252, 86%, 63%)
CMYKcmyk(69.4%, 86.3%, 0%, 37.3%)
CIE-LABlab(22.88, 50.61, -68.07)
CIE-LCHlch(22.88, 84.82, 306.63°)
OKLaboklab(35.82% 0.0289 -0.1966)
OKLCHoklch(35.82% 0.199 278.4)
XYZxyz(7.8967, 3.7642, 33.5613)
Luminance0.0377 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3116A0 #85A016
analogous
#1640A0 #3116A0 #7616A0
triadic
#3116A0 #A03116 #16A031
tetradic
#3116A0 #A01640 #85A016 #16A076
square
#3116A0 #A01640 #85A016 #16A076
split-complementary
#3116A0 #A07616 #40A016
monochromatic
#100734 #210F6A #3116A0 #411DD6 #694AE6

Accessibility & contrast

On white

11.98
#3116A0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.75
#3116A0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3116A0
11.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3116A0#FFFFFF#000000##FFFFFF
##3116A01.0011.981.7511.98
#FFFFFF11.981.0021.001.00
#0000001.7521.001.0021.00
##FFFFFF11.981.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #3116a0;
/* rgb */ color: rgb(49, 22, 160);
/* oklch */ color: oklch(35.8% 0.199 278.4);
Tailwind
colors: {
  custom: {
    50: '#7b5abe',
    500: '#3116a0',
    950: '#000000',
  },
}
SCSS
$custom: #3116a0;
$custom-light: #7b5abe;
$custom-dark: #000000;
JSON
{
  "hex": "#3116a0",
  "rgb": {
    "r": 49,
    "g": 22,
    "b": 160
  },
  "hsl": {
    "h": 251.739,
    "s": 75.824,
    "l": 35.686
  },
  "oklch": {
    "l": 0.35822,
    "c": 0.19868,
    "h": 278.4
  },
  "luminance": 0.03765
}

Semantic roles & 50–950 ramp

primary
#3116A0
secondary
#AFC84A
accent
#F235CD
background
#F8F5FB
surface
#EFE9F7
border
#CAC5D0
text
#0B0412
muted
#7C7981

Preview Lab

Preview with #3116A0

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

Preview Lab → · Contrast checker → · Palette generator →

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