#3C1768#3C1768

#3C1768 is a dark, vivid violet. Relative luminance 0.026; OKLCH L 31.1% C 0.132 H 299.3°. Best body text is #FFFFFF at 13.87:1 contrast (WCAG AA passes).

Color values

HEX#3C1768
RGBrgb(60, 23, 104)
HSLhsl(267, 64%, 25%)
HSVhsv(267, 78%, 41%)
CMYKcmyk(42.3%, 77.9%, 0%, 59.2%)
CIE-LABlab(18.25, 35.50, -40.30)
CIE-LCHlch(18.25, 53.70, 311.37°)
OKLaboklab(31.11% 0.0646 -0.1151)
OKLCHoklch(31.11% 0.132 299.3)
XYZxyz(4.6679, 2.5729, 13.3447)
Luminance0.0257 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3C1768 #436817
analogous
#171B68 #3C1768 #641768
triadic
#3C1768 #683C17 #17683C
tetradic
#3C1768 #68171B #436817 #176864
square
#3C1768 #68171B #436817 #176864
split-complementary
#3C1768 #686417 #1B6817
monochromatic
#0E0619 #1F0C36 #3C1768 #59229A #762DCC

Accessibility & contrast

On white

13.87
#3C1768 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #3C1768
13.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3C1768#FFFFFF#000000##FFFFFF
##3C17681.0013.871.5113.87
#FFFFFF13.871.0021.001.00
#0000001.5121.001.0021.00
##FFFFFF13.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002C6A
Deuteranopia (green-blind)
#002C66
Tritanopia (blue-blind)
#322C3E
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #3c1768;
/* rgb */ color: rgb(60, 23, 104);
/* oklch */ color: oklch(31.1% 0.132 299.3);
Tailwind
colors: {
  custom: {
    50: '#775894',
    500: '#3c1768',
    950: '#000000',
  },
}
SCSS
$custom: #3c1768;
$custom-light: #775894;
$custom-dark: #000000;
JSON
{
  "hex": "#3c1768",
  "rgb": {
    "r": 60,
    "g": 23,
    "b": 104
  },
  "hsl": {
    "h": 267.407,
    "s": 63.78,
    "l": 24.902
  },
  "oklch": {
    "l": 0.31114,
    "c": 0.13204,
    "h": 299.3
  },
  "luminance": 0.02573
}

Semantic roles & 50–950 ramp

primary
#3C1768
secondary
#729E3D
accent
#E7419B
background
#F7F5F9
surface
#EDE9F1
border
#C8C5CB
text
#09030D
muted
#7B787E

Preview Lab

Preview with #3C1768

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

Preview Lab → · Contrast checker → · Palette generator →

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