#6B1FA9#6B1FA9

#6B1FA9 is a dark, highly saturated violet. Relative luminance 0.070; OKLCH L 43.7% C 0.201 H 303.6°. Best body text is #FFFFFF at 8.77:1 contrast (WCAG AA passes).

Color values

HEX#6B1FA9
RGBrgb(107, 31, 169)
HSLhsl(273, 69%, 39%)
HSVhsv(273, 82%, 66%)
CMYKcmyk(36.7%, 81.7%, 0%, 33.7%)
CIE-LABlab(31.74, 56.47, -58.69)
CIE-LCHlch(31.74, 81.44, 313.90°)
OKLaboklab(43.74% 0.1113 -0.1675)
OKLCHoklch(43.74% 0.201 303.6)
XYZxyz(13.7131, 6.9704, 38.1514)
Luminance0.0697 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6B1FA9 #5DA91F
analogous
#261FA9 #6B1FA9 #A91FA2
triadic
#6B1FA9 #A96B1F #1FA96B
tetradic
#6B1FA9 #A9261F #5DA91F #1FA2A9
square
#6B1FA9 #A9261F #5DA91F #1FA2A9
split-complementary
#6B1FA9 #A2A91F #1FA926
monochromatic
#2A0C42 #4A1675 #6B1FA9 #8B2DD8 #A860E2

Accessibility & contrast

On white

8.77
#6B1FA9 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #6B1FA9
8.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6B1FA9#FFFFFF#000000##FFFFFF
##6B1FA91.008.772.398.77
#FFFFFF8.771.0021.001.00
#0000002.3921.001.0021.00
##FFFFFF8.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0049AD
Deuteranopia (green-blind)
#004AA6
Tritanopia (blue-blind)
#5E4565
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #6b1fa9;
/* rgb */ color: rgb(107, 31, 169);
/* oklch */ color: oklch(43.7% 0.201 303.6);
Tailwind
colors: {
  custom: {
    50: '#9c65c4',
    500: '#6b1fa9',
    950: '#000000',
  },
}
SCSS
$custom: #6b1fa9;
$custom-light: #9c65c4;
$custom-dark: #000000;
JSON
{
  "hex": "#6b1fa9",
  "rgb": {
    "r": 107,
    "g": 31,
    "b": 169
  },
  "hsl": {
    "h": 273.043,
    "s": 69,
    "l": 39.216
  },
  "oklch": {
    "l": 0.43743,
    "c": 0.20111,
    "h": 303.6
  },
  "luminance": 0.0697
}

Semantic roles & 50–950 ramp

primary
#6B1FA9
secondary
#8DC75D
accent
#EC3C8B
background
#FAF6FC
surface
#F3EBF8
border
#CDC6D1
text
#0F0613
muted
#7F7A82

Preview Lab

Preview with #6B1FA9

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

Preview Lab → · Contrast checker → · Palette generator →

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