#3C135B#3C135B

#3C135B is a dark, vivid violet. Relative luminance 0.022; OKLCH L 29.5% C 0.122 H 306.1°. Best body text is #FFFFFF at 14.62:1 contrast (WCAG AA passes).

Color values

HEX#3C135B
RGBrgb(60, 19, 91)
HSLhsl(274, 65%, 22%)
HSVhsv(274, 79%, 36%)
CMYKcmyk(34.1%, 79.1%, 0%, 64.3%)
CIE-LABlab(16.41, 33.98, -34.67)
CIE-LCHlch(16.41, 48.54, 314.42°)
OKLaboklab(29.46% 0.0719 -0.0986)
OKLCHoklch(29.46% 0.122 306.1)
XYZxyz(3.9843, 2.1818, 10.1067)
Luminance0.0218 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3C135B #325B13
analogous
#18135B #3C135B #5B1356
triadic
#3C135B #5B3C13 #135B3C
tetradic
#3C135B #5B1813 #325B13 #13565B
square
#3C135B #5B1813 #325B13 #13565B
split-complementary
#3C135B #565B13 #135B18
monochromatic
#110519 #1B0828 #3C135B #5D1E8E #7F28C0

Accessibility & contrast

On white

14.62
#3C135B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #3C135B
14.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3C135B#FFFFFF#000000##FFFFFF
##3C135B1.0014.621.4414.62
#FFFFFF14.621.0021.001.00
#0000001.4421.001.0021.00
##FFFFFF14.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00275D
Deuteranopia (green-blind)
#00295A
Tritanopia (blue-blind)
#362436
Achromatopsia (no color)
#292929

Design tokens & code

CSS
--color: #3c135b;
/* rgb */ color: rgb(60, 19, 91);
/* oklch */ color: oklch(29.5% 0.122 306.1);
Tailwind
colors: {
  custom: {
    50: '#75558a',
    500: '#3c135b',
    950: '#000000',
  },
}
SCSS
$custom: #3c135b;
$custom-light: #75558a;
$custom-dark: #000000;
JSON
{
  "hex": "#3c135b",
  "rgb": {
    "r": 60,
    "g": 19,
    "b": 91
  },
  "hsl": {
    "h": 274.167,
    "s": 65.455,
    "l": 21.569
  },
  "oklch": {
    "l": 0.29464,
    "c": 0.12197,
    "h": 306.1
  },
  "luminance": 0.02182
}

Semantic roles & 50–950 ramp

primary
#3C135B
secondary
#5E9337
accent
#E83F88
background
#F7F5F8
surface
#EDE9F0
border
#C8C5CB
text
#09030C
muted
#7B787D

Preview Lab

Preview with #3C135B

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

Preview Lab → · Contrast checker → · Palette generator →

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