#3C279F#3C279F

#3C279F is a dark, vivid violet. Relative luminance 0.049; OKLCH L 38.5% C 0.181 H 281.7°. Best body text is #FFFFFF at 10.59:1 contrast (WCAG AA passes).

Color values

HEX#3C279F
RGBrgb(60, 39, 159)
HSLhsl(251, 61%, 39%)
HSVhsv(251, 75%, 62%)
CMYKcmyk(62.3%, 75.5%, 0%, 37.6%)
CIE-LABlab(26.49, 43.44, -61.46)
CIE-LCHlch(26.49, 75.26, 305.25°)
OKLaboklab(38.54% 0.0369 -0.1772)
OKLCHoklch(38.54% 0.181 281.7)
XYZxyz(8.8450, 4.9143, 33.2766)
Luminance0.0491 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3C279F #8A9F27
analogous
#274E9F #3C279F #78279F
triadic
#3C279F #9F3C27 #279F3C
tetradic
#3C279F #9F274E #8A9F27 #279F78
square
#3C279F #9F274E #8A9F27 #279F78
split-complementary
#3C279F #9F7827 #4E9F27
monochromatic
#170F3D #291B6E #3C279F #5036CE #7B67DA

Accessibility & contrast

On white

10.59
#3C279F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.98
#3C279F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3C279F
10.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3C279F#FFFFFF#000000##FFFFFF
##3C279F1.0010.591.9810.59
#FFFFFF10.591.0021.001.00
#0000001.9821.001.0021.00
##FFFFFF10.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0043A2
Deuteranopia (green-blind)
#003A9D
Tritanopia (blue-blind)
#004961
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #3c279f;
/* rgb */ color: rgb(60, 39, 159);
/* oklch */ color: oklch(38.5% 0.181 281.7);
Tailwind
colors: {
  custom: {
    50: '#7e64bd',
    500: '#3c279f',
    950: '#000000',
  },
}
SCSS
$custom: #3c279f;
$custom-light: #7e64bd;
$custom-dark: #000000;
JSON
{
  "hex": "#3c279f",
  "rgb": {
    "r": 60,
    "g": 39,
    "b": 159
  },
  "hsl": {
    "h": 250.5,
    "s": 60.606,
    "l": 38.824
  },
  "oklch": {
    "l": 0.3854,
    "c": 0.18104,
    "h": 281.7
  },
  "luminance": 0.04915
}

Semantic roles & 50–950 ramp

primary
#3C279F
secondary
#AFC062
accent
#E444C8
background
#F8F6FB
surface
#EFEBF7
border
#CAC6D0
text
#0B0512
muted
#7C7A81

Preview Lab

Preview with #3C279F

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

Preview Lab → · Contrast checker → · Palette generator →

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