#3C107E#3C107E

#3C107E is a dark, vivid violet. Relative luminance 0.028; OKLCH L 32.6% C 0.164 H 292.6°. Best body text is #FFFFFF at 13.40:1 contrast (WCAG AA passes).

Color values

HEX#3C107E
RGBrgb(60, 16, 126)
HSLhsl(264, 77%, 28%)
HSVhsv(264, 87%, 49%)
CMYKcmyk(52.4%, 87.3%, 0%, 50.6%)
CIE-LABlab(19.38, 44.50, -52.64)
CIE-LCHlch(19.38, 68.93, 310.21°)
OKLaboklab(32.57% 0.0629 -0.1512)
OKLCHoklch(32.57% 0.164 292.6)
XYZxyz(5.8136, 2.8374, 19.9760)
Luminance0.0284 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3C107E #527E10
analogous
#101B7E #3C107E #73107E
triadic
#3C107E #7E3C10 #107E3C
tetradic
#3C107E #7E101B #527E10 #107E73
square
#3C107E #7E101B #527E10 #107E73
split-complementary
#3C107E #7E7310 #1B7E10
monochromatic
#0D031B #220948 #3C107E #5617B4 #7125E3

Accessibility & contrast

On white

13.40
#3C107E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #3C107E
13.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3C107E#FFFFFF#000000##FFFFFF
##3C107E1.0013.401.5713.40
#FFFFFF13.401.0021.001.00
#0000001.5721.001.0021.00
##FFFFFF13.401.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #3c107e;
/* rgb */ color: rgb(60, 16, 126);
/* oklch */ color: oklch(32.6% 0.164 292.6);
Tailwind
colors: {
  custom: {
    50: '#7a56a4',
    500: '#3c107e',
    950: '#000000',
  },
}
SCSS
$custom: #3c107e;
$custom-light: #7a56a4;
$custom-dark: #000000;
JSON
{
  "hex": "#3c107e",
  "rgb": {
    "r": 60,
    "g": 16,
    "b": 126
  },
  "hsl": {
    "h": 264,
    "s": 77.465,
    "l": 27.843
  },
  "oklch": {
    "l": 0.32566,
    "c": 0.1638,
    "h": 292.6
  },
  "luminance": 0.02838
}

Semantic roles & 50–950 ramp

primary
#3C107E
secondary
#82B436
accent
#F434A7
background
#F7F5FA
surface
#EEE9F4
border
#C9C5CE
text
#0A030F
muted
#7C787F

Preview Lab

Preview with #3C107E

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

Preview Lab → · Contrast checker → · Palette generator →

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