#3C117E#3C117E

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

Color values

HEX#3C117E
RGBrgb(60, 17, 126)
HSLhsl(264, 76%, 28%)
HSVhsv(264, 87%, 49%)
CMYKcmyk(52.4%, 86.5%, 0%, 50.6%)
CIE-LABlab(19.51, 44.13, -52.44)
CIE-LCHlch(19.51, 68.54, 310.08°)
OKLaboklab(32.65% 0.0623 -0.1506)
OKLCHoklch(32.65% 0.163 292.5)
XYZxyz(5.8288, 2.8677, 19.9810)
Luminance0.0287 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3C117E #537E11
analogous
#111C7E #3C117E #72117E
triadic
#3C117E #7E3C11 #117E3C
tetradic
#3C117E #7E111C #537E11 #117E72
square
#3C117E #7E111C #537E11 #117E72
split-complementary
#3C117E #7E7211 #1C7E11
monochromatic
#0D041B #220A48 #3C117E #5618B4 #7127E2

Accessibility & contrast

On white

13.35
#3C117E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.57
#3C117E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3C117E
13.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3C117E#FFFFFF#000000##FFFFFF
##3C117E1.0013.351.5713.35
#FFFFFF13.351.0021.001.00
#0000001.5721.001.0021.00
##FFFFFF13.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003181
Deuteranopia (green-blind)
#002D7C
Tritanopia (blue-blind)
#263249
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #3c117e;
/* rgb */ color: rgb(60, 17, 126);
/* oklch */ color: oklch(32.7% 0.163 292.5);
Tailwind
colors: {
  custom: {
    50: '#7a57a4',
    500: '#3c117e',
    950: '#000000',
  },
}
SCSS
$custom: #3c117e;
$custom-light: #7a57a4;
$custom-dark: #000000;
JSON
{
  "hex": "#3c117e",
  "rgb": {
    "r": 60,
    "g": 17,
    "b": 126
  },
  "hsl": {
    "h": 263.67,
    "s": 76.224,
    "l": 28.039
  },
  "oklch": {
    "l": 0.32652,
    "c": 0.16301,
    "h": 292.5
  },
  "luminance": 0.02868
}

Semantic roles & 50–950 ramp

primary
#3C117E
secondary
#83B437
accent
#F335A8
background
#F7F5FA
surface
#EEE9F4
border
#C9C5CE
text
#0A030F
muted
#7C787F

Preview Lab

Preview with #3C117E

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

Preview Lab → · Contrast checker → · Palette generator →

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