#6B1F9F#6B1F9F

#6B1F9F is a dark, vivid violet. Relative luminance 0.066; OKLCH L 42.9% C 0.191 H 306.6°. Best body text is #FFFFFF at 9.04:1 contrast (WCAG AA passes).

Color values

HEX#6B1F9F
RGBrgb(107, 31, 159)
HSLhsl(276, 67%, 37%)
HSVhsv(276, 81%, 62%)
CMYKcmyk(32.7%, 80.5%, 0%, 37.6%)
CIE-LABlab(30.90, 54.20, -54.01)
CIE-LCHlch(30.90, 76.52, 315.10°)
OKLaboklab(42.9% 0.1142 -0.1537)
OKLCHoklch(42.9% 0.191 306.6)
XYZxyz(12.8100, 6.6091, 33.3950)
Luminance0.0661 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6B1F9F #539F1F
analogous
#2B1F9F #6B1F9F #9F1F93
triadic
#6B1F9F #9F6B1F #1F9F6B
tetradic
#6B1F9F #9F2B1F #539F1F #1F939F
square
#6B1F9F #9F2B1F #539F1F #1F939F
split-complementary
#6B1F9F #939F1F #1F9F2B
monochromatic
#260B39 #49156C #6B1F9F #8D29D2 #A95ADF

Accessibility & contrast

On white

9.04
#6B1F9F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.32
#6B1F9F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6B1F9F
9.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6B1F9F#FFFFFF#000000##FFFFFF
##6B1F9F1.009.042.329.04
#FFFFFF9.041.0021.001.00
#0000002.3221.001.0021.00
##FFFFFF9.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0046A2
Deuteranopia (green-blind)
#00499C
Tritanopia (blue-blind)
#62415F
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #6b1f9f;
/* rgb */ color: rgb(107, 31, 159);
/* oklch */ color: oklch(42.9% 0.191 306.6);
Tailwind
colors: {
  custom: {
    50: '#9b65bc',
    500: '#6b1f9f',
    950: '#000000',
  },
}
SCSS
$custom: #6b1f9f;
$custom-light: #9b65bc;
$custom-dark: #000000;
JSON
{
  "hex": "#6b1f9f",
  "rgb": {
    "r": 107,
    "g": 31,
    "b": 159
  },
  "hsl": {
    "h": 275.625,
    "s": 67.368,
    "l": 37.255
  },
  "oklch": {
    "l": 0.42898,
    "c": 0.19149,
    "h": 306.6
  },
  "luminance": 0.06609
}

Semantic roles & 50–950 ramp

primary
#6B1F9F
secondary
#83C357
accent
#EA3E84
background
#F9F6FB
surface
#F2EBF6
border
#CCC6D0
text
#0F0612
muted
#7E7A81

Preview Lab

Preview with #6B1F9F

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

Preview Lab → · Contrast checker → · Palette generator →

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