#3C1FB2#3C1FB2

#3C1FB2 is a dark, highly saturated violet. Relative luminance 0.052; OKLCH L 39.6% C 0.210 H 279.8°. Best body text is #FFFFFF at 10.34:1 contrast (WCAG AA passes).

Color values

HEX#3C1FB2
RGBrgb(60, 31, 178)
HSLhsl(252, 70%, 41%)
HSVhsv(252, 83%, 70%)
CMYKcmyk(66.3%, 82.6%, 0%, 30.2%)
CIE-LABlab(27.17, 52.97, -71.80)
CIE-LCHlch(27.17, 89.23, 306.42°)
OKLaboklab(39.61% 0.0359 -0.2073)
OKLCHoklch(39.61% 0.21 279.8)
XYZxyz(10.3868, 5.1541, 42.5583)
Luminance0.0515 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3C1FB2 #95B21F
analogous
#1F4BB2 #3C1FB2 #851FB2
triadic
#3C1FB2 #B23C1F #1FB23C
tetradic
#3C1FB2 #B21F4B #95B21F #1FB285
square
#3C1FB2 #B21F4B #95B21F #1FB285
split-complementary
#3C1FB2 #B2851F #4BB21F
monochromatic
#190D4A #2A167E #3C1FB2 #5433DB #8067E5

Accessibility & contrast

On white

10.34
#3C1FB2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.03
#3C1FB2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3C1FB2
10.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3C1FB2#FFFFFF#000000##FFFFFF
##3C1FB21.0010.342.0310.34
#FFFFFF10.341.0021.001.00
#0000002.0321.001.0021.00
##FFFFFF10.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0045B6
Deuteranopia (green-blind)
#003AAF
Tritanopia (blue-blind)
#004D6A
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #3c1fb2;
/* rgb */ color: rgb(60, 31, 178);
/* oklch */ color: oklch(39.6% 0.210 279.8);
Tailwind
colors: {
  custom: {
    50: '#8361ca',
    500: '#3c1fb2',
    950: '#000000',
  },
}
SCSS
$custom: #3c1fb2;
$custom-light: #8361ca;
$custom-dark: #000000;
JSON
{
  "hex": "#3c1fb2",
  "rgb": {
    "r": 60,
    "g": 31,
    "b": 178
  },
  "hsl": {
    "h": 251.837,
    "s": 70.335,
    "l": 40.98
  },
  "oklch": {
    "l": 0.39613,
    "c": 0.21038,
    "h": 279.8
  },
  "luminance": 0.05155
}

Semantic roles & 50–950 ramp

primary
#3C1FB2
secondary
#B6CA63
accent
#ED3BCA
background
#F8F5FC
surface
#F0EAF9
border
#CBC6D2
text
#0C0513
muted
#7D7982

Preview Lab

Preview with #3C1FB2

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

Preview Lab → · Contrast checker → · Palette generator →

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