#3B1167#3B1167

#3B1167 is a dark, vivid violet. Relative luminance 0.023; OKLCH L 30.2% C 0.138 H 300.1°. Best body text is #FFFFFF at 14.36:1 contrast (WCAG AA passes).

Color values

HEX#3B1167
RGBrgb(59, 17, 103)
HSLhsl(269, 72%, 24%)
HSVhsv(269, 83%, 40%)
CMYKcmyk(42.7%, 83.5%, 0%, 59.6%)
CIE-LABlab(17.04, 37.83, -41.63)
CIE-LCHlch(17.04, 56.25, 312.27°)
OKLaboklab(30.21% 0.0689 -0.119)
OKLCHoklch(30.21% 0.138 300.1)
XYZxyz(4.4516, 2.3099, 13.0407)
Luminance0.0231 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3B1167 #3D6711
analogous
#111267 #3B1167 #661167
triadic
#3B1167 #673B11 #11673B
tetradic
#3B1167 #671112 #3D6711 #116766
square
#3B1167 #671112 #3D6711 #116766
split-complementary
#3B1167 #676611 #126711
monochromatic
#0F041A #1D0832 #3B1167 #591A9C #7722D0

Accessibility & contrast

On white

14.36
#3B1167 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.46
#3B1167 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3B1167
14.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3B1167#FFFFFF#000000##FFFFFF
##3B11671.0014.361.4614.36
#FFFFFF14.361.0021.001.00
#0000001.4621.001.0021.00
##FFFFFF14.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002A69
Deuteranopia (green-blind)
#002965
Tritanopia (blue-blind)
#31293C
Achromatopsia (no color)
#2A2A2A

Design tokens & code

CSS
--color: #3b1167;
/* rgb */ color: rgb(59, 17, 103);
/* oklch */ color: oklch(30.2% 0.138 300.1);
Tailwind
colors: {
  custom: {
    50: '#765593',
    500: '#3b1167',
    950: '#000000',
  },
}
SCSS
$custom: #3b1167;
$custom-light: #765593;
$custom-dark: #000000;
JSON
{
  "hex": "#3b1167",
  "rgb": {
    "r": 59,
    "g": 17,
    "b": 103
  },
  "hsl": {
    "h": 269.302,
    "s": 71.667,
    "l": 23.529
  },
  "oklch": {
    "l": 0.30207,
    "c": 0.13754,
    "h": 300.1
  },
  "luminance": 0.0231
}

Semantic roles & 50–950 ramp

primary
#3B1167
secondary
#6B9F35
accent
#EE3996
background
#F7F5F9
surface
#EDE9F1
border
#C8C5CB
text
#09030D
muted
#7B787E

Preview Lab

Preview with #3B1167

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

Preview Lab → · Contrast checker → · Palette generator →

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