#3C1663#3C1663

#3C1663 is a dark, vivid violet. Relative luminance 0.024; OKLCH L 30.5% C 0.127 H 301.7°. Best body text is #FFFFFF at 14.12:1 contrast (WCAG AA passes).

Color values

HEX#3C1663
RGBrgb(60, 22, 99)
HSLhsl(270, 64%, 24%)
HSVhsv(270, 78%, 39%)
CMYKcmyk(39.4%, 77.8%, 0%, 61.2%)
CIE-LABlab(17.62, 34.63, -38.02)
CIE-LCHlch(17.62, 51.43, 312.33°)
OKLaboklab(30.54% 0.0669 -0.1084)
OKLCHoklch(30.54% 0.127 301.7)
XYZxyz(4.4020, 2.4353, 12.0401)
Luminance0.0244 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3C1663 #3D6316
analogous
#161763 #3C1663 #621663
triadic
#3C1663 #633C16 #16633C
tetradic
#3C1663 #631617 #3D6316 #166362
square
#3C1663 #631617 #3D6316 #166362
split-complementary
#3C1663 #636216 #176316
monochromatic
#0F0619 #1E0B31 #3C1663 #5A2195 #792CC7

Accessibility & contrast

On white

14.12
#3C1663 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #3C1663
14.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3C1663#FFFFFF#000000##FFFFFF
##3C16631.0014.121.4914.12
#FFFFFF14.121.0021.001.00
#0000001.4921.001.0021.00
##FFFFFF14.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002B65
Deuteranopia (green-blind)
#002B61
Tritanopia (blue-blind)
#34293B
Achromatopsia (no color)
#2B2B2B

Design tokens & code

CSS
--color: #3c1663;
/* rgb */ color: rgb(60, 22, 99);
/* oklch */ color: oklch(30.5% 0.127 301.7);
Tailwind
colors: {
  custom: {
    50: '#765790',
    500: '#3c1663',
    950: '#000000',
  },
}
SCSS
$custom: #3c1663;
$custom-light: #765790;
$custom-dark: #000000;
JSON
{
  "hex": "#3c1663",
  "rgb": {
    "r": 60,
    "g": 22,
    "b": 99
  },
  "hsl": {
    "h": 269.61,
    "s": 63.636,
    "l": 23.725
  },
  "oklch": {
    "l": 0.30536,
    "c": 0.1274,
    "h": 301.7
  },
  "luminance": 0.02435
}

Semantic roles & 50–950 ramp

primary
#3C1663
secondary
#6B9A3B
accent
#E74195
background
#F7F5F8
surface
#EDE9F0
border
#C8C5CB
text
#09030C
muted
#7B787D

Preview Lab

Preview with #3C1663

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

Preview Lab → · Contrast checker → · Palette generator →

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