#3B1BB4#3B1BB4

#3B1BB4 is a dark, highly saturated violet. Relative luminance 0.050; OKLCH L 39.4% C 0.216 H 279.4°. Best body text is #FFFFFF at 10.49:1 contrast (WCAG AA passes).

Color values

HEX#3B1BB4
RGBrgb(59, 27, 180)
HSLhsl(253, 74%, 41%)
HSVhsv(253, 85%, 71%)
CMYKcmyk(67.2%, 85%, 0%, 29.4%)
CIE-LABlab(26.76, 55.09, -73.68)
CIE-LCHlch(26.76, 92.00, 306.78°)
OKLaboklab(39.38% 0.0354 -0.2127)
OKLCHoklch(39.38% 0.216 279.4)
XYZxyz(10.4312, 5.0081, 43.5881)
Luminance0.0501 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3B1BB4 #94B41B
analogous
#1B47B4 #3B1BB4 #871BB4
triadic
#3B1BB4 #B43B1B #1BB43B
tetradic
#3B1BB4 #B41B47 #94B41B #1BB487
square
#3B1BB4 #B41B47 #94B41B #1BB487
split-complementary
#3B1BB4 #B4871B #47B41B
monochromatic
#180B4A #2A137F #3B1BB4 #522DDF #7E62E7

Accessibility & contrast

On white

10.49
#3B1BB4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.00
#3B1BB4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3B1BB4
10.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3B1BB4#FFFFFF#000000##FFFFFF
##3B1BB41.0010.492.0010.49
#FFFFFF10.491.0021.001.00
#0000002.0021.001.0021.00
##FFFFFF10.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0045B8
Deuteranopia (green-blind)
#0039B1
Tritanopia (blue-blind)
#004D6B
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #3b1bb4;
/* rgb */ color: rgb(59, 27, 180);
/* oklch */ color: oklch(39.4% 0.216 279.4);
Tailwind
colors: {
  custom: {
    50: '#835fcc',
    500: '#3b1bb4',
    950: '#000000',
  },
}
SCSS
$custom: #3b1bb4;
$custom-light: #835fcc;
$custom-dark: #000000;
JSON
{
  "hex": "#3b1bb4",
  "rgb": {
    "r": 59,
    "g": 27,
    "b": 180
  },
  "hsl": {
    "h": 252.549,
    "s": 73.913,
    "l": 40.588
  },
  "oklch": {
    "l": 0.39376,
    "c": 0.21563,
    "h": 279.4
  },
  "luminance": 0.05009
}

Semantic roles & 50–950 ramp

primary
#3B1BB4
secondary
#B5CC5F
accent
#F137CA
background
#F8F5FC
surface
#F0EAF9
border
#CBC6D2
text
#0C0514
muted
#7D7982

Preview Lab

Preview with #3B1BB4

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

Preview Lab → · Contrast checker → · Palette generator →

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