#6B279F#6B279F

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

Color values

HEX#6B279F
RGBrgb(107, 39, 159)
HSLhsl(274, 61%, 39%)
HSVhsv(274, 75%, 62%)
CMYKcmyk(32.7%, 75.5%, 0%, 37.6%)
CIE-LABlab(31.99, 51.07, -52.24)
CIE-LCHlch(31.99, 73.06, 314.35°)
OKLaboklab(43.66% 0.1071 -0.1486)
OKLCHoklch(43.66% 0.183 305.8)
XYZxyz(13.0455, 7.0801, 33.4735)
Luminance0.0708 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6B279F #5B9F27
analogous
#2F279F #6B279F #9F2797
triadic
#6B279F #9F6B27 #279F6B
tetradic
#6B279F #9F2F27 #5B9F27 #27979F
square
#6B279F #9F2F27 #5B9F27 #27979F
split-complementary
#6B279F #979F27 #279F2F
monochromatic
#290F3D #4A1B6E #6B279F #8C36CE #A867DA

Accessibility & contrast

On white

8.69
#6B279F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #6B279F
8.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6B279F#FFFFFF#000000##FFFFFF
##6B279F1.008.692.428.69
#FFFFFF8.691.0021.001.00
#0000002.4221.001.0021.00
##FFFFFF8.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0049A2
Deuteranopia (green-blind)
#004B9D
Tritanopia (blue-blind)
#624461
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #6b279f;
/* rgb */ color: rgb(107, 39, 159);
/* oklch */ color: oklch(43.7% 0.183 305.8);
Tailwind
colors: {
  custom: {
    50: '#9a68bc',
    500: '#6b279f',
    950: '#000000',
  },
}
SCSS
$custom: #6b279f;
$custom-light: #9a68bc;
$custom-dark: #000000;
JSON
{
  "hex": "#6b279f",
  "rgb": {
    "r": 107,
    "g": 39,
    "b": 159
  },
  "hsl": {
    "h": 274,
    "s": 60.606,
    "l": 38.824
  },
  "oklch": {
    "l": 0.43662,
    "c": 0.1832,
    "h": 305.8
  },
  "luminance": 0.0708
}

Semantic roles & 50–950 ramp

primary
#6B279F
secondary
#8BC062
accent
#E44489
background
#F9F6FB
surface
#F2EBF6
border
#CCC6D0
text
#0F0712
muted
#7E7A81

Preview Lab

Preview with #6B279F

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

Preview Lab → · Contrast checker → · Palette generator →

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