#3C105C#3C105C

#3C105C is a dark, vivid violet. Relative luminance 0.021; OKLCH L 29.2% C 0.127 H 306.1°. Best body text is #FFFFFF at 14.78:1 contrast (WCAG AA passes).

Color values

HEX#3C105C
RGBrgb(60, 16, 92)
HSLhsl(275, 70%, 21%)
HSVhsv(275, 83%, 36%)
CMYKcmyk(34.8%, 82.6%, 0%, 63.9%)
CIE-LABlab(16.02, 35.60, -35.97)
CIE-LCHlch(16.02, 50.61, 314.70°)
OKLaboklab(29.22% 0.0747 -0.1024)
OKLCHoklch(29.22% 0.127 306.1)
XYZxyz(3.9801, 2.1040, 10.3196)
Luminance0.0210 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3C105C #305C10
analogous
#16105C #3C105C #5C1056
triadic
#3C105C #5C3C10 #105C3C
tetradic
#3C105C #5C1610 #305C10 #10565C
square
#3C105C #5C1610 #305C10 #10565C
split-complementary
#3C105C #565C10 #105C16
monochromatic
#11051A #1A0728 #3C105C #5E1990 #8022C4

Accessibility & contrast

On white

14.78
#3C105C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.42
#3C105C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3C105C
14.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3C105C#FFFFFF#000000##FFFFFF
##3C105C1.0014.781.4214.78
#FFFFFF14.781.0021.001.00
#0000001.4221.001.0021.00
##FFFFFF14.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00275E
Deuteranopia (green-blind)
#00285A
Tritanopia (blue-blind)
#362336
Achromatopsia (no color)
#282828

Design tokens & code

CSS
--color: #3c105c;
/* rgb */ color: rgb(60, 16, 92);
/* oklch */ color: oklch(29.2% 0.127 306.1);
Tailwind
colors: {
  custom: {
    50: '#76548b',
    500: '#3c105c',
    950: '#000000',
  },
}
SCSS
$custom: #3c105c;
$custom-light: #76548b;
$custom-dark: #000000;
JSON
{
  "hex": "#3c105c",
  "rgb": {
    "r": 60,
    "g": 16,
    "b": 92
  },
  "hsl": {
    "h": 274.737,
    "s": 70.37,
    "l": 21.176
  },
  "oklch": {
    "l": 0.29217,
    "c": 0.12672,
    "h": 306.1
  },
  "luminance": 0.02104
}

Semantic roles & 50–950 ramp

primary
#3C105C
secondary
#5C9533
accent
#ED3B86
background
#F7F5F8
surface
#EDE9F0
border
#C8C5CB
text
#09030C
muted
#7B787D

Preview Lab

Preview with #3C105C

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

Preview Lab → · Contrast checker → · Palette generator →

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