#3C115C#3C115C

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

Color values

HEX#3C115C
RGBrgb(60, 17, 92)
HSLhsl(274, 69%, 21%)
HSVhsv(274, 82%, 36%)
CMYKcmyk(34.8%, 81.5%, 0%, 63.9%)
CIE-LABlab(16.18, 35.16, -35.72)
CIE-LCHlch(16.18, 50.12, 314.54°)
OKLaboklab(29.32% 0.0737 -0.1016)
OKLCHoklch(29.32% 0.126 305.9)
XYZxyz(3.9953, 2.1343, 10.3246)
Luminance0.0213 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3C115C #315C11
analogous
#17115C #3C115C #5C1157
triadic
#3C115C #5C3C11 #115C3C
tetradic
#3C115C #5C1711 #315C11 #11575C
square
#3C115C #5C1711 #315C11 #11575C
split-complementary
#3C115C #575C11 #115C17
monochromatic
#11051A #1A0728 #3C115C #5E1B90 #7F24C3

Accessibility & contrast

On white

14.72
#3C115C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #3C115C
14.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3C115C#FFFFFF#000000##FFFFFF
##3C115C1.0014.721.4314.72
#FFFFFF14.721.0021.001.00
#0000001.4321.001.0021.00
##FFFFFF14.721.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #3c115c;
/* rgb */ color: rgb(60, 17, 92);
/* oklch */ color: oklch(29.3% 0.126 305.9);
Tailwind
colors: {
  custom: {
    50: '#76548b',
    500: '#3c115c',
    950: '#000000',
  },
}
SCSS
$custom: #3c115c;
$custom-light: #76548b;
$custom-dark: #000000;
JSON
{
  "hex": "#3c115c",
  "rgb": {
    "r": 60,
    "g": 17,
    "b": 92
  },
  "hsl": {
    "h": 274.4,
    "s": 68.807,
    "l": 21.373
  },
  "oklch": {
    "l": 0.29324,
    "c": 0.12555,
    "h": 305.9
  },
  "luminance": 0.02134
}

Semantic roles & 50–950 ramp

primary
#3C115C
secondary
#5D9534
accent
#EC3C87
background
#F7F5F8
surface
#EDE9F0
border
#C8C5CB
text
#09030C
muted
#7B787D

Preview Lab

Preview with #3C115C

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

Preview Lab → · Contrast checker → · Palette generator →

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