#3C135F#3C135F

#3C135F is a dark, vivid violet. Relative luminance 0.023; OKLCH L 29.8% C 0.127 H 304.1°. Best body text is #FFFFFF at 14.48:1 contrast (WCAG AA passes).

Color values

HEX#3C135F
RGBrgb(60, 19, 95)
HSLhsl(272, 67%, 22%)
HSVhsv(272, 80%, 37%)
CMYKcmyk(36.8%, 80%, 0%, 62.7%)
CIE-LABlab(16.76, 35.02, -36.78)
CIE-LCHlch(16.76, 50.78, 313.60°)
OKLaboklab(29.82% 0.0709 -0.1047)
OKLCHoklch(29.82% 0.127 304.1)
XYZxyz(4.1614, 2.2526, 11.0398)
Luminance0.0225 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3C135F #365F13
analogous
#16135F #3C135F #5F135C
triadic
#3C135F #5F3C13 #135F3C
tetradic
#3C135F #5F1613 #365F13 #135C5F
square
#3C135F #5F1613 #365F13 #135C5F
split-complementary
#3C135F #5C5F13 #135F16
monochromatic
#10051A #1C092C #3C135F #5C1D92 #7C27C5

Accessibility & contrast

On white

14.48
#3C135F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.45
#3C135F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3C135F
14.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3C135F#FFFFFF#000000##FFFFFF
##3C135F1.0014.481.4514.48
#FFFFFF14.481.0021.001.00
#0000001.4521.001.0021.00
##FFFFFF14.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002861
Deuteranopia (green-blind)
#00295D
Tritanopia (blue-blind)
#352638
Achromatopsia (no color)
#292929

Design tokens & code

CSS
--color: #3c135f;
/* rgb */ color: rgb(60, 19, 95);
/* oklch */ color: oklch(29.8% 0.127 304.1);
Tailwind
colors: {
  custom: {
    50: '#76558d',
    500: '#3c135f',
    950: '#000000',
  },
}
SCSS
$custom: #3c135f;
$custom-light: #76558d;
$custom-dark: #000000;
JSON
{
  "hex": "#3c135f",
  "rgb": {
    "r": 60,
    "g": 19,
    "b": 95
  },
  "hsl": {
    "h": 272.368,
    "s": 66.667,
    "l": 22.353
  },
  "oklch": {
    "l": 0.29818,
    "c": 0.12651,
    "h": 304.1
  },
  "luminance": 0.02253
}

Semantic roles & 50–950 ramp

primary
#3C135F
secondary
#639737
accent
#EA3E8D
background
#F7F5F8
surface
#EDE9F0
border
#C8C5CB
text
#09030C
muted
#7B787D

Preview Lab

Preview with #3C135F

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

Preview Lab → · Contrast checker → · Palette generator →

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