#3B1160#3B1160

#3B1160 is a dark, vivid violet. Relative luminance 0.022; OKLCH L 29.5% C 0.130 H 303.2°. Best body text is #FFFFFF at 14.63:1 contrast (WCAG AA passes).

Color values

HEX#3B1160
RGBrgb(59, 17, 96)
HSLhsl(272, 70%, 22%)
HSVhsv(272, 82%, 38%)
CMYKcmyk(38.5%, 82.3%, 0%, 62.4%)
CIE-LABlab(16.38, 35.99, -38.07)
CIE-LCHlch(16.38, 52.39, 313.40°)
OKLaboklab(29.55% 0.0711 -0.1086)
OKLCHoklch(29.55% 0.13 303.2)
XYZxyz(4.1149, 2.1752, 11.2671)
Luminance0.0217 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3B1160 #366011
analogous
#141160 #3B1160 #60115E
triadic
#3B1160 #603B11 #11603B
tetradic
#3B1160 #601411 #366011 #115E60
square
#3B1160 #601411 #366011 #115E60
split-complementary
#3B1160 #5E6011 #116014
monochromatic
#10051A #1B082C #3B1160 #5B1A94 #7B23C8

Accessibility & contrast

On white

14.63
#3B1160 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.44
#3B1160 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3B1160
14.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3B1160#FFFFFF#000000##FFFFFF
##3B11601.0014.631.4414.63
#FFFFFF14.631.0021.001.00
#0000001.4421.001.0021.00
##FFFFFF14.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002862
Deuteranopia (green-blind)
#00285E
Tritanopia (blue-blind)
#332638
Achromatopsia (no color)
#292929

Design tokens & code

CSS
--color: #3b1160;
/* rgb */ color: rgb(59, 17, 96);
/* oklch */ color: oklch(29.5% 0.130 303.2);
Tailwind
colors: {
  custom: {
    50: '#75548e',
    500: '#3b1160',
    950: '#000000',
  },
}
SCSS
$custom: #3b1160;
$custom-light: #75548e;
$custom-dark: #000000;
JSON
{
  "hex": "#3b1160",
  "rgb": {
    "r": 59,
    "g": 17,
    "b": 96
  },
  "hsl": {
    "h": 271.899,
    "s": 69.912,
    "l": 22.157
  },
  "oklch": {
    "l": 0.29546,
    "c": 0.12975,
    "h": 303.2
  },
  "luminance": 0.02175
}

Semantic roles & 50–950 ramp

primary
#3B1160
secondary
#639934
accent
#ED3B8E
background
#F7F5F8
surface
#EDE9F0
border
#C8C5CB
text
#09030C
muted
#7B787D

Preview Lab

Preview with #3B1160

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

Preview Lab → · Contrast checker → · Palette generator →

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