#6D279C#6D279C

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

Color values

HEX#6D279C
RGBrgb(109, 39, 156)
HSLhsl(276, 60%, 38%)
HSVhsv(276, 75%, 61%)
CMYKcmyk(30.1%, 75%, 0%, 38.8%)
CIE-LABlab(32.04, 50.76, -50.33)
CIE-LCHlch(32.04, 71.48, 315.24°)
OKLaboklab(43.69% 0.1106 -0.1429)
OKLCHoklch(43.69% 0.181 307.7)
XYZxyz(13.0317, 7.1027, 32.1305)
Luminance0.0710 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6D279C #569C27
analogous
#32279C #6D279C #9C2790
triadic
#6D279C #9C6D27 #279C6D
tetradic
#6D279C #9C3227 #569C27 #27909C
square
#6D279C #9C3227 #569C27 #27909C
split-complementary
#6D279C #909C27 #279C32
monochromatic
#290F3A #4B1B6B #6D279C #8F34CC #AA65D8

Accessibility & contrast

On white

8.68
#6D279C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.42
#6D279C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6D279C
8.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6D279C#FFFFFF#000000##FFFFFF
##6D279C1.008.682.428.68
#FFFFFF8.681.0021.001.00
#0000002.4221.001.0021.00
##FFFFFF8.681.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #6d279c;
/* rgb */ color: rgb(109, 39, 156);
/* oklch */ color: oklch(43.7% 0.181 307.7);
Tailwind
colors: {
  custom: {
    50: '#9b68ba',
    500: '#6d279c',
    950: '#000000',
  },
}
SCSS
$custom: #6d279c;
$custom-light: #9b68ba;
$custom-dark: #000000;
JSON
{
  "hex": "#6d279c",
  "rgb": {
    "r": 109,
    "g": 39,
    "b": 156
  },
  "hsl": {
    "h": 275.897,
    "s": 60,
    "l": 38.235
  },
  "oklch": {
    "l": 0.43685,
    "c": 0.18066,
    "h": 307.7
  },
  "luminance": 0.07103
}

Semantic roles & 50–950 ramp

primary
#6D279C
secondary
#86BE61
accent
#E34584
background
#F9F6FB
surface
#F2EBF6
border
#CCC6D0
text
#0F0712
muted
#7E7A81

Preview Lab

Preview with #6D279C

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

Preview Lab → · Contrast checker → · Palette generator →

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