#3C1265#3C1265

#3C1265 is a dark, vivid violet. Relative luminance 0.023; OKLCH L 30.3% C 0.134 H 301.5°. Best body text is #FFFFFF at 14.32:1 contrast (WCAG AA passes).

Color values

HEX#3C1265
RGBrgb(60, 18, 101)
HSLhsl(270, 70%, 23%)
HSVhsv(270, 82%, 40%)
CMYKcmyk(40.6%, 82.2%, 0%, 60.4%)
CIE-LABlab(17.14, 37.05, -40.13)
CIE-LCHlch(17.14, 54.61, 312.72°)
OKLaboklab(30.26% 0.0703 -0.1146)
OKLCHoklch(30.26% 0.134 301.5)
XYZxyz(4.4282, 2.3328, 12.5264)
Luminance0.0233 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3C1265 #3B6512
analogous
#121265 #3C1265 #651264
triadic
#3C1265 #653C12 #12653C
tetradic
#3C1265 #651212 #3B6512 #126465
square
#3C1265 #651212 #3B6512 #126465
split-complementary
#3C1265 #646512 #126512
monochromatic
#0F051A #1D0931 #3C1265 #5B1B99 #7A25CD

Accessibility & contrast

On white

14.32
#3C1265 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.47
#3C1265 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3C1265
14.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3C1265#FFFFFF#000000##FFFFFF
##3C12651.0014.321.4714.32
#FFFFFF14.321.0021.001.00
#0000001.4721.001.0021.00
##FFFFFF14.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002A67
Deuteranopia (green-blind)
#002A63
Tritanopia (blue-blind)
#33283B
Achromatopsia (no color)
#2A2A2A

Design tokens & code

CSS
--color: #3c1265;
/* rgb */ color: rgb(60, 18, 101);
/* oklch */ color: oklch(30.3% 0.134 301.5);
Tailwind
colors: {
  custom: {
    50: '#775592',
    500: '#3c1265',
    950: '#000000',
  },
}
SCSS
$custom: #3c1265;
$custom-light: #775592;
$custom-dark: #000000;
JSON
{
  "hex": "#3c1265",
  "rgb": {
    "r": 60,
    "g": 18,
    "b": 101
  },
  "hsl": {
    "h": 270.361,
    "s": 69.748,
    "l": 23.333
  },
  "oklch": {
    "l": 0.30256,
    "c": 0.13442,
    "h": 301.5
  },
  "luminance": 0.02333
}

Semantic roles & 50–950 ramp

primary
#3C1265
secondary
#699D36
accent
#ED3B93
background
#F7F5F9
surface
#EDE9F1
border
#C8C5CB
text
#09030D
muted
#7B787E

Preview Lab

Preview with #3C1265

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

Preview Lab → · Contrast checker → · Palette generator →

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