#3C165C#3C165C

#3C165C is a dark, moderate violet. Relative luminance 0.023; OKLCH L 29.9% C 0.119 H 305.0°. Best body text is #FFFFFF at 14.37:1 contrast (WCAG AA passes).

Color values

HEX#3C165C
RGBrgb(60, 22, 92)
HSLhsl(273, 61%, 22%)
HSVhsv(273, 76%, 36%)
CMYKcmyk(34.8%, 76.1%, 0%, 63.9%)
CIE-LABlab(17.02, 32.75, -34.35)
CIE-LCHlch(17.02, 47.46, 313.64°)
OKLaboklab(29.92% 0.0683 -0.0976)
OKLCHoklch(29.92% 0.119 305)
XYZxyz(4.0817, 2.3072, 10.3534)
Luminance0.0231 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3C165C #365C16
analogous
#19165C #3C165C #5C1659
triadic
#3C165C #5C3C16 #165C3C
tetradic
#3C165C #5C1916 #365C16 #16595C
square
#3C165C #5C1916 #365C16 #16595C
split-complementary
#3C165C #595C16 #165C19
monochromatic
#100619 #1C0A2B #3C165C #5C228D #7C2EBF

Accessibility & contrast

On white

14.37
#3C165C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #3C165C
14.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3C165C#FFFFFF#000000##FFFFFF
##3C165C1.0014.371.4614.37
#FFFFFF14.371.0021.001.00
#0000001.4621.001.0021.00
##FFFFFF14.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00295E
Deuteranopia (green-blind)
#002A5B
Tritanopia (blue-blind)
#362637
Achromatopsia (no color)
#2A2A2A

Design tokens & code

CSS
--color: #3c165c;
/* rgb */ color: rgb(60, 22, 92);
/* oklch */ color: oklch(29.9% 0.119 305.0);
Tailwind
colors: {
  custom: {
    50: '#75578b',
    500: '#3c165c',
    950: '#000000',
  },
}
SCSS
$custom: #3c165c;
$custom-light: #75578b;
$custom-dark: #000000;
JSON
{
  "hex": "#3c165c",
  "rgb": {
    "r": 60,
    "g": 22,
    "b": 92
  },
  "hsl": {
    "h": 272.571,
    "s": 61.404,
    "l": 22.353
  },
  "oklch": {
    "l": 0.29923,
    "c": 0.11916,
    "h": 305
  },
  "luminance": 0.02307
}

Semantic roles & 50–950 ramp

primary
#3C165C
secondary
#63933B
accent
#E5438D
background
#F7F5F8
surface
#EDE9F0
border
#C8C5CB
text
#09030C
muted
#7B787D

Preview Lab

Preview with #3C165C

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

Preview Lab → · Contrast checker → · Palette generator →

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