#3C279C#3C279C

#3C279C is a dark, vivid violet. Relative luminance 0.048; OKLCH L 38.2% C 0.177 H 282.2°. Best body text is #FFFFFF at 10.70:1 contrast (WCAG AA passes).

Color values

HEX#3C279C
RGBrgb(60, 39, 156)
HSLhsl(251, 60%, 38%)
HSVhsv(251, 75%, 61%)
CMYKcmyk(61.5%, 75%, 0%, 38.8%)
CIE-LABlab(26.19, 42.51, -60.12)
CIE-LCHlch(26.19, 73.63, 305.26°)
OKLaboklab(38.24% 0.0376 -0.1733)
OKLCHoklch(38.24% 0.177 282.2)
XYZxyz(8.5879, 4.8114, 31.9222)
Luminance0.0481 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3C279C #879C27
analogous
#274C9C #3C279C #76279C
triadic
#3C279C #9C3C27 #279C3C
tetradic
#3C279C #9C274C #879C27 #279C76
square
#3C279C #9C274C #879C27 #279C76
split-complementary
#3C279C #9C7627 #4C9C27
monochromatic
#160F3A #291B6B #3C279C #4F34CC #7A65D8

Accessibility & contrast

On white

10.70
#3C279C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.96
#3C279C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3C279C
10.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3C279C#FFFFFF#000000##FFFFFF
##3C279C1.0010.701.9610.70
#FFFFFF10.701.0021.001.00
#0000001.9621.001.0021.00
##FFFFFF10.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00429F
Deuteranopia (green-blind)
#003A9A
Tritanopia (blue-blind)
#00485F
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #3c279c;
/* rgb */ color: rgb(60, 39, 156);
/* oklch */ color: oklch(38.2% 0.177 282.2);
Tailwind
colors: {
  custom: {
    50: '#7e64ba',
    500: '#3c279c',
    950: '#000000',
  },
}
SCSS
$custom: #3c279c;
$custom-light: #7e64ba;
$custom-dark: #000000;
JSON
{
  "hex": "#3c279c",
  "rgb": {
    "r": 60,
    "g": 39,
    "b": 156
  },
  "hsl": {
    "h": 250.769,
    "s": 60,
    "l": 38.235
  },
  "oklch": {
    "l": 0.3824,
    "c": 0.17737,
    "h": 282.2
  },
  "luminance": 0.04812
}

Semantic roles & 50–950 ramp

primary
#3C279C
secondary
#ADBE61
accent
#E345C7
background
#F8F6FB
surface
#EFEBF6
border
#CAC6D0
text
#0B0512
muted
#7C7A81

Preview Lab

Preview with #3C279C

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

Preview Lab → · Contrast checker → · Palette generator →

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