#3C1260#3C1260

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

Color values

HEX#3C1260
RGBrgb(60, 18, 96)
HSLhsl(272, 68%, 22%)
HSVhsv(272, 81%, 38%)
CMYKcmyk(37.5%, 81.3%, 0%, 62.4%)
CIE-LABlab(16.69, 35.74, -37.56)
CIE-LCHlch(16.69, 51.84, 313.58°)
OKLaboklab(29.8% 0.0717 -0.107)
OKLCHoklch(29.8% 0.129 303.8)
XYZxyz(4.1906, 2.2378, 11.2752)
Luminance0.0224 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3C1260 #366012
analogous
#151260 #3C1260 #60125D
triadic
#3C1260 #603C12 #12603C
tetradic
#3C1260 #601512 #366012 #125D60
square
#3C1260 #601512 #366012 #125D60
split-complementary
#3C1260 #5D6012 #126015
monochromatic
#10051A #1C082C #3C1260 #5C1C94 #7C25C7

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##3C1260#FFFFFF#000000##FFFFFF
##3C12601.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)
#002862
Deuteranopia (green-blind)
#00295E
Tritanopia (blue-blind)
#352638
Achromatopsia (no color)
#292929

Design tokens & code

CSS
--color: #3c1260;
/* rgb */ color: rgb(60, 18, 96);
/* oklch */ color: oklch(29.8% 0.129 303.8);
Tailwind
colors: {
  custom: {
    50: '#76558e',
    500: '#3c1260',
    950: '#000000',
  },
}
SCSS
$custom: #3c1260;
$custom-light: #76558e;
$custom-dark: #000000;
JSON
{
  "hex": "#3c1260",
  "rgb": {
    "r": 60,
    "g": 18,
    "b": 96
  },
  "hsl": {
    "h": 272.308,
    "s": 68.421,
    "l": 22.353
  },
  "oklch": {
    "l": 0.29795,
    "c": 0.12882,
    "h": 303.8
  },
  "luminance": 0.02238
}

Semantic roles & 50–950 ramp

primary
#3C1260
secondary
#639836
accent
#EB3D8D
background
#F7F5F8
surface
#EDE9F0
border
#C8C5CB
text
#09030C
muted
#7B787D

Preview Lab

Preview with #3C1260

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

Preview Lab → · Contrast checker → · Palette generator →

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