#3C167F#3C167F

#3C167F is a dark, vivid violet. Relative luminance 0.031; OKLCH L 33.2% C 0.160 H 291.5°. Best body text is #FFFFFF at 13.02:1 contrast (WCAG AA passes).

Color values

HEX#3C167F
RGBrgb(60, 22, 127)
HSLhsl(262, 70%, 29%)
HSVhsv(262, 83%, 50%)
CMYKcmyk(52.8%, 82.7%, 0%, 50.2%)
CIE-LABlab(20.31, 42.36, -51.75)
CIE-LCHlch(20.31, 66.88, 309.30°)
OKLaboklab(33.24% 0.0585 -0.1487)
OKLCHoklch(33.24% 0.16 291.5)
XYZxyz(5.9801, 3.0665, 20.3514)
Luminance0.0307 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3C167F #597F16
analogous
#16257F #3C167F #71167F
triadic
#3C167F #7F3C16 #167F3C
tetradic
#3C167F #7F1625 #597F16 #167F71
square
#3C167F #7F1625 #597F16 #167F71
split-complementary
#3C167F #7F7116 #257F16
monochromatic
#0C051A #230D4B #3C167F #551FB3 #7034DC

Accessibility & contrast

On white

13.02
#3C167F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.61
#3C167F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3C167F
13.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3C167F#FFFFFF#000000##FFFFFF
##3C167F1.0013.021.6113.02
#FFFFFF13.021.0021.001.00
#0000001.6121.001.0021.00
##FFFFFF13.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003382
Deuteranopia (green-blind)
#002F7D
Tritanopia (blue-blind)
#25354B
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #3c167f;
/* rgb */ color: rgb(60, 22, 127);
/* oklch */ color: oklch(33.2% 0.160 291.5);
Tailwind
colors: {
  custom: {
    50: '#7a59a5',
    500: '#3c167f',
    950: '#000000',
  },
}
SCSS
$custom: #3c167f;
$custom-light: #7a59a5;
$custom-dark: #000000;
JSON
{
  "hex": "#3c167f",
  "rgb": {
    "r": 60,
    "g": 22,
    "b": 127
  },
  "hsl": {
    "h": 261.714,
    "s": 70.47,
    "l": 29.216
  },
  "oklch": {
    "l": 0.33238,
    "c": 0.1598,
    "h": 291.5
  },
  "luminance": 0.03067
}

Semantic roles & 50–950 ramp

primary
#3C167F
secondary
#89B43D
accent
#ED3BAD
background
#F7F5FA
surface
#EEE9F4
border
#C9C5CE
text
#0A040F
muted
#7C797F

Preview Lab

Preview with #3C167F

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

Preview Lab → · Contrast checker → · Palette generator →

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