#3C105B#3C105B

#3C105B is a dark, vivid violet. Relative luminance 0.021; OKLCH L 29.1% C 0.126 H 306.6°. Best body text is #FFFFFF at 14.82:1 contrast (WCAG AA passes).

Color values

HEX#3C105B
RGBrgb(60, 16, 91)
HSLhsl(275, 70%, 21%)
HSVhsv(275, 82%, 36%)
CMYKcmyk(34.1%, 82.4%, 0%, 64.3%)
CIE-LABlab(15.94, 35.34, -35.45)
CIE-LCHlch(15.94, 50.06, 314.92°)
OKLaboklab(29.13% 0.0749 -0.1008)
OKLCHoklch(29.13% 0.126 306.6)
XYZxyz(3.9367, 2.0866, 10.0909)
Luminance0.0209 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3C105B #2F5B10
analogous
#16105B #3C105B #5B1054
triadic
#3C105B #5B3C10 #105B3C
tetradic
#3C105B #5B1610 #2F5B10 #10545B
square
#3C105B #5B1610 #2F5B10 #10545B
split-complementary
#3C105B #545B10 #105B16
monochromatic
#11051A #1A0727 #3C105B #5E198F #8122C3

Accessibility & contrast

On white

14.82
#3C105B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #3C105B
14.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3C105B#FFFFFF#000000##FFFFFF
##3C105B1.0014.821.4214.82
#FFFFFF14.821.0021.001.00
#0000001.4221.001.0021.00
##FFFFFF14.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00265D
Deuteranopia (green-blind)
#002859
Tritanopia (blue-blind)
#372335
Achromatopsia (no color)
#282828

Design tokens & code

CSS
--color: #3c105b;
/* rgb */ color: rgb(60, 16, 91);
/* oklch */ color: oklch(29.1% 0.126 306.6);
Tailwind
colors: {
  custom: {
    50: '#76548a',
    500: '#3c105b',
    950: '#000000',
  },
}
SCSS
$custom: #3c105b;
$custom-light: #76548a;
$custom-dark: #000000;
JSON
{
  "hex": "#3c105b",
  "rgb": {
    "r": 60,
    "g": 16,
    "b": 91
  },
  "hsl": {
    "h": 275.2,
    "s": 70.093,
    "l": 20.98
  },
  "oklch": {
    "l": 0.29127,
    "c": 0.12562,
    "h": 306.6
  },
  "luminance": 0.02087
}

Semantic roles & 50–950 ramp

primary
#3C105B
secondary
#5B9433
accent
#ED3B84
background
#F7F5F8
surface
#EDE9F0
border
#C8C5CB
text
#09030C
muted
#7B787D

Preview Lab

Preview with #3C105B

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

Preview Lab → · Contrast checker → · Palette generator →

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