#3C1BB4#3C1BB4

#3C1BB4 is a dark, highly saturated violet. Relative luminance 0.050; OKLCH L 39.5% C 0.215 H 279.9°. Best body text is #FFFFFF at 10.46:1 contrast (WCAG AA passes).

Color values

HEX#3C1BB4
RGBrgb(60, 27, 180)
HSLhsl(253, 74%, 41%)
HSVhsv(253, 85%, 71%)
CMYKcmyk(66.7%, 85%, 0%, 29.4%)
CIE-LABlab(26.85, 55.17, -73.53)
CIE-LCHlch(26.85, 91.93, 306.88°)
OKLaboklab(39.46% 0.0369 -0.2123)
OKLCHoklch(39.46% 0.215 279.9)
XYZxyz(10.4910, 5.0389, 43.5909)
Luminance0.0504 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3C1BB4 #93B41B
analogous
#1B47B4 #3C1BB4 #881BB4
triadic
#3C1BB4 #B43C1B #1BB43C
tetradic
#3C1BB4 #B41B47 #93B41B #1BB488
square
#3C1BB4 #B41B47 #93B41B #1BB488
split-complementary
#3C1BB4 #B4881B #47B41B
monochromatic
#190B4A #2A137F #3C1BB4 #532DDF #7F62E7

Accessibility & contrast

On white

10.46
#3C1BB4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.01
#3C1BB4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3C1BB4
10.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3C1BB4#FFFFFF#000000##FFFFFF
##3C1BB41.0010.462.0110.46
#FFFFFF10.461.0021.001.00
#0000002.0121.001.0021.00
##FFFFFF10.461.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #3c1bb4;
/* rgb */ color: rgb(60, 27, 180);
/* oklch */ color: oklch(39.5% 0.215 279.9);
Tailwind
colors: {
  custom: {
    50: '#835fcc',
    500: '#3c1bb4',
    950: '#000000',
  },
}
SCSS
$custom: #3c1bb4;
$custom-light: #835fcc;
$custom-dark: #000000;
JSON
{
  "hex": "#3c1bb4",
  "rgb": {
    "r": 60,
    "g": 27,
    "b": 180
  },
  "hsl": {
    "h": 252.941,
    "s": 73.913,
    "l": 40.588
  },
  "oklch": {
    "l": 0.39457,
    "c": 0.21544,
    "h": 279.9
  },
  "luminance": 0.0504
}

Semantic roles & 50–950 ramp

primary
#3C1BB4
secondary
#B4CC5F
accent
#F137C9
background
#F8F5FC
surface
#F0EAF9
border
#CBC6D2
text
#0C0514
muted
#7D7982

Preview Lab

Preview with #3C1BB4

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

Preview Lab → · Contrast checker → · Palette generator →

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