#3B1FC3#3B1FC3

#3B1FC3 is a dark, highly saturated violet. Relative luminance 0.059; OKLCH L 41.4% C 0.229 H 277.3°. Best body text is #FFFFFF at 9.68:1 contrast (WCAG AA passes).

Color values

HEX#3B1FC3
RGBrgb(59, 31, 195)
HSLhsl(250, 73%, 44%)
HSVhsv(250, 84%, 76%)
CMYKcmyk(69.7%, 84.1%, 0%, 23.5%)
CIE-LABlab(29.03, 57.72, -78.81)
CIE-LCHlch(29.03, 97.68, 306.22°)
OKLaboklab(41.43% 0.029 -0.2276)
OKLCHoklch(41.43% 0.229 277.3)
XYZxyz(12.1407, 5.8488, 52.1083)
Luminance0.0585 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3B1FC3 #A7C31F
analogous
#1F55C3 #3B1FC3 #8D1FC3
triadic
#3B1FC3 #C33B1F #1FC33B
tetradic
#3B1FC3 #C31F55 #A7C31F #1FC38D
square
#3B1FC3 #C31F55 #A7C31F #1FC38D
split-complementary
#3B1FC3 #C38D1F #55C31F
monochromatic
#1B0E59 #2B178E #3B1FC3 #5A3FE0 #8874E9

Accessibility & contrast

On white

9.68
#3B1FC3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.17
#3B1FC3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3B1FC3
9.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3B1FC3#FFFFFF#000000##FFFFFF
##3B1FC31.009.682.179.68
#FFFFFF9.681.0021.001.00
#0000002.1721.001.0021.00
##FFFFFF9.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004BC7
Deuteranopia (green-blind)
#003DC0
Tritanopia (blue-blind)
#005574
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #3b1fc3;
/* rgb */ color: rgb(59, 31, 195);
/* oklch */ color: oklch(41.4% 0.229 277.3);
Tailwind
colors: {
  custom: {
    50: '#8662d7',
    500: '#3b1fc3',
    950: '#000000',
  },
}
SCSS
$custom: #3b1fc3;
$custom-light: #8662d7;
$custom-dark: #000000;
JSON
{
  "hex": "#3b1fc3",
  "rgb": {
    "r": 59,
    "g": 31,
    "b": 195
  },
  "hsl": {
    "h": 250.244,
    "s": 72.566,
    "l": 44.314
  },
  "oklch": {
    "l": 0.41433,
    "c": 0.22949,
    "h": 277.3
  },
  "luminance": 0.0585
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #3B1FC3

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

Preview Lab → · Contrast checker → · Palette generator →

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