#3C167A#3C167A

#3C167A is a dark, vivid violet. Relative luminance 0.029; OKLCH L 32.7% C 0.154 H 293.0°. Best body text is #FFFFFF at 13.22:1 contrast (WCAG AA passes).

Color values

HEX#3C167A
RGBrgb(60, 22, 122)
HSLhsl(263, 69%, 28%)
HSVhsv(263, 82%, 48%)
CMYKcmyk(50.8%, 82%, 0%, 52.2%)
CIE-LABlab(19.80, 40.97, -49.40)
CIE-LCHlch(19.80, 64.18, 309.67°)
OKLaboklab(32.73% 0.0602 -0.1418)
OKLCHoklch(32.73% 0.154 293)
XYZxyz(5.6623, 2.9394, 18.6776)
Luminance0.0294 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3C167A #547A16
analogous
#16227A #3C167A #6E167A
triadic
#3C167A #7A3C16 #167A3C
tetradic
#3C167A #7A1622 #547A16 #167A6E
square
#3C167A #7A1622 #547A16 #167A6E
split-complementary
#3C167A #7A6E16 #227A16
monochromatic
#0D051A #220D46 #3C167A #551FAE #7131DA

Accessibility & contrast

On white

13.22
#3C167A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #3C167A
13.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3C167A#FFFFFF#000000##FFFFFF
##3C167A1.0013.221.5913.22
#FFFFFF13.221.0021.001.00
#0000001.5921.001.0021.00
##FFFFFF13.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00317D
Deuteranopia (green-blind)
#002E78
Tritanopia (blue-blind)
#283348
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #3c167a;
/* rgb */ color: rgb(60, 22, 122);
/* oklch */ color: oklch(32.7% 0.154 293.0);
Tailwind
colors: {
  custom: {
    50: '#7959a1',
    500: '#3c167a',
    950: '#000000',
  },
}
SCSS
$custom: #3c167a;
$custom-light: #7959a1;
$custom-dark: #000000;
JSON
{
  "hex": "#3c167a",
  "rgb": {
    "r": 60,
    "g": 22,
    "b": 122
  },
  "hsl": {
    "h": 262.8,
    "s": 69.444,
    "l": 28.235
  },
  "oklch": {
    "l": 0.3273,
    "c": 0.15409,
    "h": 293
  },
  "luminance": 0.0294
}

Semantic roles & 50–950 ramp

primary
#3C167A
secondary
#84AF3D
accent
#EC3CA9
background
#F7F5FA
surface
#EEE9F3
border
#C9C5CD
text
#0A040F
muted
#7C797F

Preview Lab

Preview with #3C167A

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

Preview Lab → · Contrast checker → · Palette generator →

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