#3C167D#3C167D

#3C167D is a dark, vivid violet. Relative luminance 0.030; OKLCH L 33.0% C 0.158 H 292.1°. Best body text is #FFFFFF at 13.10:1 contrast (WCAG AA passes).

Color values

HEX#3C167D
RGBrgb(60, 22, 125)
HSLhsl(262, 70%, 29%)
HSVhsv(262, 82%, 49%)
CMYKcmyk(52%, 82.4%, 0%, 51%)
CIE-LABlab(20.10, 41.81, -50.82)
CIE-LCHlch(20.10, 65.80, 309.44°)
OKLaboklab(33.03% 0.0592 -0.146)
OKLCHoklch(33.03% 0.158 292.1)
XYZxyz(5.8510, 3.0149, 19.6717)
Luminance0.0301 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3C167D #577D16
analogous
#16247D #3C167D #70167D
triadic
#3C167D #7D3C16 #167D3C
tetradic
#3C167D #7D1624 #577D16 #167D70
square
#3C167D #7D1624 #577D16 #167D70
split-complementary
#3C167D #7D7016 #247D16
monochromatic
#0C051A #230D49 #3C167D #551FB1 #7132DB

Accessibility & contrast

On white

13.10
#3C167D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.60
#3C167D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3C167D
13.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3C167D#FFFFFF#000000##FFFFFF
##3C167D1.0013.101.6013.10
#FFFFFF13.101.0021.001.00
#0000001.6021.001.0021.00
##FFFFFF13.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003280
Deuteranopia (green-blind)
#002E7B
Tritanopia (blue-blind)
#26344A
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #3c167d;
/* rgb */ color: rgb(60, 22, 125);
/* oklch */ color: oklch(33.0% 0.158 292.1);
Tailwind
colors: {
  custom: {
    50: '#7a59a4',
    500: '#3c167d',
    950: '#000000',
  },
}
SCSS
$custom: #3c167d;
$custom-light: #7a59a4;
$custom-dark: #000000;
JSON
{
  "hex": "#3c167d",
  "rgb": {
    "r": 60,
    "g": 22,
    "b": 125
  },
  "hsl": {
    "h": 262.136,
    "s": 70.068,
    "l": 28.824
  },
  "oklch": {
    "l": 0.33034,
    "c": 0.15752,
    "h": 292.1
  },
  "luminance": 0.03015
}

Semantic roles & 50–950 ramp

primary
#3C167D
secondary
#87B23D
accent
#ED3BAB
background
#F7F5FA
surface
#EEE9F4
border
#C9C5CE
text
#0A040F
muted
#7C797F

Preview Lab

Preview with #3C167D

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

Preview Lab → · Contrast checker → · Palette generator →

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