#3C167B#3C167B

#3C167B is a dark, vivid violet. Relative luminance 0.030; OKLCH L 32.8% C 0.155 H 292.7°. Best body text is #FFFFFF at 13.18:1 contrast (WCAG AA passes).

Color values

HEX#3C167B
RGBrgb(60, 22, 123)
HSLhsl(263, 70%, 28%)
HSVhsv(263, 82%, 48%)
CMYKcmyk(51.2%, 82.1%, 0%, 51.8%)
CIE-LABlab(19.90, 41.25, -49.88)
CIE-LCHlch(19.90, 64.72, 309.59°)
OKLaboklab(32.83% 0.0599 -0.1432)
OKLCHoklch(32.83% 0.155 292.7)
XYZxyz(5.7245, 2.9643, 19.0056)
Luminance0.0296 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3C167B #557B16
analogous
#16237B #3C167B #6E167B
triadic
#3C167B #7B3C16 #167B3C
tetradic
#3C167B #7B1623 #557B16 #167B6E
square
#3C167B #7B1623 #557B16 #167B6E
split-complementary
#3C167B #7B6E16 #237B16
monochromatic
#0D051A #230D47 #3C167B #551FAF #7131DA

Accessibility & contrast

On white

13.18
#3C167B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.59
#3C167B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3C167B
13.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3C167B#FFFFFF#000000##FFFFFF
##3C167B1.0013.181.5913.18
#FFFFFF13.181.0021.001.00
#0000001.5921.001.0021.00
##FFFFFF13.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00317E
Deuteranopia (green-blind)
#002E79
Tritanopia (blue-blind)
#273349
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #3c167b;
/* rgb */ color: rgb(60, 22, 123);
/* oklch */ color: oklch(32.8% 0.155 292.7);
Tailwind
colors: {
  custom: {
    50: '#7959a2',
    500: '#3c167b',
    950: '#000000',
  },
}
SCSS
$custom: #3c167b;
$custom-light: #7959a2;
$custom-dark: #000000;
JSON
{
  "hex": "#3c167b",
  "rgb": {
    "r": 60,
    "g": 22,
    "b": 123
  },
  "hsl": {
    "h": 262.574,
    "s": 69.655,
    "l": 28.431
  },
  "oklch": {
    "l": 0.32831,
    "c": 0.15524,
    "h": 292.7
  },
  "luminance": 0.02965
}

Semantic roles & 50–950 ramp

primary
#3C167B
secondary
#85B03D
accent
#EC3BAA
background
#F7F5FA
surface
#EEE9F4
border
#C9C5CE
text
#0A040F
muted
#7C797F

Preview Lab

Preview with #3C167B

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

Preview Lab → · Contrast checker → · Palette generator →

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