#3C1068#3C1068

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

Color values

HEX#3C1068
RGBrgb(60, 16, 104)
HSLhsl(270, 73%, 24%)
HSVhsv(270, 85%, 41%)
CMYKcmyk(42.3%, 84.6%, 0%, 59.2%)
CIE-LABlab(17.14, 38.68, -42.12)
CIE-LCHlch(17.14, 57.18, 312.57°)
OKLaboklab(30.34% 0.0711 -0.1204)
OKLCHoklch(30.34% 0.14 300.6)
XYZxyz(4.5468, 2.3307, 13.3043)
Luminance0.0233 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3C1068 #3C6810
analogous
#101068 #3C1068 #681068
triadic
#3C1068 #683C10 #10683C
tetradic
#3C1068 #681010 #3C6810 #106868
square
#3C1068 #681010 #3C6810 #106868
split-complementary
#3C1068 #686810 #106810
monochromatic
#0F041B #1D0833 #3C1068 #5B189D #7920D2

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##3C1068#FFFFFF#000000##FFFFFF
##3C10681.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)
#002A6A
Deuteranopia (green-blind)
#002A66
Tritanopia (blue-blind)
#32293C
Achromatopsia (no color)
#2A2A2A

Design tokens & code

CSS
--color: #3c1068;
/* rgb */ color: rgb(60, 16, 104);
/* oklch */ color: oklch(30.3% 0.140 300.6);
Tailwind
colors: {
  custom: {
    50: '#775594',
    500: '#3c1068',
    950: '#000000',
  },
}
SCSS
$custom: #3c1068;
$custom-light: #775594;
$custom-dark: #000000;
JSON
{
  "hex": "#3c1068",
  "rgb": {
    "r": 60,
    "g": 16,
    "b": 104
  },
  "hsl": {
    "h": 270,
    "s": 73.333,
    "l": 23.529
  },
  "oklch": {
    "l": 0.30336,
    "c": 0.13983,
    "h": 300.6
  },
  "luminance": 0.02331
}

Semantic roles & 50–950 ramp

primary
#3C1068
secondary
#6AA034
accent
#F03894
background
#F7F5F9
surface
#EEE9F1
border
#C9C5CB
text
#09030D
muted
#7B787E

Preview Lab

Preview with #3C1068

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

Preview Lab → · Contrast checker → · Palette generator →

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