#3C166E#3C166E

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

Color values

HEX#3C166E
RGBrgb(60, 22, 110)
HSLhsl(266, 67%, 26%)
HSVhsv(266, 80%, 43%)
CMYKcmyk(45.5%, 80%, 0%, 56.9%)
CIE-LABlab(18.63, 37.64, -43.59)
CIE-LCHlch(18.63, 57.59, 310.81°)
OKLaboklab(31.56% 0.064 -0.1248)
OKLCHoklch(31.56% 0.14 297.1)
XYZxyz(4.9641, 2.6602, 15.0007)
Luminance0.0266 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3C166E #486E16
analogous
#161C6E #3C166E #68166E
triadic
#3C166E #6E3C16 #166E3C
tetradic
#3C166E #6E161C #486E16 #166E68
square
#3C166E #6E161C #486E16 #166E68
split-complementary
#3C166E #6E6816 #1C6E16
monochromatic
#0E051A #200C3B #3C166E #5820A1 #742AD4

Accessibility & contrast

On white

13.71
#3C166E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.53
#3C166E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3C166E
13.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3C166E#FFFFFF#000000##FFFFFF
##3C166E1.0013.711.5313.71
#FFFFFF13.711.0021.001.00
#0000001.5321.001.0021.00
##FFFFFF13.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002E70
Deuteranopia (green-blind)
#002C6C
Tritanopia (blue-blind)
#2F2E41
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #3c166e;
/* rgb */ color: rgb(60, 22, 110);
/* oklch */ color: oklch(31.6% 0.140 297.1);
Tailwind
colors: {
  custom: {
    50: '#775898',
    500: '#3c166e',
    950: '#000000',
  },
}
SCSS
$custom: #3c166e;
$custom-light: #775898;
$custom-dark: #000000;
JSON
{
  "hex": "#3c166e",
  "rgb": {
    "r": 60,
    "g": 22,
    "b": 110
  },
  "hsl": {
    "h": 265.909,
    "s": 66.667,
    "l": 25.882
  },
  "oklch": {
    "l": 0.31555,
    "c": 0.14024,
    "h": 297.1
  },
  "luminance": 0.0266
}

Semantic roles & 50–950 ramp

primary
#3C166E
secondary
#77A43C
accent
#EA3EA0
background
#F7F5F9
surface
#EEE9F2
border
#C9C5CC
text
#09030E
muted
#7B787E

Preview Lab

Preview with #3C166E

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

Preview Lab → · Contrast checker → · Palette generator →

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