#3B1FC2#3B1FC2

#3B1FC2 is a dark, highly saturated violet. Relative luminance 0.058; OKLCH L 41.3% C 0.228 H 277.4°. Best body text is #FFFFFF at 9.72:1 contrast (WCAG AA passes).

Color values

HEX#3B1FC2
RGBrgb(59, 31, 194)
HSLhsl(250, 72%, 44%)
HSVhsv(250, 84%, 76%)
CMYKcmyk(69.6%, 84%, 0%, 23.9%)
CIE-LABlab(28.91, 57.44, -78.41)
CIE-LCHlch(28.91, 97.20, 306.23°)
OKLaboklab(41.32% 0.0293 -0.2265)
OKLCHoklch(41.32% 0.228 277.4)
XYZxyz(12.0281, 5.8037, 51.5148)
Luminance0.0580 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3B1FC2 #A6C21F
analogous
#1F55C2 #3B1FC2 #8D1FC2
triadic
#3B1FC2 #C23B1F #1FC23B
tetradic
#3B1FC2 #C21F55 #A6C21F #1FC28D
square
#3B1FC2 #C21F55 #A6C21F #1FC28D
split-complementary
#3B1FC2 #C28D1F #55C21F
monochromatic
#1B0E58 #2B178D #3B1FC2 #5A3EE0 #8773E9

Accessibility & contrast

On white

9.72
#3B1FC2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.16
#3B1FC2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3B1FC2
9.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3B1FC2#FFFFFF#000000##FFFFFF
##3B1FC21.009.722.169.72
#FFFFFF9.721.0021.001.00
#0000002.1621.001.0021.00
##FFFFFF9.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004AC6
Deuteranopia (green-blind)
#003DBF
Tritanopia (blue-blind)
#005474
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #3b1fc2;
/* rgb */ color: rgb(59, 31, 194);
/* oklch */ color: oklch(41.3% 0.228 277.4);
Tailwind
colors: {
  custom: {
    50: '#8662d6',
    500: '#3b1fc2',
    950: '#000000',
  },
}
SCSS
$custom: #3b1fc2;
$custom-light: #8662d6;
$custom-dark: #000000;
JSON
{
  "hex": "#3b1fc2",
  "rgb": {
    "r": 59,
    "g": 31,
    "b": 194
  },
  "hsl": {
    "h": 250.307,
    "s": 72.444,
    "l": 44.118
  },
  "oklch": {
    "l": 0.4132,
    "c": 0.22839,
    "h": 277.4
  },
  "luminance": 0.05805
}

Semantic roles & 50–950 ramp

primary
#3B1FC2
secondary
#BFCF6D
accent
#EF39D0
background
#F9F6FD
surface
#F1EBFA
border
#CBC6D3
text
#0D0515
muted
#7E7A83

Preview Lab

Preview with #3B1FC2

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

Preview Lab → · Contrast checker → · Palette generator →

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