#6B1FAB#6B1FAB

#6B1FAB is a dark, highly saturated violet. Relative luminance 0.070; OKLCH L 43.9% C 0.203 H 303.1°. Best body text is #FFFFFF at 8.72:1 contrast (WCAG AA passes).

Color values

HEX#6B1FAB
RGBrgb(107, 31, 171)
HSLhsl(273, 69%, 40%)
HSVhsv(273, 82%, 67%)
CMYKcmyk(37.4%, 81.9%, 0%, 32.9%)
CIE-LABlab(31.91, 56.93, -59.61)
CIE-LCHlch(31.91, 82.43, 313.68°)
OKLaboklab(43.92% 0.1107 -0.1702)
OKLCHoklch(43.92% 0.203 303.1)
XYZxyz(13.9023, 7.0460, 39.1478)
Luminance0.0705 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6B1FAB #5FAB1F
analogous
#251FAB #6B1FAB #AB1FA5
triadic
#6B1FAB #AB6B1F #1FAB6B
tetradic
#6B1FAB #AB251F #5FAB1F #1FA5AB
square
#6B1FAB #AB251F #5FAB1F #1FA5AB
split-complementary
#6B1FAB #A5AB1F #1FAB25
monochromatic
#2A0C43 #4B1677 #6B1FAB #8B2ED9 #A862E3

Accessibility & contrast

On white

8.72
#6B1FAB on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.41
#6B1FAB on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6B1FAB
8.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6B1FAB#FFFFFF#000000##FFFFFF
##6B1FAB1.008.722.418.72
#FFFFFF8.721.0021.001.00
#0000002.4121.001.0021.00
##FFFFFF8.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004AAF
Deuteranopia (green-blind)
#004BA8
Tritanopia (blue-blind)
#5E4666
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #6b1fab;
/* rgb */ color: rgb(107, 31, 171);
/* oklch */ color: oklch(43.9% 0.203 303.1);
Tailwind
colors: {
  custom: {
    50: '#9c65c5',
    500: '#6b1fab',
    950: '#000000',
  },
}
SCSS
$custom: #6b1fab;
$custom-light: #9c65c5;
$custom-dark: #000000;
JSON
{
  "hex": "#6b1fab",
  "rgb": {
    "r": 107,
    "g": 31,
    "b": 171
  },
  "hsl": {
    "h": 272.571,
    "s": 69.307,
    "l": 39.608
  },
  "oklch": {
    "l": 0.43916,
    "c": 0.20304,
    "h": 303.1
  },
  "luminance": 0.07046
}

Semantic roles & 50–950 ramp

primary
#6B1FAB
secondary
#8EC75E
accent
#EC3C8C
background
#FAF6FC
surface
#F4EBF8
border
#CEC6D1
text
#0F0613
muted
#7F7A82

Preview Lab

Preview with #6B1FAB

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

Preview Lab → · Contrast checker → · Palette generator →

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