#6C279D#6C279D

#6C279D is a dark, vivid violet. Relative luminance 0.071; OKLCH L 43.6% C 0.181 H 306.9°. Best body text is #FFFFFF at 8.70:1 contrast (WCAG AA passes).

Color values

HEX#6C279D
RGBrgb(108, 39, 157)
HSLhsl(275, 60%, 38%)
HSVhsv(275, 75%, 62%)
CMYKcmyk(31.2%, 75.2%, 0%, 38.4%)
CIE-LABlab(31.97, 50.79, -51.05)
CIE-LCHlch(31.97, 72.01, 314.86°)
OKLaboklab(43.63% 0.109 -0.145)
OKLCHoklch(43.63% 0.181 306.9)
XYZxyz(12.9944, 7.0737, 32.5726)
Luminance0.0707 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6C279D #589D27
analogous
#31279D #6C279D #9D2793
triadic
#6C279D #9D6C27 #279D6C
tetradic
#6C279D #9D3127 #589D27 #27939D
square
#6C279D #9D3127 #589D27 #27939D
split-complementary
#6C279D #939D27 #279D31
monochromatic
#290F3B #4A1B6C #6C279D #8D35CD #A966D9

Accessibility & contrast

On white

8.70
#6C279D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #6C279D
8.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6C279D#FFFFFF#000000##FFFFFF
##6C279D1.008.702.418.70
#FFFFFF8.701.0021.001.00
#0000002.4121.001.0021.00
##FFFFFF8.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0049A0
Deuteranopia (green-blind)
#004C9B
Tritanopia (blue-blind)
#644360
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #6c279d;
/* rgb */ color: rgb(108, 39, 157);
/* oklch */ color: oklch(43.6% 0.181 306.9);
Tailwind
colors: {
  custom: {
    50: '#9b68bb',
    500: '#6c279d',
    950: '#000000',
  },
}
SCSS
$custom: #6c279d;
$custom-light: #9b68bb;
$custom-dark: #000000;
JSON
{
  "hex": "#6c279d",
  "rgb": {
    "r": 108,
    "g": 39,
    "b": 157
  },
  "hsl": {
    "h": 275.085,
    "s": 60.204,
    "l": 38.431
  },
  "oklch": {
    "l": 0.43633,
    "c": 0.18141,
    "h": 306.9
  },
  "luminance": 0.07074
}

Semantic roles & 50–950 ramp

primary
#6C279D
secondary
#88BF61
accent
#E34486
background
#F9F6FB
surface
#F2EBF6
border
#CCC6D0
text
#0F0712
muted
#7E7A81

Preview Lab

Preview with #6C279D

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

Preview Lab → · Contrast checker → · Palette generator →

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