#3C165A#3C165A

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

Color values

HEX#3C165A
RGBrgb(60, 22, 90)
HSLhsl(274, 61%, 22%)
HSVhsv(274, 76%, 35%)
CMYKcmyk(33.3%, 75.6%, 0%, 64.7%)
CIE-LABlab(16.86, 32.22, -33.28)
CIE-LCHlch(16.86, 46.32, 314.08°)
OKLaboklab(29.75% 0.0687 -0.0945)
OKLCHoklch(29.75% 0.117 306)
XYZxyz(3.9954, 2.2727, 9.8991)
Luminance0.0227 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3C165A #345A16
analogous
#1A165A #3C165A #5A1656
triadic
#3C165A #5A3C16 #165A3C
tetradic
#3C165A #5A1A16 #345A16 #16565A
square
#3C165A #5A1A16 #345A16 #16565A
split-complementary
#3C165A #565A16 #165A1A
monochromatic
#100619 #1B0A29 #3C165A #5D228B #7E2EBC

Accessibility & contrast

On white

14.44
#3C165A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.45
#3C165A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3C165A
14.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3C165A#FFFFFF#000000##FFFFFF
##3C165A1.0014.441.4514.44
#FFFFFF14.441.0021.001.00
#0000001.4521.001.0021.00
##FFFFFF14.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00285C
Deuteranopia (green-blind)
#012A59
Tritanopia (blue-blind)
#372636
Achromatopsia (no color)
#2A2A2A

Design tokens & code

CSS
--color: #3c165a;
/* rgb */ color: rgb(60, 22, 90);
/* oklch */ color: oklch(29.8% 0.117 306.0);
Tailwind
colors: {
  custom: {
    50: '#755789',
    500: '#3c165a',
    950: '#000000',
  },
}
SCSS
$custom: #3c165a;
$custom-light: #755789;
$custom-dark: #000000;
JSON
{
  "hex": "#3c165a",
  "rgb": {
    "r": 60,
    "g": 22,
    "b": 90
  },
  "hsl": {
    "h": 273.529,
    "s": 60.714,
    "l": 21.961
  },
  "oklch": {
    "l": 0.29753,
    "c": 0.1168,
    "h": 306
  },
  "luminance": 0.02273
}

Semantic roles & 50–950 ramp

primary
#3C165A
secondary
#61913B
accent
#E4448A
background
#F7F5F8
surface
#EDE9F0
border
#C8C5CB
text
#09030B
muted
#7B787C

Preview Lab

Preview with #3C165A

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

Preview Lab → · Contrast checker → · Palette generator →

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