#3C1670#3C1670

#3C1670 is a dark, vivid violet. Relative luminance 0.027; OKLCH L 31.7% C 0.143 H 296.4°. Best body text is #FFFFFF at 13.63:1 contrast (WCAG AA passes).

Color values

HEX#3C1670
RGBrgb(60, 22, 112)
HSLhsl(265, 67%, 26%)
HSVhsv(265, 80%, 44%)
CMYKcmyk(46.4%, 80.4%, 0%, 56.1%)
CIE-LABlab(18.82, 38.19, -44.58)
CIE-LCHlch(18.82, 58.70, 310.59°)
OKLaboklab(31.75% 0.0634 -0.1277)
OKLCHoklch(31.75% 0.143 296.4)
XYZxyz(5.0742, 2.7042, 15.5807)
Luminance0.0270 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3C1670 #4A7016
analogous
#161D70 #3C1670 #691670
triadic
#3C1670 #703C16 #16703C
tetradic
#3C1670 #70161D #4A7016 #167069
square
#3C1670 #70161D #4A7016 #167069
split-complementary
#3C1670 #706916 #1D7016
monochromatic
#0E051A #210C3D #3C1670 #5720A3 #732BD5

Accessibility & contrast

On white

13.63
#3C1670 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.54
#3C1670 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3C1670
13.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3C1670#FFFFFF#000000##FFFFFF
##3C16701.0013.631.5413.63
#FFFFFF13.631.0021.001.00
#0000001.5421.001.0021.00
##FFFFFF13.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002E73
Deuteranopia (green-blind)
#002D6E
Tritanopia (blue-blind)
#2E2E42
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #3c1670;
/* rgb */ color: rgb(60, 22, 112);
/* oklch */ color: oklch(31.7% 0.143 296.4);
Tailwind
colors: {
  custom: {
    50: '#78589a',
    500: '#3c1670',
    950: '#000000',
  },
}
SCSS
$custom: #3c1670;
$custom-light: #78589a;
$custom-dark: #000000;
JSON
{
  "hex": "#3c1670",
  "rgb": {
    "r": 60,
    "g": 22,
    "b": 112
  },
  "hsl": {
    "h": 265.333,
    "s": 67.164,
    "l": 26.275
  },
  "oklch": {
    "l": 0.31746,
    "c": 0.14256,
    "h": 296.4
  },
  "luminance": 0.02704
}

Semantic roles & 50–950 ramp

primary
#3C1670
secondary
#79A63C
accent
#EA3EA1
background
#F7F5F9
surface
#EEE9F2
border
#C9C5CC
text
#09030E
muted
#7B787E

Preview Lab

Preview with #3C1670

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

Preview Lab → · Contrast checker → · Palette generator →

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