#3C1259#3C1259

#3C1259 is a dark, vivid violet. Relative luminance 0.021; OKLCH L 29.2% C 0.121 H 307.3°. Best body text is #FFFFFF at 14.76:1 contrast (WCAG AA passes).

Color values

HEX#3C1259
RGBrgb(60, 18, 89)
HSLhsl(275, 66%, 21%)
HSVhsv(275, 80%, 35%)
CMYKcmyk(32.6%, 79.8%, 0%, 65.1%)
CIE-LABlab(16.08, 33.93, -33.87)
CIE-LCHlch(16.08, 47.95, 315.05°)
OKLaboklab(29.17% 0.0734 -0.0962)
OKLCHoklch(29.17% 0.121 307.3)
XYZxyz(3.8826, 2.1146, 9.6529)
Luminance0.0211 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3C1259 #2F5912
analogous
#181259 #3C1259 #591252
triadic
#3C1259 #593C12 #12593C
tetradic
#3C1259 #591812 #2F5912 #125259
square
#3C1259 #591812 #2F5912 #125259
split-complementary
#3C1259 #525912 #125918
monochromatic
#110519 #1A0826 #3C1259 #5E1C8C #8127BF

Accessibility & contrast

On white

14.76
#3C1259 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.42
#3C1259 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3C1259
14.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3C1259#FFFFFF#000000##FFFFFF
##3C12591.0014.761.4214.76
#FFFFFF14.761.0021.001.00
#0000001.4221.001.0021.00
##FFFFFF14.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00275B
Deuteranopia (green-blind)
#002858
Tritanopia (blue-blind)
#372334
Achromatopsia (no color)
#282828

Design tokens & code

CSS
--color: #3c1259;
/* rgb */ color: rgb(60, 18, 89);
/* oklch */ color: oklch(29.2% 0.121 307.3);
Tailwind
colors: {
  custom: {
    50: '#755588',
    500: '#3c1259',
    950: '#000000',
  },
}
SCSS
$custom: #3c1259;
$custom-light: #755588;
$custom-dark: #000000;
JSON
{
  "hex": "#3c1259",
  "rgb": {
    "r": 60,
    "g": 18,
    "b": 89
  },
  "hsl": {
    "h": 275.493,
    "s": 66.355,
    "l": 20.98
  },
  "oklch": {
    "l": 0.29173,
    "c": 0.12098,
    "h": 307.3
  },
  "luminance": 0.02115
}

Semantic roles & 50–950 ramp

primary
#3C1259
secondary
#5B9235
accent
#E93F84
background
#F7F5F8
surface
#EDE9F0
border
#C8C5CB
text
#09030B
muted
#7B787C

Preview Lab

Preview with #3C1259

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

Preview Lab → · Contrast checker → · Palette generator →

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