#3C135E#3C135E

#3C135E is a dark, vivid violet. Relative luminance 0.022; OKLCH L 29.7% C 0.125 H 304.6°. Best body text is #FFFFFF at 14.51:1 contrast (WCAG AA passes).

Color values

HEX#3C135E
RGBrgb(60, 19, 94)
HSLhsl(273, 66%, 22%)
HSVhsv(273, 80%, 37%)
CMYKcmyk(36.2%, 79.8%, 0%, 63.1%)
CIE-LABlab(16.67, 34.75, -36.25)
CIE-LCHlch(16.67, 50.22, 313.79°)
OKLaboklab(29.73% 0.0712 -0.1032)
OKLCHoklch(29.73% 0.125 304.6)
XYZxyz(4.1163, 2.2346, 10.8020)
Luminance0.0223 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3C135E #355E13
analogous
#16135E #3C135E #5E135B
triadic
#3C135E #5E3C13 #135E3C
tetradic
#3C135E #5E1613 #355E13 #135B5E
square
#3C135E #5E1613 #355E13 #135B5E
split-complementary
#3C135E #5B5E13 #135E16
monochromatic
#100519 #1C092B #3C135E #5C1D91 #7D28C4

Accessibility & contrast

On white

14.51
#3C135E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #3C135E
14.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3C135E#FFFFFF#000000##FFFFFF
##3C135E1.0014.511.4514.51
#FFFFFF14.511.0021.001.00
#0000001.4521.001.0021.00
##FFFFFF14.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002860
Deuteranopia (green-blind)
#00295C
Tritanopia (blue-blind)
#352637
Achromatopsia (no color)
#292929

Design tokens & code

CSS
--color: #3c135e;
/* rgb */ color: rgb(60, 19, 94);
/* oklch */ color: oklch(29.7% 0.125 304.6);
Tailwind
colors: {
  custom: {
    50: '#76558c',
    500: '#3c135e',
    950: '#000000',
  },
}
SCSS
$custom: #3c135e;
$custom-light: #76558c;
$custom-dark: #000000;
JSON
{
  "hex": "#3c135e",
  "rgb": {
    "r": 60,
    "g": 19,
    "b": 94
  },
  "hsl": {
    "h": 272.8,
    "s": 66.372,
    "l": 22.157
  },
  "oklch": {
    "l": 0.29728,
    "c": 0.12537,
    "h": 304.6
  },
  "luminance": 0.02235
}

Semantic roles & 50–950 ramp

primary
#3C135E
secondary
#629637
accent
#E93F8C
background
#F7F5F8
surface
#EDE9F0
border
#C8C5CB
text
#09030C
muted
#7B787D

Preview Lab

Preview with #3C135E

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

Preview Lab → · Contrast checker → · Palette generator →

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