#3C165B#3C165B

#3C165B is a dark, moderate violet. Relative luminance 0.023; OKLCH L 29.8% C 0.118 H 305.5°. Best body text is #FFFFFF at 14.40:1 contrast (WCAG AA passes).

Color values

HEX#3C165B
RGBrgb(60, 22, 91)
HSLhsl(273, 61%, 22%)
HSVhsv(273, 76%, 36%)
CMYKcmyk(34.1%, 75.8%, 0%, 64.3%)
CIE-LABlab(16.94, 32.49, -33.82)
CIE-LCHlch(16.94, 46.89, 313.85°)
OKLaboklab(29.84% 0.0685 -0.0961)
OKLCHoklch(29.84% 0.118 305.5)
XYZxyz(4.0383, 2.2898, 10.1247)
Luminance0.0229 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3C165B #355B16
analogous
#19165B #3C165B #5B1658
triadic
#3C165B #5B3C16 #165B3C
tetradic
#3C165B #5B1916 #355B16 #16585B
square
#3C165B #5B1916 #355B16 #16585B
split-complementary
#3C165B #585B16 #165B19
monochromatic
#100619 #1C0A2A #3C165B #5C228C #7D2EBE

Accessibility & contrast

On white

14.40
#3C165B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #3C165B
14.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3C165B#FFFFFF#000000##FFFFFF
##3C165B1.0014.401.4614.40
#FFFFFF14.401.0021.001.00
#0000001.4621.001.0021.00
##FFFFFF14.401.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #3c165b;
/* rgb */ color: rgb(60, 22, 91);
/* oklch */ color: oklch(29.8% 0.118 305.5);
Tailwind
colors: {
  custom: {
    50: '#75578a',
    500: '#3c165b',
    950: '#000000',
  },
}
SCSS
$custom: #3c165b;
$custom-light: #75578a;
$custom-dark: #000000;
JSON
{
  "hex": "#3c165b",
  "rgb": {
    "r": 60,
    "g": 22,
    "b": 91
  },
  "hsl": {
    "h": 273.043,
    "s": 61.062,
    "l": 22.157
  },
  "oklch": {
    "l": 0.29837,
    "c": 0.11798,
    "h": 305.5
  },
  "luminance": 0.0229
}

Semantic roles & 50–950 ramp

primary
#3C165B
secondary
#62923B
accent
#E4448C
background
#F7F5F8
surface
#EDE9F0
border
#C8C5CB
text
#09030C
muted
#7B787D

Preview Lab

Preview with #3C165B

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

Preview Lab → · Contrast checker → · Palette generator →

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