#3C115A#3C115A

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

Color values

HEX#3C115A
RGBrgb(60, 17, 90)
HSLhsl(275, 68%, 21%)
HSVhsv(275, 81%, 35%)
CMYKcmyk(33.3%, 81.1%, 0%, 64.7%)
CIE-LABlab(16.00, 34.65, -34.67)
CIE-LCHlch(16.00, 49.01, 314.98°)
OKLaboklab(29.15% 0.0742 -0.0985)
OKLCHoklch(29.15% 0.123 307)
XYZxyz(3.9090, 2.0998, 9.8702)
Luminance0.0210 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3C115A #2F5A11
analogous
#17115A #3C115A #5A1153
triadic
#3C115A #5A3C11 #115A3C
tetradic
#3C115A #5A1711 #2F5A11 #11535A
square
#3C115A #5A1711 #2F5A11 #11535A
split-complementary
#3C115A #535A11 #115A17
monochromatic
#11051A #1A0727 #3C115A #5E1B8D #8124C1

Accessibility & contrast

On white

14.79
#3C115A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #3C115A
14.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3C115A#FFFFFF#000000##FFFFFF
##3C115A1.0014.791.4214.79
#FFFFFF14.791.0021.001.00
#0000001.4221.001.0021.00
##FFFFFF14.791.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #3c115a;
/* rgb */ color: rgb(60, 17, 90);
/* oklch */ color: oklch(29.1% 0.123 307.0);
Tailwind
colors: {
  custom: {
    50: '#755489',
    500: '#3c115a',
    950: '#000000',
  },
}
SCSS
$custom: #3c115a;
$custom-light: #755489;
$custom-dark: #000000;
JSON
{
  "hex": "#3c115a",
  "rgb": {
    "r": 60,
    "g": 17,
    "b": 90
  },
  "hsl": {
    "h": 275.342,
    "s": 68.224,
    "l": 20.98
  },
  "oklch": {
    "l": 0.29147,
    "c": 0.12334,
    "h": 307
  },
  "luminance": 0.021
}

Semantic roles & 50–950 ramp

primary
#3C115A
secondary
#5B9334
accent
#EB3D84
background
#F7F5F8
surface
#EDE9F0
border
#C8C5CB
text
#09030B
muted
#7B787C

Preview Lab

Preview with #3C115A

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

Preview Lab → · Contrast checker → · Palette generator →

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