#3C115B#3C115B

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

Color values

HEX#3C115B
RGBrgb(60, 17, 91)
HSLhsl(275, 69%, 21%)
HSVhsv(275, 81%, 36%)
CMYKcmyk(34.1%, 81.3%, 0%, 64.3%)
CIE-LABlab(16.09, 34.90, -35.20)
CIE-LCHlch(16.09, 49.57, 314.76°)
OKLaboklab(29.24% 0.0739 -0.1001)
OKLCHoklch(29.24% 0.124 306.5)
XYZxyz(3.9518, 2.1169, 10.0959)
Luminance0.0212 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3C115B #305B11
analogous
#17115B #3C115B #5B1155
triadic
#3C115B #5B3C11 #115B3C
tetradic
#3C115B #5B1711 #305B11 #11555B
square
#3C115B #5B1711 #305B11 #11555B
split-complementary
#3C115B #555B11 #115B17
monochromatic
#11051A #1A0727 #3C115B #5E1B8F #8024C2

Accessibility & contrast

On white

14.75
#3C115B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #3C115B
14.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3C115B#FFFFFF#000000##FFFFFF
##3C115B1.0014.751.4214.75
#FFFFFF14.751.0021.001.00
#0000001.4221.001.0021.00
##FFFFFF14.751.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #3c115b;
/* rgb */ color: rgb(60, 17, 91);
/* oklch */ color: oklch(29.2% 0.124 306.5);
Tailwind
colors: {
  custom: {
    50: '#75548a',
    500: '#3c115b',
    950: '#000000',
  },
}
SCSS
$custom: #3c115b;
$custom-light: #75548a;
$custom-dark: #000000;
JSON
{
  "hex": "#3c115b",
  "rgb": {
    "r": 60,
    "g": 17,
    "b": 91
  },
  "hsl": {
    "h": 274.865,
    "s": 68.519,
    "l": 21.176
  },
  "oklch": {
    "l": 0.29235,
    "c": 0.12444,
    "h": 306.5
  },
  "luminance": 0.02117
}

Semantic roles & 50–950 ramp

primary
#3C115B
secondary
#5C9434
accent
#EB3C86
background
#F7F5F8
surface
#EDE9F0
border
#C8C5CB
text
#09030C
muted
#7B787D

Preview Lab

Preview with #3C115B

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

Preview Lab → · Contrast checker → · Palette generator →

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