#3C1ABB#3C1ABB

#3C1ABB is a dark, highly saturated violet. Relative luminance 0.053; OKLCH L 40.2% C 0.224 H 279.0°. Best body text is #FFFFFF at 10.21:1 contrast (WCAG AA passes).

Color values

HEX#3C1ABB
RGBrgb(60, 26, 187)
HSLhsl(253, 76%, 42%)
HSVhsv(253, 86%, 73%)
CMYKcmyk(67.9%, 86.1%, 0%, 26.7%)
CIE-LABlab(27.54, 57.47, -76.55)
CIE-LCHlch(27.54, 95.73, 306.90°)
OKLaboklab(40.16% 0.0348 -0.221)
OKLCHoklch(40.16% 0.224 279)
XYZxyz(11.1996, 5.2863, 47.4342)
Luminance0.0529 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3C1ABB #99BB1A
analogous
#1A48BB #3C1ABB #8D1ABB
triadic
#3C1ABB #BB3C1A #1ABB3C
tetradic
#3C1ABB #BB1A48 #99BB1A #1ABB8D
square
#3C1ABB #BB1A48 #99BB1A #1ABB8D
split-complementary
#3C1ABB #BB8D1A #48BB1A
monochromatic
#1A0B50 #2B1385 #3C1ABB #5630E2 #8266EA

Accessibility & contrast

On white

10.21
#3C1ABB on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.06
#3C1ABB on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3C1ABB
10.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3C1ABB#FFFFFF#000000##FFFFFF
##3C1ABB1.0010.212.0610.21
#FFFFFF10.211.0021.001.00
#0000002.0621.001.0021.00
##FFFFFF10.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0047BF
Deuteranopia (green-blind)
#003BB8
Tritanopia (blue-blind)
#00506F
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #3c1abb;
/* rgb */ color: rgb(60, 26, 187);
/* oklch */ color: oklch(40.2% 0.224 279.0);
Tailwind
colors: {
  custom: {
    50: '#855fd1',
    500: '#3c1abb',
    950: '#000000',
  },
}
SCSS
$custom: #3c1abb;
$custom-light: #855fd1;
$custom-dark: #000000;
JSON
{
  "hex": "#3c1abb",
  "rgb": {
    "r": 60,
    "g": 26,
    "b": 187
  },
  "hsl": {
    "h": 252.671,
    "s": 75.587,
    "l": 41.765
  },
  "oklch": {
    "l": 0.40164,
    "c": 0.22373,
    "h": 279
  },
  "luminance": 0.05287
}

Semantic roles & 50–950 ramp

primary
#3C1ABB
secondary
#B8CF62
accent
#F236CA
background
#F9F5FD
surface
#F1EAFA
border
#CBC6D3
text
#0D0514
muted
#7E7983

Preview Lab

Preview with #3C1ABB

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

Preview Lab → · Contrast checker → · Palette generator →

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