#3C166F#3C166F

#3C166F is a dark, vivid violet. Relative luminance 0.027; OKLCH L 31.6% C 0.141 H 296.8°. Best body text is #FFFFFF at 13.67:1 contrast (WCAG AA passes).

Color values

HEX#3C166F
RGBrgb(60, 22, 111)
HSLhsl(266, 67%, 26%)
HSVhsv(266, 80%, 44%)
CMYKcmyk(45.9%, 80.2%, 0%, 56.5%)
CIE-LABlab(18.72, 37.92, -44.09)
CIE-LCHlch(18.72, 58.15, 310.70°)
OKLaboklab(31.65% 0.0637 -0.1262)
OKLCHoklch(31.65% 0.141 296.8)
XYZxyz(5.0189, 2.6821, 15.2891)
Luminance0.0268 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3C166F #496F16
analogous
#161C6F #3C166F #68166F
triadic
#3C166F #6F3C16 #166F3C
tetradic
#3C166F #6F161C #496F16 #166F68
square
#3C166F #6F161C #496F16 #166F68
split-complementary
#3C166F #6F6816 #1C6F16
monochromatic
#0E051A #200C3C #3C166F #5820A2 #732BD5

Accessibility & contrast

On white

13.67
#3C166F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.54
#3C166F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3C166F
13.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3C166F#FFFFFF#000000##FFFFFF
##3C166F1.0013.671.5413.67
#FFFFFF13.671.0021.001.00
#0000001.5421.001.0021.00
##FFFFFF13.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002E71
Deuteranopia (green-blind)
#002C6D
Tritanopia (blue-blind)
#2E2E42
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #3c166f;
/* rgb */ color: rgb(60, 22, 111);
/* oklch */ color: oklch(31.6% 0.141 296.8);
Tailwind
colors: {
  custom: {
    50: '#785899',
    500: '#3c166f',
    950: '#000000',
  },
}
SCSS
$custom: #3c166f;
$custom-light: #785899;
$custom-dark: #000000;
JSON
{
  "hex": "#3c166f",
  "rgb": {
    "r": 60,
    "g": 22,
    "b": 111
  },
  "hsl": {
    "h": 265.618,
    "s": 66.917,
    "l": 26.078
  },
  "oklch": {
    "l": 0.3165,
    "c": 0.14141,
    "h": 296.8
  },
  "luminance": 0.02682
}

Semantic roles & 50–950 ramp

primary
#3C166F
secondary
#78A53C
accent
#EA3EA0
background
#F7F5F9
surface
#EEE9F2
border
#C9C5CC
text
#09030E
muted
#7B787E

Preview Lab

Preview with #3C166F

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

Preview Lab → · Contrast checker → · Palette generator →

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