#3C1B85#3C1B85

#3C1B85 is a dark, vivid violet. Relative luminance 0.034; OKLCH L 34.4% C 0.162 H 289.0°. Best body text is #FFFFFF at 12.44:1 contrast (WCAG AA passes).

Color values

HEX#3C1B85
RGBrgb(60, 27, 133)
HSLhsl(259, 66%, 31%)
HSVhsv(259, 80%, 52%)
CMYKcmyk(54.9%, 79.7%, 0%, 47.8%)
CIE-LABlab(21.72, 41.76, -53.22)
CIE-LCHlch(21.72, 67.65, 308.12°)
OKLaboklab(34.4% 0.0528 -0.1531)
OKLCHoklch(34.4% 0.162 289)
XYZxyz(6.4878, 3.4377, 22.5074)
Luminance0.0344 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3C1B85 #64851B
analogous
#1B2F85 #3C1B85 #711B85
triadic
#3C1B85 #853C1B #1B853C
tetradic
#3C1B85 #851B2F #64851B #1B8571
square
#3C1B85 #851B2F #64851B #1B8571
split-complementary
#3C1B85 #85711B #2F851B
monochromatic
#0E061F #251152 #3C1B85 #5325B8 #7142D9

Accessibility & contrast

On white

12.44
#3C1B85 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.69
#3C1B85 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3C1B85
12.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3C1B85#FFFFFF#000000##FFFFFF
##3C1B851.0012.441.6912.44
#FFFFFF12.441.0021.001.00
#0000001.6921.001.0021.00
##FFFFFF12.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003688
Deuteranopia (green-blind)
#003183
Tritanopia (blue-blind)
#1F394F
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #3c1b85;
/* rgb */ color: rgb(60, 27, 133);
/* oklch */ color: oklch(34.4% 0.162 289.0);
Tailwind
colors: {
  custom: {
    50: '#7b5caa',
    500: '#3c1b85',
    950: '#000000',
  },
}
SCSS
$custom: #3c1b85;
$custom-light: #7b5caa;
$custom-dark: #000000;
JSON
{
  "hex": "#3c1b85",
  "rgb": {
    "r": 60,
    "g": 27,
    "b": 133
  },
  "hsl": {
    "h": 258.679,
    "s": 66.25,
    "l": 31.373
  },
  "oklch": {
    "l": 0.34403,
    "c": 0.16193,
    "h": 289
  },
  "luminance": 0.03438
}

Semantic roles & 50–950 ramp

primary
#3C1B85
secondary
#94B844
accent
#E93FB4
background
#F7F5FA
surface
#EEE9F4
border
#C9C5CE
text
#0A0410
muted
#7C797F

Preview Lab

Preview with #3C1B85

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

Preview Lab → · Contrast checker → · Palette generator →

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