#6C279C#6C279C

#6C279C is a dark, vivid violet. Relative luminance 0.070; OKLCH L 43.6% C 0.180 H 307.2°. Best body text is #FFFFFF at 8.72:1 contrast (WCAG AA passes).

Color values

HEX#6C279C
RGBrgb(108, 39, 156)
HSLhsl(275, 60%, 38%)
HSVhsv(275, 75%, 61%)
CMYKcmyk(30.8%, 75%, 0%, 38.8%)
CIE-LABlab(31.90, 50.56, -50.56)
CIE-LCHlch(31.90, 71.51, 315.00°)
OKLaboklab(43.55% 0.1092 -0.1436)
OKLCHoklch(43.55% 0.18 307.2)
XYZxyz(12.9093, 7.0396, 32.1248)
Luminance0.0704 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6C279C #579C27
analogous
#32279C #6C279C #9C2791
triadic
#6C279C #9C6C27 #279C6C
tetradic
#6C279C #9C3227 #579C27 #27919C
square
#6C279C #9C3227 #579C27 #27919C
split-complementary
#6C279C #919C27 #279C32
monochromatic
#280F3A #4A1B6B #6C279C #8E34CC #A965D8

Accessibility & contrast

On white

8.72
#6C279C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.41
#6C279C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6C279C
8.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6C279C#FFFFFF#000000##FFFFFF
##6C279C1.008.722.418.72
#FFFFFF8.721.0021.001.00
#0000002.4121.001.0021.00
##FFFFFF8.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00499F
Deuteranopia (green-blind)
#004C9A
Tritanopia (blue-blind)
#644360
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #6c279c;
/* rgb */ color: rgb(108, 39, 156);
/* oklch */ color: oklch(43.6% 0.180 307.2);
Tailwind
colors: {
  custom: {
    50: '#9b68ba',
    500: '#6c279c',
    950: '#000000',
  },
}
SCSS
$custom: #6c279c;
$custom-light: #9b68ba;
$custom-dark: #000000;
JSON
{
  "hex": "#6c279c",
  "rgb": {
    "r": 108,
    "g": 39,
    "b": 156
  },
  "hsl": {
    "h": 275.385,
    "s": 60,
    "l": 38.235
  },
  "oklch": {
    "l": 0.43554,
    "c": 0.18039,
    "h": 307.2
  },
  "luminance": 0.07039
}

Semantic roles & 50–950 ramp

primary
#6C279C
secondary
#87BE61
accent
#E34586
background
#F9F6FB
surface
#F2EBF6
border
#CCC6D0
text
#0F0712
muted
#7E7A81

Preview Lab

Preview with #6C279C

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

Preview Lab → · Contrast checker → · Palette generator →

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