#3C105F#3C105F

#3C105F is a dark, vivid violet. Relative luminance 0.022; OKLCH L 29.5% C 0.130 H 304.6°. Best body text is #FFFFFF at 14.67:1 contrast (WCAG AA passes).

Color values

HEX#3C105F
RGBrgb(60, 16, 95)
HSLhsl(273, 71%, 22%)
HSVhsv(273, 83%, 37%)
CMYKcmyk(36.8%, 83.2%, 0%, 62.7%)
CIE-LABlab(16.29, 36.36, -37.54)
CIE-LCHlch(16.29, 52.26, 314.09°)
OKLaboklab(29.49% 0.0739 -0.107)
OKLCHoklch(29.49% 0.13 304.6)
XYZxyz(4.1139, 2.1575, 11.0240)
Luminance0.0216 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3C105F #335F10
analogous
#15105F #3C105F #5F105B
triadic
#3C105F #5F3C10 #105F3C
tetradic
#3C105F #5F1510 #335F10 #105B5F
square
#3C105F #5F1510 #335F10 #105B5F
split-complementary
#3C105F #5B5F10 #105F15
monochromatic
#11041A #1B072B #3C105F #5D1993 #7E22C8

Accessibility & contrast

On white

14.67
#3C105F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #3C105F
14.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3C105F#FFFFFF#000000##FFFFFF
##3C105F1.0014.671.4314.67
#FFFFFF14.671.0021.001.00
#0000001.4321.001.0021.00
##FFFFFF14.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002761
Deuteranopia (green-blind)
#00285D
Tritanopia (blue-blind)
#352537
Achromatopsia (no color)
#282828

Design tokens & code

CSS
--color: #3c105f;
/* rgb */ color: rgb(60, 16, 95);
/* oklch */ color: oklch(29.5% 0.130 304.6);
Tailwind
colors: {
  custom: {
    50: '#76548d',
    500: '#3c105f',
    950: '#000000',
  },
}
SCSS
$custom: #3c105f;
$custom-light: #76548d;
$custom-dark: #000000;
JSON
{
  "hex": "#3c105f",
  "rgb": {
    "r": 60,
    "g": 16,
    "b": 95
  },
  "hsl": {
    "h": 273.418,
    "s": 71.171,
    "l": 21.765
  },
  "oklch": {
    "l": 0.29489,
    "c": 0.12999,
    "h": 304.6
  },
  "luminance": 0.02157
}

Semantic roles & 50–950 ramp

primary
#3C105F
secondary
#609833
accent
#EE3A8A
background
#F7F5F8
surface
#EDE9F0
border
#C8C5CB
text
#09030C
muted
#7B787D

Preview Lab

Preview with #3C105F

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

Preview Lab → · Contrast checker → · Palette generator →

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