#3C135D#3C135D

#3C135D is a dark, vivid violet. Relative luminance 0.022; OKLCH L 29.6% C 0.124 H 305.1°. Best body text is #FFFFFF at 14.55:1 contrast (WCAG AA passes).

Color values

HEX#3C135D
RGBrgb(60, 19, 93)
HSLhsl(273, 66%, 22%)
HSVhsv(273, 80%, 36%)
CMYKcmyk(35.5%, 79.6%, 0%, 63.5%)
CIE-LABlab(16.59, 34.50, -35.73)
CIE-LCHlch(16.59, 49.66, 313.99°)
OKLaboklab(29.64% 0.0714 -0.1017)
OKLCHoklch(29.64% 0.124 305.1)
XYZxyz(4.0717, 2.2167, 10.5672)
Luminance0.0222 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3C135D #345D13
analogous
#17135D #3C135D #5D1359
triadic
#3C135D #5D3C13 #135D3C
tetradic
#3C135D #5D1713 #345D13 #13595D
square
#3C135D #5D1713 #345D13 #13595D
split-complementary
#3C135D #595D13 #135D17
monochromatic
#100519 #1B092A #3C135D #5D1D90 #7E28C3

Accessibility & contrast

On white

14.55
#3C135D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.44
#3C135D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3C135D
14.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3C135D#FFFFFF#000000##FFFFFF
##3C135D1.0014.551.4414.55
#FFFFFF14.551.0021.001.00
#0000001.4421.001.0021.00
##FFFFFF14.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00285F
Deuteranopia (green-blind)
#00295B
Tritanopia (blue-blind)
#362537
Achromatopsia (no color)
#292929

Design tokens & code

CSS
--color: #3c135d;
/* rgb */ color: rgb(60, 19, 93);
/* oklch */ color: oklch(29.6% 0.124 305.1);
Tailwind
colors: {
  custom: {
    50: '#76558b',
    500: '#3c135d',
    950: '#000000',
  },
}
SCSS
$custom: #3c135d;
$custom-light: #76558b;
$custom-dark: #000000;
JSON
{
  "hex": "#3c135d",
  "rgb": {
    "r": 60,
    "g": 19,
    "b": 93
  },
  "hsl": {
    "h": 273.243,
    "s": 66.071,
    "l": 21.961
  },
  "oklch": {
    "l": 0.2964,
    "c": 0.12424,
    "h": 305.1
  },
  "luminance": 0.02217
}

Semantic roles & 50–950 ramp

primary
#3C135D
secondary
#619537
accent
#E93F8B
background
#F7F5F8
surface
#EDE9F0
border
#C8C5CB
text
#09030C
muted
#7B787D

Preview Lab

Preview with #3C135D

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

Preview Lab → · Contrast checker → · Palette generator →

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