#3C135C#3C135C

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

Color values

HEX#3C135C
RGBrgb(60, 19, 92)
HSLhsl(274, 66%, 22%)
HSVhsv(274, 79%, 36%)
CMYKcmyk(34.8%, 79.3%, 0%, 63.9%)
CIE-LABlab(16.50, 34.24, -35.20)
CIE-LCHlch(16.50, 49.10, 314.20°)
OKLaboklab(29.55% 0.0716 -0.1001)
OKLCHoklch(29.55% 0.123 305.6)
XYZxyz(4.0277, 2.1991, 10.3354)
Luminance0.0220 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3C135C #335C13
analogous
#18135C #3C135C #5C1358
triadic
#3C135C #5C3C13 #135C3C
tetradic
#3C135C #5C1813 #335C13 #13585C
square
#3C135C #5C1813 #335C13 #13585C
split-complementary
#3C135C #585C13 #135C18
monochromatic
#110519 #1B0929 #3C135C #5D1D8F #7E28C1

Accessibility & contrast

On white

14.59
#3C135C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #3C135C
14.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3C135C#FFFFFF#000000##FFFFFF
##3C135C1.0014.591.4414.59
#FFFFFF14.591.0021.001.00
#0000001.4421.001.0021.00
##FFFFFF14.591.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #3c135c;
/* rgb */ color: rgb(60, 19, 92);
/* oklch */ color: oklch(29.6% 0.123 305.6);
Tailwind
colors: {
  custom: {
    50: '#75558b',
    500: '#3c135c',
    950: '#000000',
  },
}
SCSS
$custom: #3c135c;
$custom-light: #75558b;
$custom-dark: #000000;
JSON
{
  "hex": "#3c135c",
  "rgb": {
    "r": 60,
    "g": 19,
    "b": 92
  },
  "hsl": {
    "h": 273.699,
    "s": 65.766,
    "l": 21.765
  },
  "oklch": {
    "l": 0.29551,
    "c": 0.12311,
    "h": 305.6
  },
  "luminance": 0.02199
}

Semantic roles & 50–950 ramp

primary
#3C135C
secondary
#609437
accent
#E93F89
background
#F7F5F8
surface
#EDE9F0
border
#C8C5CB
text
#09030C
muted
#7B787D

Preview Lab

Preview with #3C135C

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

Preview Lab → · Contrast checker → · Palette generator →

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