#3C105E#3C105E

#3C105E is a dark, vivid violet. Relative luminance 0.021; OKLCH L 29.4% C 0.129 H 305.1°. Best body text is #FFFFFF at 14.71:1 contrast (WCAG AA passes).

Color values

HEX#3C105E
RGBrgb(60, 16, 94)
HSLhsl(274, 71%, 22%)
HSVhsv(274, 83%, 37%)
CMYKcmyk(36.2%, 83%, 0%, 63.1%)
CIE-LABlab(16.20, 36.10, -37.02)
CIE-LCHlch(16.20, 51.71, 314.28°)
OKLaboklab(29.4% 0.0741 -0.1054)
OKLCHoklch(29.4% 0.129 305.1)
XYZxyz(4.0687, 2.1394, 10.7861)
Luminance0.0214 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3C105E #325E10
analogous
#15105E #3C105E #5E1059
triadic
#3C105E #5E3C10 #105E3C
tetradic
#3C105E #5E1510 #325E10 #10595E
square
#3C105E #5E1510 #325E10 #10595E
split-complementary
#3C105E #595E10 #105E15
monochromatic
#11041A #1B072A #3C105E #5D1992 #7F22C7

Accessibility & contrast

On white

14.71
#3C105E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.43
#3C105E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3C105E
14.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3C105E#FFFFFF#000000##FFFFFF
##3C105E1.0014.711.4314.71
#FFFFFF14.711.0021.001.00
#0000001.4321.001.0021.00
##FFFFFF14.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002760
Deuteranopia (green-blind)
#00285C
Tritanopia (blue-blind)
#362437
Achromatopsia (no color)
#282828

Design tokens & code

CSS
--color: #3c105e;
/* rgb */ color: rgb(60, 16, 94);
/* oklch */ color: oklch(29.4% 0.129 305.1);
Tailwind
colors: {
  custom: {
    50: '#76548c',
    500: '#3c105e',
    950: '#000000',
  },
}
SCSS
$custom: #3c105e;
$custom-light: #76548c;
$custom-dark: #000000;
JSON
{
  "hex": "#3c105e",
  "rgb": {
    "r": 60,
    "g": 16,
    "b": 94
  },
  "hsl": {
    "h": 273.846,
    "s": 70.909,
    "l": 21.569
  },
  "oklch": {
    "l": 0.29398,
    "c": 0.1289,
    "h": 305.1
  },
  "luminance": 0.02139
}

Semantic roles & 50–950 ramp

primary
#3C105E
secondary
#5E9733
accent
#EE3A88
background
#F7F5F8
surface
#EDE9F0
border
#C8C5CB
text
#09030C
muted
#7B787D

Preview Lab

Preview with #3C105E

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

Preview Lab → · Contrast checker → · Palette generator →

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