#6B279B#6B279B

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

Color values

HEX#6B279B
RGBrgb(107, 39, 155)
HSLhsl(275, 60%, 38%)
HSVhsv(275, 75%, 61%)
CMYKcmyk(31%, 74.8%, 0%, 39.2%)
CIE-LABlab(31.68, 50.14, -50.32)
CIE-LCHlch(31.68, 71.03, 314.90°)
OKLaboklab(43.35% 0.1079 -0.1429)
OKLCHoklch(43.35% 0.179 307.1)
XYZxyz(12.7041, 6.9436, 31.6750)
Luminance0.0694 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6B279B #579B27
analogous
#31279B #6B279B #9B2791
triadic
#6B279B #9B6B27 #279B6B
tetradic
#6B279B #9B3127 #579B27 #27919B
square
#6B279B #9B3127 #579B27 #27919B
split-complementary
#6B279B #919B27 #279B31
monochromatic
#270E39 #491B6A #6B279B #8D33CC #A864D8

Accessibility & contrast

On white

8.79
#6B279B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.39
#6B279B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6B279B
8.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6B279B#FFFFFF#000000##FFFFFF
##6B279B1.008.792.398.79
#FFFFFF8.791.0021.001.00
#0000002.3921.001.0021.00
##FFFFFF8.791.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #6b279b;
/* rgb */ color: rgb(107, 39, 155);
/* oklch */ color: oklch(43.3% 0.179 307.1);
Tailwind
colors: {
  custom: {
    50: '#9a68b9',
    500: '#6b279b',
    950: '#000000',
  },
}
SCSS
$custom: #6b279b;
$custom-light: #9a68b9;
$custom-dark: #000000;
JSON
{
  "hex": "#6b279b",
  "rgb": {
    "r": 107,
    "g": 39,
    "b": 155
  },
  "hsl": {
    "h": 275.172,
    "s": 59.794,
    "l": 38.039
  },
  "oklch": {
    "l": 0.43346,
    "c": 0.1791,
    "h": 307.1
  },
  "luminance": 0.06943
}

Semantic roles & 50–950 ramp

primary
#6B279B
secondary
#87BE60
accent
#E34586
background
#F9F6FB
surface
#F2EBF6
border
#CCC6D0
text
#0E0712
muted
#7E7A81

Preview Lab

Preview with #6B279B

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

Preview Lab → · Contrast checker → · Palette generator →

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