#3B169E#3B169E

#3B169E is a dark, vivid violet. Relative luminance 0.040; OKLCH L 36.5% C 0.195 H 283.5°. Best body text is #FFFFFF at 11.70:1 contrast (WCAG AA passes).

Color values

HEX#3B169E
RGBrgb(59, 22, 158)
HSLhsl(256, 76%, 35%)
HSVhsv(256, 86%, 62%)
CMYKcmyk(62.7%, 86.1%, 0%, 38%)
CIE-LABlab(23.58, 50.88, -65.66)
CIE-LCHlch(23.58, 83.07, 307.77°)
OKLaboklab(36.46% 0.0454 -0.1893)
OKLCHoklch(36.46% 0.195 283.5)
XYZxyz(8.2602, 3.9717, 32.6725)
Luminance0.0397 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3B169E #799E16
analogous
#16359E #3B169E #7F169E
triadic
#3B169E #9E3B16 #169E3B
tetradic
#3B169E #9E1635 #799E16 #169E7F
square
#3B169E #9E1635 #799E16 #169E7F
split-complementary
#3B169E #9E7F16 #359E16
monochromatic
#130733 #270F68 #3B169E #4F1DD4 #7349E6

Accessibility & contrast

On white

11.70
#3B169E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.79
#3B169E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3B169E
11.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3B169E#FFFFFF#000000##FFFFFF
##3B169E1.0011.701.7911.70
#FFFFFF11.701.0021.001.00
#0000001.7921.001.0021.00
##FFFFFF11.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003CA2
Deuteranopia (green-blind)
#00349C
Tritanopia (blue-blind)
#00425D
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #3b169e;
/* rgb */ color: rgb(59, 22, 158);
/* oklch */ color: oklch(36.5% 0.195 283.5);
Tailwind
colors: {
  custom: {
    50: '#7f5bbc',
    500: '#3b169e',
    950: '#000000',
  },
}
SCSS
$custom: #3b169e;
$custom-light: #7f5bbc;
$custom-dark: #000000;
JSON
{
  "hex": "#3b169e",
  "rgb": {
    "r": 59,
    "g": 22,
    "b": 158
  },
  "hsl": {
    "h": 256.324,
    "s": 75.556,
    "l": 35.294
  },
  "oklch": {
    "l": 0.36463,
    "c": 0.19469,
    "h": 283.5
  },
  "luminance": 0.03972
}

Semantic roles & 50–950 ramp

primary
#3B169E
secondary
#A5C749
accent
#F236BF
background
#F8F5FB
surface
#F0E9F7
border
#CBC5D0
text
#0B0412
muted
#7C7981

Preview Lab

Preview with #3B169E

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

Preview Lab → · Contrast checker → · Palette generator →

#3B169E Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva