#6D279B#6D279B

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

Color values

HEX#6D279B
RGBrgb(109, 39, 155)
HSLhsl(276, 60%, 38%)
HSVhsv(276, 75%, 61%)
CMYKcmyk(29.7%, 74.8%, 0%, 39.2%)
CIE-LABlab(31.96, 50.53, -49.84)
CIE-LCHlch(31.96, 70.97, 315.39°)
OKLaboklab(43.61% 0.1107 -0.1415)
OKLCHoklch(43.61% 0.18 308.1)
XYZxyz(12.9474, 7.0690, 31.6864)
Luminance0.0707 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6D279B #559B27
analogous
#33279B #6D279B #9B278F
triadic
#6D279B #9B6D27 #279B6D
tetradic
#6D279B #9B3327 #559B27 #278F9B
square
#6D279B #9B3327 #559B27 #278F9B
split-complementary
#6D279B #8F9B27 #279B33
monochromatic
#280E39 #4B1B6A #6D279B #8F33CC #AA64D8

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##6D279B#FFFFFF#000000##FFFFFF
##6D279B1.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)
#00499E
Deuteranopia (green-blind)
#004C99
Tritanopia (blue-blind)
#66425F
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #6d279b;
/* rgb */ color: rgb(109, 39, 155);
/* oklch */ color: oklch(43.6% 0.180 308.1);
Tailwind
colors: {
  custom: {
    50: '#9b68b9',
    500: '#6d279b',
    950: '#000000',
  },
}
SCSS
$custom: #6d279b;
$custom-light: #9b68b9;
$custom-dark: #000000;
JSON
{
  "hex": "#6d279b",
  "rgb": {
    "r": 109,
    "g": 39,
    "b": 155
  },
  "hsl": {
    "h": 276.207,
    "s": 59.794,
    "l": 38.039
  },
  "oklch": {
    "l": 0.43608,
    "c": 0.17965,
    "h": 308.1
  },
  "luminance": 0.07069
}

Semantic roles & 50–950 ramp

primary
#6D279B
secondary
#85BE60
accent
#E34584
background
#F9F6FB
surface
#F2EBF6
border
#CCC6D0
text
#0F0712
muted
#7E7A81

Preview Lab

Preview with #6D279B

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

Preview Lab → · Contrast checker → · Palette generator →

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