#6D279E#6D279E

#6D279E is a dark, vivid violet. Relative luminance 0.072; OKLCH L 43.8% C 0.183 H 307.1°. Best body text is #FFFFFF at 8.63:1 contrast (WCAG AA passes).

Color values

HEX#6D279E
RGBrgb(109, 39, 158)
HSLhsl(275, 60%, 39%)
HSVhsv(275, 75%, 62%)
CMYKcmyk(31%, 75.3%, 0%, 38%)
CIE-LABlab(32.19, 51.22, -51.29)
CIE-LCHlch(32.19, 72.48, 314.96°)
OKLaboklab(43.84% 0.1102 -0.1457)
OKLCHoklch(43.84% 0.183 307.1)
XYZxyz(13.2024, 7.1710, 33.0298)
Luminance0.0717 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6D279E #589E27
analogous
#31279E #6D279E #9E2793
triadic
#6D279E #9E6D27 #279E6D
tetradic
#6D279E #9E3127 #589E27 #27939E
square
#6D279E #9E3127 #589E27 #27939E
split-complementary
#6D279E #939E27 #279E31
monochromatic
#290F3C #4B1B6D #6D279E #8F35CD #AA66D9

Accessibility & contrast

On white

8.63
#6D279E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.43
#6D279E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6D279E
8.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6D279E#FFFFFF#000000##FFFFFF
##6D279E1.008.632.438.63
#FFFFFF8.631.0021.001.00
#0000002.4321.001.0021.00
##FFFFFF8.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0049A1
Deuteranopia (green-blind)
#004C9C
Tritanopia (blue-blind)
#654461
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #6d279e;
/* rgb */ color: rgb(109, 39, 158);
/* oklch */ color: oklch(43.8% 0.183 307.1);
Tailwind
colors: {
  custom: {
    50: '#9c68bb',
    500: '#6d279e',
    950: '#000000',
  },
}
SCSS
$custom: #6d279e;
$custom-light: #9c68bb;
$custom-dark: #000000;
JSON
{
  "hex": "#6d279e",
  "rgb": {
    "r": 109,
    "g": 39,
    "b": 158
  },
  "hsl": {
    "h": 275.294,
    "s": 60.406,
    "l": 38.627
  },
  "oklch": {
    "l": 0.43842,
    "c": 0.18269,
    "h": 307.1
  },
  "luminance": 0.07171
}

Semantic roles & 50–950 ramp

primary
#6D279E
secondary
#88BF62
accent
#E44486
background
#FAF6FB
surface
#F3EBF6
border
#CDC6D0
text
#0F0712
muted
#7F7A81

Preview Lab

Preview with #6D279E

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

Preview Lab → · Contrast checker → · Palette generator →

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