#3C1668#3C1668

#3C1668 is a dark, vivid violet. Relative luminance 0.025; OKLCH L 31.0% C 0.133 H 299.5°. Best body text is #FFFFFF at 13.94:1 contrast (WCAG AA passes).

Color values

HEX#3C1668
RGBrgb(60, 22, 104)
HSLhsl(268, 65%, 25%)
HSVhsv(268, 79%, 41%)
CMYKcmyk(42.3%, 78.8%, 0%, 59.2%)
CIE-LABlab(18.07, 35.99, -40.59)
CIE-LCHlch(18.07, 54.24, 311.57°)
OKLaboklab(30.99% 0.0656 -0.116)
OKLCHoklch(30.99% 0.133 299.5)
XYZxyz(4.6484, 2.5339, 13.3382)
Luminance0.0253 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3C1668 #426816
analogous
#161968 #3C1668 #651668
triadic
#3C1668 #683C16 #16683C
tetradic
#3C1668 #681619 #426816 #166865
square
#3C1668 #681619 #426816 #166865
split-complementary
#3C1668 #686516 #196816
monochromatic
#0F0519 #1F0B35 #3C1668 #59219B #762BCD

Accessibility & contrast

On white

13.94
#3C1668 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.51
#3C1668 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3C1668
13.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3C1668#FFFFFF#000000##FFFFFF
##3C16681.0013.941.5113.94
#FFFFFF13.941.0021.001.00
#0000001.5121.001.0021.00
##FFFFFF13.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002C6A
Deuteranopia (green-blind)
#002B66
Tritanopia (blue-blind)
#322B3E
Achromatopsia (no color)
#2C2C2C

Design tokens & code

CSS
--color: #3c1668;
/* rgb */ color: rgb(60, 22, 104);
/* oklch */ color: oklch(31.0% 0.133 299.5);
Tailwind
colors: {
  custom: {
    50: '#775794',
    500: '#3c1668',
    950: '#000000',
  },
}
SCSS
$custom: #3c1668;
$custom-light: #775794;
$custom-dark: #000000;
JSON
{
  "hex": "#3c1668",
  "rgb": {
    "r": 60,
    "g": 22,
    "b": 104
  },
  "hsl": {
    "h": 267.805,
    "s": 65.079,
    "l": 24.706
  },
  "oklch": {
    "l": 0.30991,
    "c": 0.13325,
    "h": 299.5
  },
  "luminance": 0.02534
}

Semantic roles & 50–950 ramp

primary
#3C1668
secondary
#719F3B
accent
#E8409A
background
#F7F5F9
surface
#EDE9F1
border
#C8C5CB
text
#09030D
muted
#7B787E

Preview Lab

Preview with #3C1668

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

Preview Lab → · Contrast checker → · Palette generator →

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