#6C279A#6C279A

#6C279A is a dark, vivid violet. Relative luminance 0.070; OKLCH L 43.4% C 0.178 H 307.9°. Best body text is #FFFFFF at 8.77:1 contrast (WCAG AA passes).

Color values

HEX#6C279A
RGBrgb(108, 39, 154)
HSLhsl(276, 60%, 38%)
HSVhsv(276, 75%, 60%)
CMYKcmyk(29.9%, 74.7%, 0%, 39.6%)
CIE-LABlab(31.74, 50.10, -49.59)
CIE-LCHlch(31.74, 70.50, 315.29°)
OKLaboklab(43.4% 0.1095 -0.1408)
OKLCHoklch(43.4% 0.178 307.9)
XYZxyz(12.7414, 6.9725, 31.2402)
Luminance0.0697 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6C279A #559A27
analogous
#33279A #6C279A #9A278E
triadic
#6C279A #9A6C27 #279A6C
tetradic
#6C279A #9A3327 #559A27 #278E9A
square
#6C279A #9A3327 #559A27 #278E9A
split-complementary
#6C279A #8E9A27 #279A33
monochromatic
#280E38 #4A1B69 #6C279A #8E33CB #A964D8

Accessibility & contrast

On white

8.77
#6C279A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.39
#6C279A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6C279A
8.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6C279A#FFFFFF#000000##FFFFFF
##6C279A1.008.772.398.77
#FFFFFF8.771.0021.001.00
#0000002.3921.001.0021.00
##FFFFFF8.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00489D
Deuteranopia (green-blind)
#004B98
Tritanopia (blue-blind)
#65425E
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #6c279a;
/* rgb */ color: rgb(108, 39, 154);
/* oklch */ color: oklch(43.4% 0.178 307.9);
Tailwind
colors: {
  custom: {
    50: '#9b68b9',
    500: '#6c279a',
    950: '#000000',
  },
}
SCSS
$custom: #6c279a;
$custom-light: #9b68b9;
$custom-dark: #000000;
JSON
{
  "hex": "#6c279a",
  "rgb": {
    "r": 108,
    "g": 39,
    "b": 154
  },
  "hsl": {
    "h": 276,
    "s": 59.585,
    "l": 37.843
  },
  "oklch": {
    "l": 0.43398,
    "c": 0.17836,
    "h": 307.9
  },
  "luminance": 0.06972
}

Semantic roles & 50–950 ramp

primary
#6C279A
secondary
#85BD5F
accent
#E34584
background
#F9F6FB
surface
#F2EBF6
border
#CCC6D0
text
#0F0711
muted
#7E7A80

Preview Lab

Preview with #6C279A

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

Preview Lab → · Contrast checker → · Palette generator →

#6C279A Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva