#3B1071#3B1071

#3B1071 is a dark, vivid violet. Relative luminance 0.025; OKLCH L 31.1% C 0.150 H 296.3°. Best body text is #FFFFFF at 14.01:1 contrast (WCAG AA passes).

Color values

HEX#3B1071
RGBrgb(59, 16, 113)
HSLhsl(267, 75%, 25%)
HSVhsv(267, 86%, 44%)
CMYKcmyk(47.8%, 85.8%, 0%, 55.7%)
CIE-LABlab(17.88, 40.90, -46.76)
CIE-LCHlch(17.88, 62.13, 311.18°)
OKLaboklab(31.1% 0.0663 -0.1341)
OKLCHoklch(31.1% 0.15 296.3)
XYZxyz(4.9688, 2.4925, 15.8389)
Luminance0.0249 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3B1071 #467110
analogous
#101571 #3B1071 #6B1071
triadic
#3B1071 #713B10 #10713B
tetradic
#3B1071 #711015 #467110 #10716B
square
#3B1071 #711015 #467110 #10716B
split-complementary
#3B1071 #716B10 #157110
monochromatic
#0E041B #1F083B #3B1071 #5718A7 #731FDC

Accessibility & contrast

On white

14.01
#3B1071 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.50
#3B1071 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3B1071
14.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3B1071#FFFFFF#000000##FFFFFF
##3B10711.0014.011.5014.01
#FFFFFF14.011.0021.001.00
#0000001.5021.001.0021.00
##FFFFFF14.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002C74
Deuteranopia (green-blind)
#002A6F
Tritanopia (blue-blind)
#2C2D42
Achromatopsia (no color)
#2C2C2C

Design tokens & code

CSS
--color: #3b1071;
/* rgb */ color: rgb(59, 16, 113);
/* oklch */ color: oklch(31.1% 0.150 296.3);
Tailwind
colors: {
  custom: {
    50: '#78559b',
    500: '#3b1071',
    950: '#000000',
  },
}
SCSS
$custom: #3b1071;
$custom-light: #78559b;
$custom-dark: #000000;
JSON
{
  "hex": "#3b1071",
  "rgb": {
    "r": 59,
    "g": 16,
    "b": 113
  },
  "hsl": {
    "h": 266.598,
    "s": 75.194,
    "l": 25.294
  },
  "oklch": {
    "l": 0.31097,
    "c": 0.14955,
    "h": 296.3
  },
  "luminance": 0.02493
}

Semantic roles & 50–950 ramp

primary
#3B1071
secondary
#75A934
accent
#F2369F
background
#F7F5F9
surface
#EEE9F2
border
#C9C5CC
text
#09030E
muted
#7B787E

Preview Lab

Preview with #3B1071

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

Preview Lab → · Contrast checker → · Palette generator →

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