#6B279A#6B279A

#6B279A is a dark, vivid violet. Relative luminance 0.069; OKLCH L 43.3% C 0.178 H 307.4°. Best body text is #FFFFFF at 8.82:1 contrast (WCAG AA passes).

Color values

HEX#6B279A
RGBrgb(107, 39, 154)
HSLhsl(275, 60%, 38%)
HSVhsv(275, 75%, 60%)
CMYKcmyk(30.5%, 74.7%, 0%, 39.6%)
CIE-LABlab(31.60, 49.90, -49.83)
CIE-LCHlch(31.60, 70.52, 315.04°)
OKLaboklab(43.27% 0.1081 -0.1415)
OKLCHoklch(43.27% 0.178 307.4)
XYZxyz(12.6204, 6.9101, 31.2345)
Luminance0.0691 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6B279A #569A27
analogous
#31279A #6B279A #9A278F
triadic
#6B279A #9A6B27 #279A6B
tetradic
#6B279A #9A3127 #569A27 #278F9A
square
#6B279A #9A3127 #569A27 #278F9A
split-complementary
#6B279A #8F9A27 #279A31
monochromatic
#270E38 #491B69 #6B279A #8D33CB #A864D8

Accessibility & contrast

On white

8.82
#6B279A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.38
#6B279A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6B279A
8.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6B279A#FFFFFF#000000##FFFFFF
##6B279A1.008.822.388.82
#FFFFFF8.821.0021.001.00
#0000002.3821.001.0021.00
##FFFFFF8.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00489D
Deuteranopia (green-blind)
#004B98
Tritanopia (blue-blind)
#63425E
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #6b279a;
/* rgb */ color: rgb(107, 39, 154);
/* oklch */ color: oklch(43.3% 0.178 307.4);
Tailwind
colors: {
  custom: {
    50: '#9a68b9',
    500: '#6b279a',
    950: '#000000',
  },
}
SCSS
$custom: #6b279a;
$custom-light: #9a68b9;
$custom-dark: #000000;
JSON
{
  "hex": "#6b279a",
  "rgb": {
    "r": 107,
    "g": 39,
    "b": 154
  },
  "hsl": {
    "h": 275.478,
    "s": 59.585,
    "l": 37.843
  },
  "oklch": {
    "l": 0.43267,
    "c": 0.17809,
    "h": 307.4
  },
  "luminance": 0.0691
}

Semantic roles & 50–950 ramp

primary
#6B279A
secondary
#86BD5F
accent
#E34586
background
#F9F6FB
surface
#F2EBF6
border
#CCC6D0
text
#0E0611
muted
#7E7A80

Preview Lab

Preview with #6B279A

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

Preview Lab → · Contrast checker → · Palette generator →

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