#3C135A#3C135A

#3C135A is a dark, vivid violet. Relative luminance 0.022; OKLCH L 29.4% C 0.121 H 306.6°. Best body text is #FFFFFF at 14.65:1 contrast (WCAG AA passes).

Color values

HEX#3C135A
RGBrgb(60, 19, 90)
HSLhsl(275, 65%, 21%)
HSVhsv(275, 79%, 35%)
CMYKcmyk(33.3%, 78.9%, 0%, 64.7%)
CIE-LABlab(16.33, 33.72, -34.14)
CIE-LCHlch(16.33, 47.98, 314.65°)
OKLaboklab(29.38% 0.0721 -0.097)
OKLCHoklch(29.38% 0.121 306.6)
XYZxyz(3.9414, 2.1646, 9.8811)
Luminance0.0216 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3C135A #315A13
analogous
#19135A #3C135A #5A1355
triadic
#3C135A #5A3C13 #135A3C
tetradic
#3C135A #5A1913 #315A13 #13555A
square
#3C135A #5A1913 #315A13 #13555A
split-complementary
#3C135A #555A13 #135A19
monochromatic
#110519 #1A0827 #3C135A #5E1E8D #7F28BF

Accessibility & contrast

On white

14.65
#3C135A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #3C135A
14.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3C135A#FFFFFF#000000##FFFFFF
##3C135A1.0014.651.4314.65
#FFFFFF14.651.0021.001.00
#0000001.4321.001.0021.00
##FFFFFF14.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00275C
Deuteranopia (green-blind)
#002959
Tritanopia (blue-blind)
#372435
Achromatopsia (no color)
#282828

Design tokens & code

CSS
--color: #3c135a;
/* rgb */ color: rgb(60, 19, 90);
/* oklch */ color: oklch(29.4% 0.121 306.6);
Tailwind
colors: {
  custom: {
    50: '#755589',
    500: '#3c135a',
    950: '#000000',
  },
}
SCSS
$custom: #3c135a;
$custom-light: #755589;
$custom-dark: #000000;
JSON
{
  "hex": "#3c135a",
  "rgb": {
    "r": 60,
    "g": 19,
    "b": 90
  },
  "hsl": {
    "h": 274.648,
    "s": 65.138,
    "l": 21.373
  },
  "oklch": {
    "l": 0.29377,
    "c": 0.12083,
    "h": 306.6
  },
  "luminance": 0.02165
}

Semantic roles & 50–950 ramp

primary
#3C135A
secondary
#5D9237
accent
#E84087
background
#F7F5F8
surface
#EDE9F0
border
#C8C5CB
text
#09030B
muted
#7B787C

Preview Lab

Preview with #3C135A

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

Preview Lab → · Contrast checker → · Palette generator →

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