#3C1165#3C1165

#3C1165 is a dark, vivid violet. Relative luminance 0.023; OKLCH L 30.2% C 0.136 H 301.7°. Best body text is #FFFFFF at 14.38:1 contrast (WCAG AA passes).

Color values

HEX#3C1165
RGBrgb(60, 17, 101)
HSLhsl(271, 71%, 23%)
HSVhsv(271, 83%, 40%)
CMYKcmyk(40.6%, 83.2%, 0%, 60.4%)
CIE-LABlab(16.99, 37.48, -40.37)
CIE-LCHlch(16.99, 55.09, 312.88°)
OKLaboklab(30.15% 0.0712 -0.1153)
OKLCHoklch(30.15% 0.136 301.7)
XYZxyz(4.4123, 2.3011, 12.5211)
Luminance0.0230 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3C1165 #3A6511
analogous
#121165 #3C1165 #651164
triadic
#3C1165 #653C11 #11653C
tetradic
#3C1165 #651211 #3A6511 #116465
square
#3C1165 #651211 #3A6511 #116465
split-complementary
#3C1165 #646511 #116512
monochromatic
#10041A #1D0831 #3C1165 #5B1A99 #7A23CE

Accessibility & contrast

On white

14.38
#3C1165 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.46
#3C1165 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3C1165
14.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3C1165#FFFFFF#000000##FFFFFF
##3C11651.0014.381.4614.38
#FFFFFF14.381.0021.001.00
#0000001.4621.001.0021.00
##FFFFFF14.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002967
Deuteranopia (green-blind)
#002963
Tritanopia (blue-blind)
#33283B
Achromatopsia (no color)
#2A2A2A

Design tokens & code

CSS
--color: #3c1165;
/* rgb */ color: rgb(60, 17, 101);
/* oklch */ color: oklch(30.2% 0.136 301.7);
Tailwind
colors: {
  custom: {
    50: '#775592',
    500: '#3c1165',
    950: '#000000',
  },
}
SCSS
$custom: #3c1165;
$custom-light: #775592;
$custom-dark: #000000;
JSON
{
  "hex": "#3c1165",
  "rgb": {
    "r": 60,
    "g": 17,
    "b": 101
  },
  "hsl": {
    "h": 270.714,
    "s": 71.186,
    "l": 23.137
  },
  "oklch": {
    "l": 0.30151,
    "c": 0.13551,
    "h": 301.7
  },
  "luminance": 0.02301
}

Semantic roles & 50–950 ramp

primary
#3C1165
secondary
#689D35
accent
#EE3A92
background
#F7F5F9
surface
#EDE9F1
border
#C8C5CB
text
#09030D
muted
#7B787E

Preview Lab

Preview with #3C1165

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

Preview Lab → · Contrast checker → · Palette generator →

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