#3C1665#3C1665

#3C1665 is a dark, vivid violet. Relative luminance 0.025; OKLCH L 30.7% C 0.130 H 300.8°. Best body text is #FFFFFF at 14.05:1 contrast (WCAG AA passes).

Color values

HEX#3C1665
RGBrgb(60, 22, 101)
HSLhsl(269, 64%, 24%)
HSVhsv(269, 78%, 40%)
CMYKcmyk(40.6%, 78.2%, 0%, 60.4%)
CIE-LABlab(17.80, 35.17, -39.06)
CIE-LCHlch(17.80, 52.56, 312.01°)
OKLaboklab(30.72% 0.0664 -0.1115)
OKLCHoklch(30.72% 0.13 300.8)
XYZxyz(4.4988, 2.4740, 12.5499)
Luminance0.0247 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3C1665 #3F6516
analogous
#161765 #3C1665 #641665
triadic
#3C1665 #653C16 #16653C
tetradic
#3C1665 #651617 #3F6516 #166564
square
#3C1665 #651617 #3F6516 #166564
split-complementary
#3C1665 #656416 #176516
monochromatic
#0F0519 #1E0B33 #3C1665 #5A2197 #782CCA

Accessibility & contrast

On white

14.05
#3C1665 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.49
#3C1665 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3C1665
14.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3C1665#FFFFFF#000000##FFFFFF
##3C16651.0014.051.4914.05
#FFFFFF14.051.0021.001.00
#0000001.4921.001.0021.00
##FFFFFF14.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002B67
Deuteranopia (green-blind)
#002B63
Tritanopia (blue-blind)
#332A3C
Achromatopsia (no color)
#2C2C2C

Design tokens & code

CSS
--color: #3c1665;
/* rgb */ color: rgb(60, 22, 101);
/* oklch */ color: oklch(30.7% 0.130 300.8);
Tailwind
colors: {
  custom: {
    50: '#765792',
    500: '#3c1665',
    950: '#000000',
  },
}
SCSS
$custom: #3c1665;
$custom-light: #765792;
$custom-dark: #000000;
JSON
{
  "hex": "#3c1665",
  "rgb": {
    "r": 60,
    "g": 22,
    "b": 101
  },
  "hsl": {
    "h": 268.861,
    "s": 64.228,
    "l": 24.118
  },
  "oklch": {
    "l": 0.30717,
    "c": 0.12974,
    "h": 300.8
  },
  "luminance": 0.02474
}

Semantic roles & 50–950 ramp

primary
#3C1665
secondary
#6D9C3B
accent
#E74197
background
#F7F5F9
surface
#EDE9F1
border
#C8C5CB
text
#09030D
muted
#7B787E

Preview Lab

Preview with #3C1665

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

Preview Lab → · Contrast checker → · Palette generator →

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