#3B1081#3B1081

#3B1081 is a dark, vivid violet. Relative luminance 0.029; OKLCH L 32.8% C 0.167 H 291.0°. Best body text is #FFFFFF at 13.32:1 contrast (WCAG AA passes).

Color values

HEX#3B1081
RGBrgb(59, 16, 129)
HSLhsl(263, 78%, 28%)
HSVhsv(263, 88%, 51%)
CMYKcmyk(54.3%, 87.6%, 0%, 49.4%)
CIE-LABlab(19.58, 45.18, -54.23)
CIE-LCHlch(19.58, 70.58, 309.80°)
OKLaboklab(32.77% 0.06 -0.1559)
OKLCHoklch(32.77% 0.167 291)
XYZxyz(5.9502, 2.8851, 21.0080)
Luminance0.0289 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3B1081 #568110
analogous
#101D81 #3B1081 #731081
triadic
#3B1081 #813B10 #10813B
tetradic
#3B1081 #81101D #568110 #108173
square
#3B1081 #81101D #568110 #108173
split-complementary
#3B1081 #817310 #1D8110
monochromatic
#0C031B #22094B #3B1081 #5417B7 #6F27E4

Accessibility & contrast

On white

13.32
#3B1081 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.58
#3B1081 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3B1081
13.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3B1081#FFFFFF#000000##FFFFFF
##3B10811.0013.321.5813.32
#FFFFFF13.321.0021.001.00
#0000001.5821.001.0021.00
##FFFFFF13.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003184
Deuteranopia (green-blind)
#002D7F
Tritanopia (blue-blind)
#21344B
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #3b1081;
/* rgb */ color: rgb(59, 16, 129);
/* oklch */ color: oklch(32.8% 0.167 291.0);
Tailwind
colors: {
  custom: {
    50: '#7a56a7',
    500: '#3b1081',
    950: '#000000',
  },
}
SCSS
$custom: #3b1081;
$custom-light: #7a56a7;
$custom-dark: #000000;
JSON
{
  "hex": "#3b1081",
  "rgb": {
    "r": 59,
    "g": 16,
    "b": 129
  },
  "hsl": {
    "h": 262.832,
    "s": 77.931,
    "l": 28.431
  },
  "oklch": {
    "l": 0.3277,
    "c": 0.16704,
    "h": 291
  },
  "luminance": 0.02885
}

Semantic roles & 50–950 ramp

primary
#3B1081
secondary
#86B736
accent
#F433AB
background
#F7F5FA
surface
#EEE9F4
border
#C9C5CE
text
#0A0310
muted
#7C787F

Preview Lab

Preview with #3B1081

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

Preview Lab → · Contrast checker → · Palette generator →

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