#3B1BB1#3B1BB1

#3B1BB1 is a dark, highly saturated violet. Relative luminance 0.049; OKLCH L 39.0% C 0.212 H 279.9°. Best body text is #FFFFFF at 10.62:1 contrast (WCAG AA passes).

Color values

HEX#3B1BB1
RGBrgb(59, 27, 177)
HSLhsl(253, 74%, 40%)
HSVhsv(253, 85%, 69%)
CMYKcmyk(66.7%, 84.7%, 0%, 30.6%)
CIE-LABlab(26.41, 54.25, -72.46)
CIE-LCHlch(26.41, 90.52, 306.82°)
OKLaboklab(39.04% 0.0364 -0.2092)
OKLCHoklch(39.04% 0.212 279.9)
XYZxyz(10.1289, 4.8872, 41.9960)
Luminance0.0489 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3B1BB1 #91B11B
analogous
#1B46B1 #3B1BB1 #861BB1
triadic
#3B1BB1 #B13B1B #1BB13B
tetradic
#3B1BB1 #B11B46 #91B11B #1BB186
square
#3B1BB1 #B11B46 #91B11B #1BB186
split-complementary
#3B1BB1 #B1861B #46B11B
monochromatic
#180B47 #29137C #3B1BB1 #512BDF #7D60E7

Accessibility & contrast

On white

10.62
#3B1BB1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.98
#3B1BB1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3B1BB1
10.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3B1BB1#FFFFFF#000000##FFFFFF
##3B1BB11.0010.621.9810.62
#FFFFFF10.621.0021.001.00
#0000001.9821.001.0021.00
##FFFFFF10.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0044B5
Deuteranopia (green-blind)
#0039AE
Tritanopia (blue-blind)
#004C69
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #3b1bb1;
/* rgb */ color: rgb(59, 27, 177);
/* oklch */ color: oklch(39.0% 0.212 279.9);
Tailwind
colors: {
  custom: {
    50: '#825fca',
    500: '#3b1bb1',
    950: '#000000',
  },
}
SCSS
$custom: #3b1bb1;
$custom-light: #825fca;
$custom-dark: #000000;
JSON
{
  "hex": "#3b1bb1",
  "rgb": {
    "r": 59,
    "g": 27,
    "b": 177
  },
  "hsl": {
    "h": 252.8,
    "s": 73.529,
    "l": 40
  },
  "oklch": {
    "l": 0.39037,
    "c": 0.21232,
    "h": 279.9
  },
  "luminance": 0.04888
}

Semantic roles & 50–950 ramp

primary
#3B1BB1
secondary
#B4CB5D
accent
#F038C9
background
#F8F5FC
surface
#F0EAF9
border
#CBC6D2
text
#0C0513
muted
#7D7982

Preview Lab

Preview with #3B1BB1

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

Preview Lab → · Contrast checker → · Palette generator →

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