#3B1CB3#3B1CB3

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

Color values

HEX#3B1CB3
RGBrgb(59, 28, 179)
HSLhsl(252, 73%, 41%)
HSVhsv(252, 84%, 70%)
CMYKcmyk(67%, 84.4%, 0%, 29.8%)
CIE-LABlab(26.77, 54.41, -73.05)
CIE-LCHlch(26.77, 91.09, 306.68°)
OKLaboklab(39.35% 0.0353 -0.2109)
OKLCHoklch(39.35% 0.214 279.5)
XYZxyz(10.3530, 5.0141, 43.0613)
Luminance0.0502 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3B1CB3 #94B31C
analogous
#1C48B3 #3B1CB3 #861CB3
triadic
#3B1CB3 #B33B1C #1CB33B
tetradic
#3B1CB3 #B31C48 #94B31C #1CB386
square
#3B1CB3 #B31C48 #94B31C #1CB386
split-complementary
#3B1CB3 #B3861C #48B31C
monochromatic
#180B49 #2A147E #3B1CB3 #522EDE #7E63E7

Accessibility & contrast

On white

10.48
#3B1CB3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #3B1CB3
10.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3B1CB3#FFFFFF#000000##FFFFFF
##3B1CB31.0010.482.0010.48
#FFFFFF10.481.0021.001.00
#0000002.0021.001.0021.00
##FFFFFF10.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0045B7
Deuteranopia (green-blind)
#0039B0
Tritanopia (blue-blind)
#004D6A
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #3b1cb3;
/* rgb */ color: rgb(59, 28, 179);
/* oklch */ color: oklch(39.4% 0.214 279.5);
Tailwind
colors: {
  custom: {
    50: '#835fcb',
    500: '#3b1cb3',
    950: '#000000',
  },
}
SCSS
$custom: #3b1cb3;
$custom-light: #835fcb;
$custom-dark: #000000;
JSON
{
  "hex": "#3b1cb3",
  "rgb": {
    "r": 59,
    "g": 28,
    "b": 179
  },
  "hsl": {
    "h": 252.318,
    "s": 72.947,
    "l": 40.588
  },
  "oklch": {
    "l": 0.39354,
    "c": 0.21385,
    "h": 279.5
  },
  "luminance": 0.05015
}

Semantic roles & 50–950 ramp

primary
#3B1CB3
secondary
#B5CB5F
accent
#F038CA
background
#F8F5FC
surface
#F0EAF9
border
#CBC6D2
text
#0C0513
muted
#7D7982

Preview Lab

Preview with #3B1CB3

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

Preview Lab → · Contrast checker → · Palette generator →

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