#3B167F#3B167F

#3B167F is a dark, vivid violet. Relative luminance 0.030; OKLCH L 33.1% C 0.160 H 290.8°. Best body text is #FFFFFF at 13.07:1 contrast (WCAG AA passes).

Color values

HEX#3B167F
RGBrgb(59, 22, 127)
HSLhsl(261, 70%, 29%)
HSVhsv(261, 83%, 50%)
CMYKcmyk(53.5%, 82.7%, 0%, 50.2%)
CIE-LABlab(20.19, 42.22, -51.96)
CIE-LCHlch(20.19, 66.95, 309.10°)
OKLaboklab(33.13% 0.0569 -0.1493)
OKLCHoklch(33.13% 0.16 290.8)
XYZxyz(5.9202, 3.0357, 20.3486)
Luminance0.0304 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3B167F #5A7F16
analogous
#16267F #3B167F #70167F
triadic
#3B167F #7F3B16 #167F3B
tetradic
#3B167F #7F1626 #5A7F16 #167F70
square
#3B167F #7F1626 #5A7F16 #167F70
split-complementary
#3B167F #7F7016 #267F16
monochromatic
#0C051A #230D4B #3B167F #531FB3 #6F34DC

Accessibility & contrast

On white

13.07
#3B167F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.61
#3B167F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3B167F
13.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3B167F#FFFFFF#000000##FFFFFF
##3B167F1.0013.071.6113.07
#FFFFFF13.071.0021.001.00
#0000001.6121.001.0021.00
##FFFFFF13.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003282
Deuteranopia (green-blind)
#002E7D
Tritanopia (blue-blind)
#22354B
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #3b167f;
/* rgb */ color: rgb(59, 22, 127);
/* oklch */ color: oklch(33.1% 0.160 290.8);
Tailwind
colors: {
  custom: {
    50: '#7959a5',
    500: '#3b167f',
    950: '#000000',
  },
}
SCSS
$custom: #3b167f;
$custom-light: #7959a5;
$custom-dark: #000000;
JSON
{
  "hex": "#3b167f",
  "rgb": {
    "r": 59,
    "g": 22,
    "b": 127
  },
  "hsl": {
    "h": 261.143,
    "s": 70.47,
    "l": 29.216
  },
  "oklch": {
    "l": 0.33125,
    "c": 0.1598,
    "h": 290.8
  },
  "luminance": 0.03036
}

Semantic roles & 50–950 ramp

primary
#3B167F
secondary
#8AB43D
accent
#ED3BAE
background
#F7F5FA
surface
#EEE9F4
border
#C9C5CE
text
#0A040F
muted
#7C797F

Preview Lab

Preview with #3B167F

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

Preview Lab → · Contrast checker → · Palette generator →

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