#6B1FA8#6B1FA8

#6B1FA8 is a dark, highly saturated violet. Relative luminance 0.069; OKLCH L 43.7% C 0.200 H 303.9°. Best body text is #FFFFFF at 8.80:1 contrast (WCAG AA passes).

Color values

HEX#6B1FA8
RGBrgb(107, 31, 168)
HSLhsl(273, 69%, 39%)
HSVhsv(273, 82%, 66%)
CMYKcmyk(36.3%, 81.5%, 0%, 34.1%)
CIE-LABlab(31.65, 56.24, -58.23)
CIE-LCHlch(31.65, 80.95, 314.01°)
OKLaboklab(43.66% 0.1116 -0.1661)
OKLCHoklch(43.66% 0.2 303.9)
XYZxyz(13.6196, 6.9330, 37.6589)
Luminance0.0693 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6B1FA8 #5CA81F
analogous
#271FA8 #6B1FA8 #A81FA1
triadic
#6B1FA8 #A86B1F #1FA86B
tetradic
#6B1FA8 #A8271F #5CA81F #1FA1A8
square
#6B1FA8 #A8271F #5CA81F #1FA1A8
split-complementary
#6B1FA8 #A1A81F #1FA827
monochromatic
#290C41 #4A1574 #6B1FA8 #8C2CD8 #A860E2

Accessibility & contrast

On white

8.80
#6B1FA8 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #6B1FA8
8.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6B1FA8#FFFFFF#000000##FFFFFF
##6B1FA81.008.802.398.80
#FFFFFF8.801.0021.001.00
#0000002.3921.001.0021.00
##FFFFFF8.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0049AC
Deuteranopia (green-blind)
#004AA5
Tritanopia (blue-blind)
#5F4565
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #6b1fa8;
/* rgb */ color: rgb(107, 31, 168);
/* oklch */ color: oklch(43.7% 0.200 303.9);
Tailwind
colors: {
  custom: {
    50: '#9c65c3',
    500: '#6b1fa8',
    950: '#000000',
  },
}
SCSS
$custom: #6b1fa8;
$custom-light: #9c65c3;
$custom-dark: #000000;
JSON
{
  "hex": "#6b1fa8",
  "rgb": {
    "r": 107,
    "g": 31,
    "b": 168
  },
  "hsl": {
    "h": 273.285,
    "s": 68.844,
    "l": 39.02
  },
  "oklch": {
    "l": 0.43657,
    "c": 0.20015,
    "h": 303.9
  },
  "luminance": 0.06933
}

Semantic roles & 50–950 ramp

primary
#6B1FA8
secondary
#8CC65D
accent
#EC3C8A
background
#FAF6FC
surface
#F3EBF8
border
#CDC6D1
text
#0F0613
muted
#7F7A82

Preview Lab

Preview with #6B1FA8

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

Preview Lab → · Contrast checker → · Palette generator →

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