#3C1767#3C1767

#3C1767 is a dark, vivid violet. Relative luminance 0.026; OKLCH L 31.0% C 0.131 H 299.7°. Best body text is #FFFFFF at 13.90:1 contrast (WCAG AA passes).

Color values

HEX#3C1767
RGBrgb(60, 23, 103)
HSLhsl(268, 63%, 25%)
HSVhsv(268, 78%, 40%)
CMYKcmyk(41.7%, 77.7%, 0%, 59.6%)
CIE-LABlab(18.16, 35.22, -39.79)
CIE-LCHlch(18.16, 53.14, 311.51°)
OKLaboklab(31.02% 0.0649 -0.1136)
OKLCHoklch(31.02% 0.131 299.7)
XYZxyz(4.6174, 2.5527, 13.0788)
Luminance0.0255 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3C1767 #426717
analogous
#171A67 #3C1767 #641767
triadic
#3C1767 #673C17 #17673C
tetradic
#3C1767 #67171A #426717 #176764
square
#3C1767 #67171A #426717 #176764
split-complementary
#3C1767 #676417 #1A6717
monochromatic
#0F0619 #1F0C35 #3C1767 #592299 #762DCB

Accessibility & contrast

On white

13.90
#3C1767 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #3C1767
13.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3C1767#FFFFFF#000000##FFFFFF
##3C17671.0013.901.5113.90
#FFFFFF13.901.0021.001.00
#0000001.5121.001.0021.00
##FFFFFF13.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002C69
Deuteranopia (green-blind)
#002C65
Tritanopia (blue-blind)
#322B3D
Achromatopsia (no color)
#2C2C2C

Design tokens & code

CSS
--color: #3c1767;
/* rgb */ color: rgb(60, 23, 103);
/* oklch */ color: oklch(31.0% 0.131 299.7);
Tailwind
colors: {
  custom: {
    50: '#765893',
    500: '#3c1767',
    950: '#000000',
  },
}
SCSS
$custom: #3c1767;
$custom-light: #765893;
$custom-dark: #000000;
JSON
{
  "hex": "#3c1767",
  "rgb": {
    "r": 60,
    "g": 23,
    "b": 103
  },
  "hsl": {
    "h": 267.75,
    "s": 63.492,
    "l": 24.706
  },
  "oklch": {
    "l": 0.31023,
    "c": 0.13085,
    "h": 299.7
  },
  "luminance": 0.02553
}

Semantic roles & 50–950 ramp

primary
#3C1767
secondary
#719D3D
accent
#E7419A
background
#F7F5F9
surface
#EDE9F1
border
#C8C5CB
text
#09030D
muted
#7B787E

Preview Lab

Preview with #3C1767

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

Preview Lab → · Contrast checker → · Palette generator →

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