#3C1FC2#3C1FC2

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

Color values

HEX#3C1FC2
RGBrgb(60, 31, 194)
HSLhsl(251, 72%, 44%)
HSVhsv(251, 84%, 76%)
CMYKcmyk(69.1%, 84%, 0%, 23.9%)
CIE-LABlab(28.99, 57.52, -78.27)
CIE-LCHlch(28.99, 97.13, 306.31°)
OKLaboklab(41.4% 0.0308 -0.2261)
OKLCHoklch(41.4% 0.228 277.7)
XYZxyz(12.0879, 5.8346, 51.5176)
Luminance0.0584 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3C1FC2 #A5C21F
analogous
#1F54C2 #3C1FC2 #8E1FC2
triadic
#3C1FC2 #C23C1F #1FC23C
tetradic
#3C1FC2 #C21F54 #A5C21F #1FC28E
square
#3C1FC2 #C21F54 #A5C21F #1FC28E
split-complementary
#3C1FC2 #C28E1F #54C21F
monochromatic
#1B0E58 #2C178D #3C1FC2 #5B3EE0 #8873E9

Accessibility & contrast

On white

9.69
#3C1FC2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #3C1FC2
9.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3C1FC2#FFFFFF#000000##FFFFFF
##3C1FC21.009.692.179.69
#FFFFFF9.691.0021.001.00
#0000002.1721.001.0021.00
##FFFFFF9.691.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #3c1fc2;
/* rgb */ color: rgb(60, 31, 194);
/* oklch */ color: oklch(41.4% 0.228 277.7);
Tailwind
colors: {
  custom: {
    50: '#8662d6',
    500: '#3c1fc2',
    950: '#000000',
  },
}
SCSS
$custom: #3c1fc2;
$custom-light: #8662d6;
$custom-dark: #000000;
JSON
{
  "hex": "#3c1fc2",
  "rgb": {
    "r": 60,
    "g": 31,
    "b": 194
  },
  "hsl": {
    "h": 250.675,
    "s": 72.444,
    "l": 44.118
  },
  "oklch": {
    "l": 0.41395,
    "c": 0.22817,
    "h": 277.7
  },
  "luminance": 0.05836
}

Semantic roles & 50–950 ramp

primary
#3C1FC2
secondary
#BECF6D
accent
#EF39CF
background
#F9F6FD
surface
#F1EBFA
border
#CBC6D3
text
#0D0515
muted
#7E7A83

Preview Lab

Preview with #3C1FC2

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

Preview Lab → · Contrast checker → · Palette generator →

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