#6C279B#6C279B

#6C279B is a dark, vivid violet. Relative luminance 0.070; OKLCH L 43.5% C 0.179 H 307.6°. Best body text is #FFFFFF at 8.75:1 contrast (WCAG AA passes).

Color values

HEX#6C279B
RGBrgb(108, 39, 155)
HSLhsl(276, 60%, 38%)
HSVhsv(276, 75%, 61%)
CMYKcmyk(30.3%, 74.8%, 0%, 39.2%)
CIE-LABlab(31.82, 50.33, -50.08)
CIE-LCHlch(31.82, 71.00, 315.14°)
OKLaboklab(43.48% 0.1093 -0.1422)
OKLCHoklch(43.48% 0.179 307.6)
XYZxyz(12.8250, 7.0059, 31.6806)
Luminance0.0701 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6C279B #569B27
analogous
#32279B #6C279B #9B2790
triadic
#6C279B #9B6C27 #279B6C
tetradic
#6C279B #9B3227 #569B27 #27909B
square
#6C279B #9B3227 #569B27 #27909B
split-complementary
#6C279B #909B27 #279B32
monochromatic
#280E39 #4A1B6A #6C279B #8E33CC #A964D8

Accessibility & contrast

On white

8.75
#6C279B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.40
#6C279B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6C279B
8.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6C279B#FFFFFF#000000##FFFFFF
##6C279B1.008.752.408.75
#FFFFFF8.751.0021.001.00
#0000002.4021.001.0021.00
##FFFFFF8.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00489E
Deuteranopia (green-blind)
#004B99
Tritanopia (blue-blind)
#64435F
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #6c279b;
/* rgb */ color: rgb(108, 39, 155);
/* oklch */ color: oklch(43.5% 0.179 307.6);
Tailwind
colors: {
  custom: {
    50: '#9b68b9',
    500: '#6c279b',
    950: '#000000',
  },
}
SCSS
$custom: #6c279b;
$custom-light: #9b68b9;
$custom-dark: #000000;
JSON
{
  "hex": "#6c279b",
  "rgb": {
    "r": 108,
    "g": 39,
    "b": 155
  },
  "hsl": {
    "h": 275.69,
    "s": 59.794,
    "l": 38.039
  },
  "oklch": {
    "l": 0.43476,
    "c": 0.17938,
    "h": 307.6
  },
  "luminance": 0.07006
}

Semantic roles & 50–950 ramp

primary
#6C279B
secondary
#86BE60
accent
#E34585
background
#F9F6FB
surface
#F2EBF6
border
#CCC6D0
text
#0F0712
muted
#7E7A81

Preview Lab

Preview with #6C279B

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

Preview Lab → · Contrast checker → · Palette generator →

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