#3C165D#3C165D

#3C165D is a dark, vivid violet. Relative luminance 0.023; OKLCH L 30.0% C 0.120 H 304.5°. Best body text is #FFFFFF at 14.33:1 contrast (WCAG AA passes).

Color values

HEX#3C165D
RGBrgb(60, 22, 93)
HSLhsl(272, 62%, 23%)
HSVhsv(272, 76%, 36%)
CMYKcmyk(35.5%, 76.3%, 0%, 63.5%)
CIE-LABlab(17.11, 33.02, -34.88)
CIE-LCHlch(17.11, 48.03, 313.43°)
OKLaboklab(30.01% 0.0681 -0.0992)
OKLCHoklch(30.01% 0.12 304.5)
XYZxyz(4.1257, 2.3248, 10.5852)
Luminance0.0232 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3C165D #375D16
analogous
#19165D #3C165D #5D165A
triadic
#3C165D #5D3C16 #165D3C
tetradic
#3C165D #5D1916 #375D16 #165A5D
square
#3C165D #5D1916 #375D16 #165A5D
split-complementary
#3C165D #5A5D16 #165D19
monochromatic
#100619 #1C0A2C #3C165D #5C228E #7C2DC0

Accessibility & contrast

On white

14.33
#3C165D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.47
#3C165D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3C165D
14.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3C165D#FFFFFF#000000##FFFFFF
##3C165D1.0014.331.4714.33
#FFFFFF14.331.0021.001.00
#0000001.4721.001.0021.00
##FFFFFF14.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00295F
Deuteranopia (green-blind)
#002A5C
Tritanopia (blue-blind)
#362738
Achromatopsia (no color)
#2A2A2A

Design tokens & code

CSS
--color: #3c165d;
/* rgb */ color: rgb(60, 22, 93);
/* oklch */ color: oklch(30.0% 0.120 304.5);
Tailwind
colors: {
  custom: {
    50: '#75578b',
    500: '#3c165d',
    950: '#000000',
  },
}
SCSS
$custom: #3c165d;
$custom-light: #75578b;
$custom-dark: #000000;
JSON
{
  "hex": "#3c165d",
  "rgb": {
    "r": 60,
    "g": 22,
    "b": 93
  },
  "hsl": {
    "h": 272.113,
    "s": 61.739,
    "l": 22.549
  },
  "oklch": {
    "l": 0.30009,
    "c": 0.12034,
    "h": 304.5
  },
  "luminance": 0.02325
}

Semantic roles & 50–950 ramp

primary
#3C165D
secondary
#64943B
accent
#E5438E
background
#F7F5F8
surface
#EDE9F0
border
#C8C5CB
text
#09030C
muted
#7B787D

Preview Lab

Preview with #3C165D

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

Preview Lab → · Contrast checker → · Palette generator →

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